This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Variant Call Format (.vcf) conversion to .bam

Hello! I am new here! and new to bioinformatics, does anyone know how to easily convert a vcf file to a bam file, maybe even sam file so that I can then turn it into a bam file?

alignment sequence

To quote another poster in these parts, what you are asking is like asking how to turn a steak into a cow.

Upvoted your answer because I supposed, @abyssaldharok has not idea about what he/she asked.

2 answers

This tool will do so by generating simulated reads with the variants, but why are you trying to do this? VCF files are typically derived from bam files, going in the reverse direction is like trying to build a car starting from only a wheel (you don't know the make or model, you're just guessing at what the end result should be).

vcf to bam

How is the second link relevant to this question?

Log in to answer this question.