QTLtools-correct(1)
β¨ QTLtools-correct(1) β¨
Okay bestie, let's talk about QTLtools-correct(1) π It's part of the Bioinformatics tools crew π§ and it is literally so good at correcting your data π
β¨ NAME β¨
QTLtools correct β Corrects genotypes or phenotypes with the provided covariates π
β¨ SYNOPSIS β¨
QTLtools correct --vcf [in.vcf|in.vcf.gz|in.bcf] | --bed in.bed.gz --cov covariates.txt | --normal --out output.txt [OPTIONS]
β¨ DESCRIPTION β¨
Okay so this mode corrects genotypes or phenotypes in VCF, BCF, or BED files π using covariates you hand it, and/or rank normal transforms your data π Then it writes the new corrected values out to a file. The vibe is that it regresses out the covariates from your data and saves the residuals to a file. Main character energy π
β¨ OPTIONS β¨
--vcf [in.vcf|in.bcf|in.vcf.gz|in.bed.gz]β Your genotypes in VCF/BCF/BED format 𧬠This one is REQUIRED unless you're using--bed.--bed quantifications.bed.gzβ Your quantifications in BED format π REQUIRED unless you're using--vcf.--out output_fileβ The name of the output file πΎ REQUIRED, no skipping this one bestie π--cov covariates.txtβ The covariates you want to correct the data with β¨ REQUIRED unless you're using--normal.--qtl qtl_file [in.vcf|in.vcf.gz|in.bcf]β This one corrects your given phenotypes with your given genotypes π¦ It takes two arguments:- The first is a text file listing genotype-phenotype pairs, separated by a space (e.g.
snp1 gene1), with one pair per line π Each phenotype gets corrected for all the genotypes provided for that phenotype. - The second is a VCF file with the genotypes π«Ά The variant IDs in the
qtl_filehave to match the variant IDs in the VCF file, and the phenotype IDs have to match the--bedfile. - Requires
--bed.
- The first is a text file listing genotype-phenotype pairs, separated by a space (e.g.
--normalβ Rank normal transform the data πΈ REQUIRED unless you're using--cov.
β¨ EXAMPLES β¨
- Correct gene quantifications with technical covariates, rank normal transform the quantifications, and create a new bed file π
QTLtools correct --bed quantifications.bed.gz --out quantifications_corrected.bed --cov technical_covars.txt --normal
- Correct the gene quantifications for eQTLs π§
QTLtools correct --bed quantifications.bed.gz --out quantifications_corrected.bed --qtl eQTL_variant_gene_pairs.txt
β¨ SEE ALSO β¨
Check out QTLtools(1) π
The QTLtools website is <https://qtltools.github.io/qtltools> π
β¨ BUGS β¨
- Okay this one is important, bestie π Versions up to and including
1.2have a bug when reading missing genotypes in VCF/BCF files. It affects variants that have aDSfield in their genotype's FORMAT and a missing genotype (DSfield is.) in one of the samples. When that happens, the genotypes for all the samples get set to missing, which effectively removes that variant from your analyses π
Watch out for this on older versions, because your variant can quietly vanish from the analysis.
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) and Halit Ongen (halitongen@gmail.com) ππ
That's the whole page, bestie π¦ Pulled from QTLtools version 1.3, dated 06 May 2020 π
π¦ 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