I am trying to build a workflow to analyse my scRNA-seq data. I am using a combination of GATK and samtools, vcftools, bcftools. I would like to filter my .vcf file such that it removes all entries that have fewer than 10 reads. It looks like vcftools can be used for this. My code is:
vcftools --vcf "$fn" --out "$fn"_dp10 --minDP 10 --recode --recode-INFO-all
However, it does not filter out anything. Any thoughts on this?
Kind regards Cora
I just found the answer! I had to use
--mean-minDP
instead of--minDP
.Kind regards Cora