VCF2FASTA(1)
π vcf2fasta β the vcflib glow-up π
okay bestie, gather round, because this lil cutie vcf2fasta is out here turning your VCF into FASTA files and honestly? it's giving main character energy. it lives in vcflib (that's section 1 of the manual, iykyk) and it's a transformation-type tool, which is exactly what it sounds like: it transforms stuff. slay.
β¨ SYNOPSIS β¨
vcf2fasta options [file]
that's it. that's the whole vibe. you give it options, you maybe give it a file, it does the thing. periodt.
π¦ DESCRIPTION π¦
okay so here's what's actually happening under the hood, and it's lowkey iconic:
it generates sample_seq:N.fa for each sample, each reference sequence, and each chromosomal copy N in [0,1... ploidy]. yes, every combo. she's thorough like that. π
and the naming? each sequence inside the fasta file is named using the same pattern used for the file name, which means you can literally just combine them all together later. no cap. that's the whole point β everything lines up, everything matches, and your downstream self will thank you. π«Ά
π OPTIONS π
okay here's the options list, and no I'm not skipping any of them, we're doing all of them because that's what besties do:
-f,--referenceREF β use this reference when decomposing samples. hand her the REF and she'll decompose against it. iconic behavior.-p,--prefixPREFIX β affix this output prefix to each file. there's none by default, so if you want a prefix you gotta ask for it, she's not gonna assume. π-P,--default-ploidyN β sets a default ploidy for samples that don't have any information in the first record. the default here is2. so yeah, if a sample shows up with no ploidy tea to spill, she just assumes2. π-nVAL β set the string value to output for missing calls. missing data? you decide what she writes down. your call, bestie.
also just so we're clear: Type: transformation. that's her whole category. that's the assignment.
π EXIT VALUES π
she keeps it simple, and honestly, respect:
0β Success. she ate. π- not
0β Failure. π something went sideways.
πΈ SEE ALSO πΈ
vcflib(1)β the whole fam. go say hi.
π OTHER π
LICENSE
Copyright 2011-2024 (C) Erik Garrison and vcflib contributors. MIT licensed. Copyright 2020-2024 (C) Pjotr Prins.
AUTHORS
Erik Garrison and vcflib contributors.
and that's the whole page, bestie!! this one ships as part of vcflib (that's the source/version, fr fr) β go forth and convert, you absolute legend. βπ§π
π¦ where this page comes from
- debian trixie: libvcflib-tools 1.0.12+dfsg-1 Β· MIT
- ubuntu questing: libvcflib-tools 1.0.12+dfsg-1
- ubuntu resolute: libvcflib-tools 1.0.12+dfsg-2 Β· MIT
- ubuntu stonking: libvcflib-tools 1.0.12+dfsg-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms