FILL-REF-MD5(1)
π FILL-REF-MD5 π
okay so bestie, lemme put you onto fill-ref-md5, a lil User Commands icon from the FILL-REF-MD5(1) manual. she's lowkey a genius and highkey underrated, and by the end of this you're gonna be obsessed. periodt. β¨
β¨ NAME β¨
fill-ref-md5 β computes MD5 sum of the reference sequence π§¬π
π¦ SYNOPSIS π¦
fill-ref-md5 [OPTIONS] in.vcf.gz out.vcf.gz
πΈ DESCRIPTION πΈ
About: the script computes MD5 sum of the reference sequence and inserts
'reference' and 'contig' tags into header as recommended by VCFv4.1. π
The VCF file must be compressed and tabix indexed, because the whole point is that it takes advantage of the lightning fast tabix reheader functionality. β‘ like, no cap, it's giving speed. ποΈπ¨
π OPTIONS π
-d,--dictionary <file>β where to read/write computed MD5s. opened in append mode, so existing records are not touched. respectful queen behavior, she minds her business. π-i,--info <AS:xx,SP:xx,TX:xx>β optional info on reference assembly (AS), species (SP), taxonomy (TX). optional bestie, no pressure. π-r,--refseq <file>β the reference sequence in fasta format indexed bysamtools faidx. yes you gotta index it first, she's not doing that part for you. π-h,-?,--helpβ this help message. the classic. the icon. π
π EXAMPLES π
okay here's the moment you've been waiting for, the main character example:
fill-ref-md5 -i AS:NCBIM37,SP:"Mus\ Musculus" -r NCBIM37_um.fa
-d NCBIM37_um.fa.dict in.vcf.gz out.vcf.gz
look at her go. π«Ά -i feeding in the assembly/species/taxonomy info, -r pointing at the indexed fasta, -d writing the dictionary, and in.vcf.gz β‘οΈ out.vcf.gz doing the actual glow-up. ate, honestly. β
ngl bestie, don't forget that in.vcf.gz has to be compressed and tabix indexed or this whole vibe check fails. π¨
and that's the tea! π this page was brought to you by fill-ref-md5 herself, straight outta February 2013, documented in the FILL-REF-MD5(1) manual. go forth and tag those headers, queen. ππ
π¦ 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