Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIRI-vis fails to generate a fasta file #12

Open
drwazeem opened this issue Oct 23, 2021 · 9 comments
Open

CIRI-vis fails to generate a fasta file #12

drwazeem opened this issue Oct 23, 2021 · 9 comments
Assignees

Comments

@drwazeem
Copy link

I analyzed 12 sets of paired end reads with CIRI-full pipeline and tried to run CIRI-vis on each of them. 11 samples worked fine but for the 12th sample, CIRI-vis generates the circRNA plots and list file, but doesn't output the fasta file. In the Terminal, following error is produced:

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) at java.base/java.util.Objects.checkIndex(Objects.java:359) at java.base/java.util.ArrayList.get(ArrayList.java:427) at sample_MIX_all_easy4.paint(sample_MIX_all_easy4.java:1278) at CIRI_vis_test.main(CIRI_vis_test.java:457)

Command used:
java -Xmx4096m -jar CIRI-vis_v1.4.jar -i sampleX_merge_circRNA_detail.anno -l sampleX.as_library_length.list -r genome.fa -min 1 -d sampleX/ciri_vis_out -o sampleX

TL,DR:
**CIRI-vis generates:
PDFs of detected circRNAs
.list file

CIRI doesn't generate:
list_circle.fa file**

@Alipe2021
Copy link

I got the same error. The .list file is empty.

@Kevinzjy
Copy link
Member

Hi @drwazeem , could you try the latest version of CIRI-vis from https://github.com/bioinfo-biols/CIRI-vis ? The executable jar file is located under the bin directory.

@drwazeem
Copy link
Author

@Kevinzjy Again the same problem. Output is given below:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at sample_MIX_all_easy4.paint(sample_MIX_all_easy4.java:1275) at CIRI_vis_test.main(CIRI_vis_test.java:437)

Another point I wanted to add: CIRI-viz works fine if I use CIRI_AS output (.jav_list; -d yes) for all samples, including this one.

@Kevinzjy
Copy link
Member

@Kevinzjy Again the same problem. Output is given below: Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at sample_MIX_all_easy4.paint(sample_MIX_all_easy4.java:1275) at CIRI_vis_test.main(CIRI_vis_test.java:437)

Another point I wanted to add: CIRI-viz works fine if I use CIRI_AS output (.jav_list; -d yes) for all samples, including this one.

Yes, '-d yes' is required if you run CIRI2/CIRI-AS/CIRI-full manually. You could refer to the section the following section (https://ciri-cookbook.readthedocs.io/en/latest/CIRI-full.html#how-to-run-the-test-data-set-using-ciri-full) for the full commands.

@drwazeem
Copy link
Author

Yep that works well without any problems.
I am facing problems with just one sample when using the below command:

java -Xmx4096m -jar CIRI-vis_v1.4.jar -i sampleX_merge_circRNA_detail.anno -l sampleX.as_library_length.list -r genome.fa -min 1 -d sampleX/ciri_vis_out -o sampleX
Or

java -Xmx4096m -jar CIRI-vis_v1.4.1.jar -i sampleX_merge_circRNA_detail.anno -l sampleX.as_library_length.list -r genome.fa -min 1 -d sampleX/ciri_vis_out -o sampleX

@Alipe2021
Copy link

Again the same problem. Output is given below:

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
        at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
        at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
        at java.base/java.util.Objects.checkIndex(Objects.java:372)
        at java.base/java.util.ArrayList.get(ArrayList.java:459)
        at sample_MIX_all_easy4.paint(sample_MIX_all_easy4.java:1275)
        at CIRI_vis_test.main(CIRI_vis_test.java:437)

图片

In the previous CIRI-AS step, I had added the param -D yes.

@Kevinzjy
Copy link
Member

Kevinzjy commented Nov 23, 2021

Hi @drwazeem @Alipe2021 , we've updated a fixed commit at bioinfo-biols/CIRI-vis@bfbffe0, could you please try it again?

@drwazeem
Copy link
Author

@Kevinzjy I have tried both. This thread strarted with CIRI-vis_v1.4.jar, but as I said there is the same issue with CIRI-vis_v1.4.1.jar.

Both of them work well when CIRI_as output is used; but both of them fail to generate the fasta file to process one of my 12 samples when I directly use CIRI-full (merge_circRNA_detail.anno) output.

@Alipe2021
Copy link

Consistent with previous problem,

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
        at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
        at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
        at java.base/java.util.Objects.checkIndex(Objects.java:372)
        at java.base/java.util.ArrayList.get(ArrayList.java:459)
        at sample_MIX_all_easy4.paint(sample_MIX_all_easy4.java:1275)
        at CIRI_vis_test.main(CIRI_vis_test.java:431)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants