Hi Brian,
I'm getting the following error when using BBMap (Version 36.11) for some of my alignments:
Code:
java -Djava.library.path=/usr/local/stow/bbmap_36.11/bin/jni/ -ea -Xmx8g -cp /usr/local/stow/bbmap_36.11/bin/current/ align2.BBMap build=1 overwrite=true fastareadlen=500 in=1_nonDoped.adapters.fastq vslow=t k=8 ref=../ref-seq.fasta mdtag=t -Xmx8g outm=bbmap.sam nodisk Executing align2.BBMap [tipsearch=150, minhits=1, minratio=0.25, rescuemismatches=50, rescuedist=3000, build=1, overwrite=true, fastareadlen=500, in=1_nonDoped.adapters.fastq, k=8, ref=../ref-seq.fasta, mdtag=t, -Xmx8g, outm=bbmap.sam, nodisk] BBMap version 36.11 Set MINIMUM_ALIGNMENT_SCORE_RATIO to 0.250 Retaining first best site only for ambiguous mappings. Executing dna.FastaToChromArrays2 [../ref-seq.fasta, 1, writeinthread=false, genscaffoldinfo=true, retain, waitforwriting=false, gz=true, maxlen=536670912, writechroms=false, minscaf=1, midpad=300, startpad=8000, stoppad=8000, nodisk=true] Set genScaffoldInfo=true Set genome to 1 Loaded Reference: 0.001 seconds. Loading index for chunk 1-1, build 1 Indexing threads started for block 0-1 Indexing threads finished for block 0-1 Generated Index: 0.013 seconds. Analyzed Index: 0.031 seconds. Started output stream: 0.022 seconds. Cleared Memory: 0.123 seconds. Processing reads in single-ended mode. Started read stream. Started 40 mapping threads. Exception in thread "Thread-25" java.lang.ArrayIndexOutOfBoundsException: 136 at align2.BBIndex.getOffsetArray(BBIndex.java:3065) at align2.BBIndex.shrink2(BBIndex.java:830) at align2.BBIndex.find(BBIndex.java:443) at align2.BBIndex.findAdvanced(BBIndex.java:396) at align2.AbstractMapThread.quickMap(AbstractMapThread.java:736) at align2.BBMapThread.processRead(BBMapThread.java:405) at align2.AbstractMapThread.run(AbstractMapThread.java:495) Detecting finished threads: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ************************************************************************** Warning! 1 mapping thread did not terminate normally. Check the error log; the output may be corrupt or incomplete. Please submit the full stderr output as a bug report, not just this message. ************************************************************************** ------------------ Results ------------------ Genome: 1 Key Length: 8 Max Indel: 16000 Minimum Score Ratio: 0.25 Mapping Mode: normal Reads Used: 570587 (170899784 bases) Mapping: 34.755 seconds. Reads/sec: 16417.62 kBases/sec: 4917.33 Read 1 data: pct reads num reads pct bases num bases mapped: 99.9855% 570504 99.9840% 170872487 unambiguous: 99.9855% 570504 99.9840% 170872487 ambiguous: 0.0000% 0 0.0000% 0 low-Q discards: 0.0000% 0 0.0000% 0 perfect best site: 62.1351% 354535 62.2356% 106360500 semiperfect site: 62.1351% 354535 62.2356% 106360500 Match Rate: NA NA 99.7089% 170661054 Error Rate: 37.4881% 213882 0.2887% 494106 Sub Rate: 28.9387% 165105 0.1164% 199217 Del Rate: 10.8304% 61791 0.1676% 286801 Ins Rate: 1.1807% 6736 0.0047% 8088 N Rate: 0.6976% 3980 0.0024% 4128 Exception in thread "main" java.lang.AssertionError: The number of reads out does not add up to the number of reads in. This may indicate that a mapping thread crashed. If you submit a bug report, include the entire console output, not just this error message. 570504+0+0+82+0 = 570586 != 570587 at align2.AbstractMapper.printOutput(AbstractMapper.java:1867) at align2.BBMap.testSpeed(BBMap.java:489) at align2.BBMap.main(BBMap.java:33)
Kate

Leave a comment: