I am trying to map solexa pair end reads using BWA.
1. As the first step, I converted solexa fastq format into sanger fastq using maq.
2. I build the indices for BWA for human genome
3. Next step is to generate suffice array coordiantes for read1 as below:
I am getting error as below.
I have all the fasta as well as built indices under the same directory as below:
hg18.fa
hg18.pac
hg18.ann
hg18.amb
hg18.rpac
hg18.bwt
hg18.rbwt
hg18.sa
hg18.rsa
Anything wrong with this or do I have to move hg18.fa out of this directory? Thanks.
1. As the first step, I converted solexa fastq format into sanger fastq using maq.
Code:
maq-0.7.1/maq sol2sanger s_5_2_sequence.txt s_5_2_fastq.txt
Code:
BWA/bwa-0.5.6/bwa index -a bwtsw -p hg18 hg18.fa
Code:
BWA/bwa-0.5.6/bwa aln /BWA/Genomes/hg18/hg18.fa s_5_1_fastq.txt > s_5_1.sai
Code:
[bwa_aln] 17bp reads: max_diff = 2 [bwa_aln] 38bp reads: max_diff = 3 [bwa_aln] 64bp reads: max_diff = 4 [bwa_aln] 93bp reads: max_diff = 5 [bwa_aln] 124bp reads: max_diff = 6 [bwa_aln] 157bp reads: max_diff = 7 [bwa_aln] 190bp reads: max_diff = 8 [bwa_aln] 225bp reads: max_diff = 9 [bwt_restore_bwt] fail to open file '/BWA/Genomes/hg18/hg18.fa.bwt'. Abort! Aborted
hg18.fa
hg18.pac
hg18.ann
hg18.amb
hg18.rpac
hg18.bwt
hg18.rbwt
hg18.sa
hg18.rsa
Anything wrong with this or do I have to move hg18.fa out of this directory? Thanks.
Comment