VCF-FIX-PLOIDY(1)
π vcf-fix-ploidy(1) π
okay bestie, welcome to the User Commands corner of the manual, where we fix up your ploidy situation and make your VCF actually make sense. no cap, this one's a little legend. π¦
β¨ NAME β¨
vcf-fix-ploidy β literally just vcf-fix-ploidy, she's her own name, main character energy from day one π
π SYNOPSIS π
cat broken.vcf | vcf-fix-ploidy [OPTIONS] > fixed.vcf
pipe your sad little broken file in, get a fixed one out. iconic behaviour. π
π OPTIONS π
-a,--assumed-sex <sex>βMorF. this one is required if the list you gave with-sisn't complete, so don't skip it and then act surprised π-l,--fix-likelihoodsβ adds or removes het likelihoods. heads up bestie, this is not the default behaviour, it's opt-in only β¨-p,--ploidy <file>β the ploidy definition file. the default one is shown down below, don't worry, she's right there π«Ά-s,--samples <file>β a list of sample sexes, formatted likesample_name [MF]π-h,-?,--helpβ this help message. hi, that's me, the help message π
πΈ Default ploidy definition πΈ
here's the default, in all her glory, verbatim, no edits, because we respect the source material π
ploidy => {
X => [
# The pseudoautosomal regions 60,001-2,699,520 and 154,931,044-155,270,560 with the ploidy 2
{ from=>1, to=>60_000, M=>1 }, { from=>2_699_521, to=>154_931_043, M=>1 },
], Y => [
# No chrY in females and one copy in males
{ from=>1, to=>59_373_566, M=>1, F=>0 },
], MT => [
# Haploid MT in males and females
{ from=>1, to => 16_569, M=>1, F=>1 },
],
}
and that's the whole page, bestie, you ate it. π β¨
vcf-fix-ploidy β February 2013 β that's the version and the date, periodt, see you in the next manpage ππ
π¦ where this page comes from
- debian bookworm: vcftools 0.1.16-3+b1 Β· GPL-3.0-only
- debian trixie: vcftools 0.1.16-3+b1 Β· GPL-3.0-only
- ubuntu jammy: vcftools 0.1.16-3 Β· GPL-3.0-only
- ubuntu noble: vcftools 0.1.16-3 Β· GPL-3.0-only
- ubuntu questing: vcftools 0.1.16-3
- ubuntu resolute: vcftools 0.1.17-1 Β· GPL-3.0-only
- ubuntu stonking: vcftools 0.1.17-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms