What Does Bwa Expect In Its Alignment Database
1
0
Entering edit mode
13.0 years ago
User 8364 • 0

I'm trying to align a large dataset of fastq reads against a reference genome, which I have as a fasta file, but it seems that bwa wants more than just a fasta file to align them.

Here's what I'm trying:

$ bwa samse /data/glycine_data/gmax_genome_data/Glyma1.cds.fa d3_1.fq d3_2.fq 
[bns_restore] fail to open file '/data/glycine_data/gmax_genome_data/Glyma1.cds.fa.ann'. Abort!
Aborted

Is there any way I can construct this .ann file that it wants?

bwa fasta fastq • 2.9k views
ADD COMMENT
5
Entering edit mode
13.0 years ago
Gww ★ 2.7k

You need to index your reference genome using bwa index prior to alignment.

For example:

bwa index /data/glycine_data/gmax_genome_data/Glyma1.cds.fa

There are some command line options for the index that you can read here.

ADD COMMENT

Login before adding your answer.

Traffic: 2584 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