QTLtools-bamstat(1)
π QTLtools-bamstat(1) π
Okay bestie, this is the manual page for QTLtools-bamstat(1), filed under the Bioinformatics tools section π§ Let's get into it!
β¨ NAME β¨
So the name is QTLtools bamstat, and it's giving stats of overlap π It calculates stats of overlap between an RNAseq BAM file and an annotation. Iconic. π
π SYNOPSIS π
Here's the vibe for how you call it π
QTLtools bamstat --bam [sample.bam|sample.sam|sample.cram] --bed
[gene_annotation.bed] --out output_file [OPTIONS]
πΈ DESCRIPTION πΈ
This mode is the counting queen π It counts how many RNAseq reads you've got, and how many of them overlap with your annotation file. ngl, we recommend using uniquely mapping reads only, and you do that by picking the right --filter-mapping-quality π¦
β¨ OPTIONS β¨
Okay, the options are where it gets spicy πΆοΈ
--bedannotation.bedβ The annotation of interest. REQUIRED π§¬--bam,-b[in.bam|in.sam|in.cram]β Your sequence data, in BAM, SAM, or CRAM format. REQUIRED π--out,-ooutputβ The output file name. REQUIRED π--filter-mapping-qualityintegerβ The minimum mapping quality a read or read pair needs before it gets considered. Set this to only include uniquely mapped reads.DEFAULT=10β¨--filter-keep-duplicatesβ Keeps the reads the aligner marked as duplicates. RECOMMENDED for RNAseq π₯
π¦ OUTPUT FILE COLUMNS π¦
Real talk, this one's a little plain, but it matters. The --out filename file does not have a header π It has these five columns, in this order:
- The total number of reads in the BAM file
- The number of mapped sequencing reads passing the
--filter-mapping-quality - The number of mapped sequencing reads falling within the annotations specified with
--bed - The total number of annotations in the
--bedfile - The number of annotations covered by at least one sequencing read
π§ EXAMPLES π§
- Running bamstat on an RNAseq sample mapped with GEM and GENCODE gene annotations:
QTLtools bamstat --bam HG00381.chr22.bam --out
HG00381.chr22.bamstat.txt --bed gencode.v19.annotation.bed.gz
--filter-mapping-quality 150 --filter-keep-duplicates
π SEE ALSO π
Check out QTLtools(1) for the full picture π
QTLtools website: <https://qtltools.github.io/qtltools> π
π BUGS π
Found something broken? Please submit bugs to <https://github.com/qtltools/qtltools> π«Ά
π CITATION π
Delaneau, O., Ongen, H., Brown, A. et al. A complete tool set for molecular QTL discovery and analysis. Nat Commun 8, 15452 (2017). <https://doi.org/10.1038/ncomms15452> π
π AUTHORS π
Olivier Delaneau (olivier.delaneau@gmail.com), Halit Ongen (halitongen@gmail.com) πΈ
Source: QTLtools-v1.3, last updated 06 May 2020, manual page QTLtools-bamstat(1). Bye bestie, go count some reads! π¦β¨π
π¦ where this page comes from
- debian bookworm: qtltools 1.3.1+dfsg-4 Β· GPL-3.0-or-later
- debian trixie: qtltools 1.3.1+dfsg-4+b3 Β· GPL-3.0-or-later
- ubuntu jammy: qtltools 1.3.1+dfsg-2build2 Β· GPL-3.0-or-later
- ubuntu noble: qtltools 1.3.1+dfsg-4build3 Β· GPL-3.0-or-later
- ubuntu questing: qtltools 1.3.1+dfsg-4build6
- ubuntu resolute: qtltools 1.3.1+dfsg-4build7 Β· GPL-3.0-or-later
- ubuntu stonking: qtltools 1.3.1+dfsg-6 Β· GPL-3.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms