Hi All,
I'm using bwa to align my metagenomic data to one bovine DNA sequence.I index bovine DNA sequence and run
bwa aln index_file input.fastq >output.fastq
It do gave me the sai file, but it took really really really long time to finish the whole process (~8 hours per fastq file).
I used bwa aln for several times, it never took this long.
This is what I saw:
[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
[bwa_aln_core] calculate SA coordinate... 310.66 sec
[bwa_aln_core] write to the disk... 0.06 sec
[bwa_aln_core] 262144 sequences have been processed.
[bwa_aln_core] calculate SA coordinate... 294.22 sec
[bwa_aln_core] write to the disk... 0.05 sec
[bwa_aln_core] 524288 sequences have been processed.
[bwa_aln_core] calculate SA coordinate... 289.02 sec
[bwa_aln_core] write to the disk... 0.05 sec
It seems most time was spending on calculate SA coordinate (~5 minutes per), but in the past in only took ~0.3 sec to calculate SA coordinate.
What issue may be for this process (memory? computer RAM size? internet?)
Thanks
Have you tried using more than one thread?
Hi Devon,
No, I never tried that before because it works pretty fast in the past.
How can I specify this in the code?
Thanks