I am trying to use samtools and bcftools workflow to do some variant calling. I follow the workflow in this link http://www.htslib.org/workflow/ and stuck during this command:
bcftools stats -F <ref.fa> -s - <study.vcf.gz> > <study.vcf.gz.stats> mkdir plots plot-vcfstats -p plots/ <study.vcf.gz.stats>
It seems the plot-vcfstats use pdflatex and it gives error. The error is in the latex and basically it couldn't load memoir.cls. Is there anyway to fix this error?