How can I creating multisample VCF file ?
0
0
Entering edit mode
21 months ago
eennadi ▴ 40

Hello,

I want to create a multisample VCF file. I have bam files from various alignment.

I ran the command

bcftools mpileup -d 100000 -f  ~reference  *.bam | bcftools call -c  > concate.vcf

Is this step scientifically correct? Or do I need to merge all bam first before running the above command?

Thanks

VCF • 630 views
ADD COMMENT
0
Entering edit mode

Is this step scientifically correct?

yes , althought most people use -m , not -c http://www.htslib.org/workflow/wgs-call.html

   -c, --consensus-caller          The original calling method (conflicts with -m)
   -m, --multiallelic-caller       Alternative model for multiallelic and rare-variant calling (conflicts with -c)
ADD REPLY

Login before adding your answer.

Traffic: 2317 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6