Thank you for explaining that, I fixed it and it works now!
• 0 views
•
link
I am trying to run this line:
bcftools mpileup -f $BT2_HOME/example/reference/lambda_virus.fa eg2.sorted.bam | bcftools view -Ov - > eg2.raw.bcf
When I do I get the following error:
[E::fai_build3_core] Failed to open the file /example/reference/lambda_virus.fa
Failed to read from standard input: unknown file type
This file, lambda_virus.fa, is the example file for using Bowtie2/samtools/bcftools and this is the code fro the Botwie2 manual. It adds the file eg2.raw.bcf to my folder but the file doesn't have any data it was just created blank. I am using bcftools version 1.14 on mac.
How can I fix this?
Log in to answer this question.