Jasentool
Multipurpose tool for jobs related to the JASEN pipeline and Bonsai.
Subcommands
Post-run analysis
Subcommand |
Description |
|---|---|
|
Query samples from MongoDB |
|
Identify samples absent from JASEN results directory |
|
Compare pipeline outputs against MongoDB records |
Pipeline processes
Subcommand |
Description |
|---|---|
|
Annotate Delly structural-variant VCFs with gene symbols and locus tags |
|
Concatenate multiple YAML files |
|
Count reads in FASTQ file(s) |
|
Aggregate minority base frequencies across BAMs to produce a blacklist TSV |
|
Create YAML input file for Bonsai upload |
|
Compute minority base frequency distribution from a samtools mpileup file |
|
Compute post-alignment QC from BAM |
Site-specific hooks
Subcommand |
Description |
|---|---|
|
Reformat BJORN CSV/SH files for JASEN |
Setup & reference data
Subcommand |
Description |
|---|---|
|
Merge WHO, TBdb, and FoHM TB mutation catalogues |
|
Download cgMLST scheme alleles from PubMLST or BIGSdb |
|
Download genome FASTA and GFF from NCBI |
|
Convert cgMLST target TSV to BED format |
Quick Start
pip install jasentool
Query samples from MongoDB
jasentool find \
--query MySampleID \
--db-name mydb \
--db-collection samples \
--output-file results.json
Identify missing samples
jasentool identify-missing \
--output-file missing.json \
--db-name mydb \
--db-collection samples \
--analysis-dir /path/to/jasen/results
Validate pipeline outputs
jasentool validate-pipelines \
--input-dir /path/to/new/results \
--output-dir /path/to/validation/output \
--db-name mydb \
--db-collection samples
See Installation and Usage for full details.