Describe the bug
When trying to create the "strandcount" tables from bam files I get the following error:
./my-data/step0-input/iii-13-13MT2EXPIIIVP10FullRepseq25052018_S1_L001-sorted.bam.
Exception in thread "main" java.lang.NegativeArraySizeException: -449
at makereadcount.Read.<init>(Read.java:39)
at makereadcount.MakeReadCount.readFromFile(MakeReadCount.java:447)
at makereadcount.MakeReadCount.readData(MakeReadCount.java:427)
at makereadcount.MakeReadCount.run(MakeReadCount.java:62)
at makereadcount.MakeReadCount.main(MakeReadCount.java:44)
Here's the code that I run for this step:
for i in $(ls ./my-data/step0-input); do echo ${I} && java -cp ./lib/htsjdk-unspecified-SNAPSHOT.jar:./lib/picocli-4.1.2.jar:./lib/pal-1.5.1.jar:./lib/cache2k-all-1.0.2.Final.jar:./lib/commons-math3-3.6.1.jar:./jar/MakeReadCount.jar makereadcount.MakeReadCount ./my-data/step0-input/${i}; done
Additional context
- The same command works for example bam files provided within the package.
- My bam files were created using BWA aligner with default parameters.
Describe the bug
When trying to create the "strandcount" tables from bam files I get the following error:
Here's the code that I run for this step:
for i in $(ls ./my-data/step0-input); do echo ${I} && java -cp ./lib/htsjdk-unspecified-SNAPSHOT.jar:./lib/picocli-4.1.2.jar:./lib/pal-1.5.1.jar:./lib/cache2k-all-1.0.2.Final.jar:./lib/commons-math3-3.6.1.jar:./jar/MakeReadCount.jar makereadcount.MakeReadCount ./my-data/step0-input/${i}; doneAdditional context