migmap
migmap copied to clipboard
String index out of Bounds Exception with input fasta.
I am getting a string index out of bounds exception with migmap-1.0.2. Here's the error:
Exception in thread "Thread-14" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.charAt(String.java:658)
at com.antigenomics.migmap.blast.PSegmentSearcher.searchLeft(PSegmentSearcher.groovy:80)
at com.antigenomics.migmap.blast.PSegmentSearcher.search(PSegmentSearcher.groovy:37)
at com.antigenomics.migmap.blast.PSegmentSearcher$search.call(Unknown Source)
at com.antigenomics.migmap.blast.BlastInstance.createReadMapping(BlastInstance.groovy:128)
at com.antigenomics.migmap.blast.BlastInstance.take(BlastInstance.groovy:209)
at com.antigenomics.migmap.pipeline.Pipeline$2.run(Pipeline.groovy:84)
at java.lang.Thread.run(Thread.java:748)
This is error is reproducible. In all honesty I don't think this is an ideal dataset. We tried something new so we're not sure if it worked. Even so, this error tells us nothing about how to fix it. My command is:
/path/to/migmap-1.0.2/migmap --data-dir /path/to/directory --blast-dir /path/to/migmap-1.0.2/ncbi-igblast-1.7.0/bin -p 8 -R TRB,TRD -S human --details fr1nt,cdr1nt,fr2nt,cdr2nt,fr3nt,fr4nt,contignt,fr1aa,cdr1aa,fr2aa,cdr2aa,fr3aa,fr4aa,contigaa /path/to/sample.contig.fasta sample_clones.migmap.xls
Some samples in this dataset worked, others did not. i do not see any empty fasta entries in the input.
Any help you can offer is greatly appreciated! Thanks!