Hello, I am trying to analyze my data with this method: https://www.ebi.ac.uk/sites/ebi.ac.uk/files/content.ebi.ac.uk/materials/2014/140217_AgriOmics/dan_bolser_snp_calling.pdf
I made bcf files with "samtools mpileup" command. However, both bcftools and vcftools are not installed in the server computer. I tried to install on the server, but the error occurs: -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: Permission denied
It seems I have no permission to install using yum. Is there another way to analyze SNPs with only samtools except for bcftools and vcftools?
that's very strange. How do you compile ? what is the command line ? what are the messages before the error ?
gatk haplotypecaller, but IMHO you'd better solve the problem above.
The package libcurl-devel is required to install bcftools. However, when I install libcurl-devel with this command:
then the error occurs:
That method is very outdated. It uses samtools to generate VCF, which is no longer supported. Plus it has bcftools for the calling, which is completely at odds with "SNP calling without bcftools and vcftools"!
If you do want to use samtools / bcftools, then it's probably best to follow the protocol published there:
http://www.htslib.org/workflow/wgs-call.html