This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how to merge individual vcf to reference genome using python script.

I need python script to merge the Individual vcf to reference genome to get a new reference. Any suggestion about it how to write it.

assembly alignment gene genome next-gen

1 answer

Super relevant biostars thread that answers this question: New Fasta Sequence From Reference Fasta And Variant Calls File?

Actual answer: Why reinvent the wheel when someone has done the hard work for you? FastaAlternateReferenceMaker is part of GATK, there's vcf-consensus in vcftools, lots of options.

Dear Amar thanks for response. i hope it will help.

Log in to answer this question.