![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java Developer | eandrade | Academic/Non-Profit Jobs | 1 | 08-22-2019 04:59 AM |
Picard: problem with Java? | aleidenroth | Bioinformatics | 9 | 06-29-2013 08:37 PM |
Installing Newbler 2.7 on Ubuntu 12.04, java problem | JackieBadger | Bioinformatics | 22 | 05-14-2013 06:17 AM |
Picard Collect Insert Size Java Problem | chongm | Bioinformatics | 0 | 02-11-2013 12:01 PM |
FluxSimulator Error: Java problem? | RockChalkJayhawk | Bioinformatics | 1 | 03-29-2011 02:44 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: Fermanagh Join Date: Nov 2015
Posts: 5
|
![]()
When I try to run the BBTool randomreads with any input, I am presented with the following Java exception:
Set genScaffoldInfo=true Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -17 at dna.ChromosomeArray.set(ChromosomeArray.java:181) at dna.ChromosomeArray.set(ChromosomeArray.java:165) at dna.FastaToChromArrays2.makeNextChrom(FastaToChromArrays2.java:478) at dna.FastaToChromArrays2.makeChroms(FastaToChromArrays2.java:345) at dna.FastaToChromArrays2.main2(FastaToChromArrays2.java:154) at align2.RandomReads3.writeRef(RandomReads3.java:554) at align2.RandomReads3.main(RandomReads3.java:338) I then have to terminate the process with ctrl+c. This problem is not present in any other BBTool that I have used. Can anyone help with this or suggest an alternative tool for generating synthetic reads with the same level of control offered by randomreads? Thanks in advance. Kara |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: East Coast USA Join Date: Feb 2008
Posts: 7,080
|
![]()
What kind of input/output are you using for randomreads.sh (fasta/fastq)? Can you provide the command line you are using?
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Location: Fermanagh Join Date: Nov 2015
Posts: 5
|
![]()
That output was generated with the following:
randomreads.sh ref=ref.fasta out=reads1.fasta length=150 reads=100 If I use fastq as an output or play around with any other parameters I always get the same exception. |
![]() |
![]() |
![]() |
#4 |
Senior Member
Location: East Coast USA Join Date: Feb 2008
Posts: 7,080
|
![]()
With BBMap (v.35.59) there is no problem executing the command you give above.
Only time randomreads.sh does not produce an output is if the input fasta is very short (one sequence of ~30 bp) but I don't see any error, the program just hangs. What version of BBMap are you using? |
![]() |
![]() |
![]() |
#5 |
Junior Member
Location: Fermanagh Join Date: Nov 2015
Posts: 5
|
![]()
I am using BBMap version 35.14. The fasta file input is 42Kb in size so that shouldn't be the problem. I am going to reinstall java and then try again to see if that makes any difference.
|
![]() |
![]() |
![]() |
#6 |
Super Moderator
Location: Walnut Creek, CA Join Date: Jan 2014
Posts: 2,707
|
![]()
Hi Kara,
It looks like the problem here is a strange character in your fasta file that is not a standard ASCII character. It might character 239: Code:
´ |
![]() |
![]() |
![]() |
#7 |
Junior Member
Location: Fermanagh Join Date: Nov 2015
Posts: 5
|
![]()
Hi Brian,
You are indeed right about the problem being due to an unusual character. I simplified the header to remove the non-standard characters and things are working perfectly! Thanks very much! |
![]() |
![]() |
![]() |
Thread Tools | |
|
|