mpileup Error cannot open file type
0
0
Entering edit mode
7.1 years ago

Hi! I have been working with next-gen data for a few months now (no training) and I have been trying to develop vcf files from a BAM and FASTA file. On one set of data I found that this command worked well and produced the file and data I am looking for: samtools mpileup -uf Reference_slow_base_Slow_Cmac-32w.fa Cmac_L_S_A_baseline_slow_mapping.bam | bcftools call -cv > var.raw2.vcf

However when I swap in a different FASTA and BAM file (that are aligned to each other), I get errors like unknown file type or failed to load. I have tried indexing the FASTA and BAM files and running them with the index and it still comes back with errors. Any ideas?

next-gen sequencing alignment • 1.6k views
ADD COMMENT

Login before adding your answer.

Traffic: 2309 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6