This is a test version of Biostars. For the public version, visit https://www.biostars.org.
remove vcf variants from bam

Hello!

Is there any way of changing all variants, which are listed in vcf file, in bam file? If there are several alleles, we take random one from them and place one the position in bam file.

Thanks!

vcf samtools bam pysam

to get rid of calling "mistakes"

can remove by QUAL or other filtering options?

You can use --annotations-to-exclude from HaplotypeCaller and exclude those regions for Variant Call.

0 answers

No answers yet.

Log in to answer this question.