bash
cargo install mpileup
count number of base and indel
bash
mpileup --target test/region.bed --reference test/reference.fa --input test/sample1.bam test/sample2.bam -g -d 10
In this examples,
region.bed
reference.fa
as referencesample1.bam
, sample2.bam
...-g
-d 10