Entering edit mode
4.8 years ago
rotemkat
▴
10
I tried to follow the instructions here: https://samtools.github.io/bcftools/ being in the following path - /Users/my_username - i followed the commands and indeed now i have the bcftools folder.
Then, I want to filter my VCF file, so I did the following: (based on the instructions here: https://samtools.github.io/bcftools/howtos/variant-calling.html)
cd bcftools
bcftools filter -i'%contig==1' path_to_my_file/my_file.VCF | bcftools stats | grep TSTV
but i get the following error:
-bash: bcftools: command not found
what am I doing wrong?...
Thanks !!!
its a classical PATH problem: http://www.linfo.org/path_env_var.html
I still get multiple errors =/
I don't think you read the link above about what is a PATH.