Entering edit mode
8 months ago
Andresa Capodifoglio
▴
40
I have a BAM file from sequencing data, and I would like to annotate all SNPs read in the sequencing, not just the variants. Is the following command correct for achieving this goal?
bcftools mpileup -Ou -f referencia.fasta arquivo.bam | \
bcftools call -a FORMAT/DP --ploidy 2 --output-type z --output arquivo.vcf.gz
If this approach is incorrect, could you suggest the appropriate method or tool to accomplish this?
Thank you for your help!