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

BBPSPLIT fails cryptically with user errors #1130

Open
pinin4fjords opened this issue Nov 22, 2023 · 4 comments
Open

BBPSPLIT fails cryptically with user errors #1130

pinin4fjords opened this issue Nov 22, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@pinin4fjords
Copy link
Member

pinin4fjords commented Nov 22, 2023

Description of the bug

I had a senior moment and re-submitted an rna-seq run in Seqera Platform, modifying the reference files and not using additional_fasta but forgetting to take out bbsplit_fasta_list and reset skip_bbsplit to true. This caused a failure like

Exception in thread "Thread-7" java.lang.RuntimeException: java.io.EOFException
    at fileIO.ReadWrite.readObject(ReadWrite.java:823)
    at fileIO.ReadWrite.read(ReadWrite.java:1285)
    at fileIO.LoadThread.run(LoadThread.java:30)
Caused by: java.io.EOFException
    at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2926)
    at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3421)
    at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:959)
    at java.base/java.io.ObjectInputStream.(ObjectInputStream.java:397)
    at fileIO.ReadWrite.readObject(ReadWrite.java:818)
    ... 2 more
Exception in thread "Thread-5" java.lang.AssertionError: null, [I@497de40d
    at align2.Block.read(Block.java:148)
    at align2.IndexMaker4$BlockMaker.makeArrays(IndexMaker4.java:140)
    at align2.IndexMaker4$BlockMaker.run(IndexMaker4.java:128)

... and the job just hung.

So despite the ultimate cause being operator error there are two issues:

  • The BBMAP fails cryptically rather than checking inputs
  • When a failure occurs the process seems to hang rather than finishing with a non-zero error (at least within the couple of hour timeframe I was prepared to wait).

Command used and terminal output

$ nextflow run 'https://github.com/nf-core/rnaseq'
		 -name nostalgic_pare
		 -params-file 'https://api.tower.nf/ephemeral/TEPfBKFjWQ0C9XohEadhTA.json'
		 -with-tower
		 -r dev
		 -latest

Relevant files

No response

System information

No response

@pinin4fjords pinin4fjords added the bug Something isn't working label Nov 22, 2023
@drpatelh drpatelh added this to the 3.15.0 milestone May 13, 2024
@pinin4fjords pinin4fjords removed this from the 3.15.0 milestone May 29, 2024
@drpatelh
Copy link
Member

Did we find a fix for this @pinin4fjords ? Saw you removed it from the milestone. Shall we push it to the next one?

@pinin4fjords
Copy link
Member Author

I don't quite know what to do about it, and we're probably not going to go digging into BBMAP to fix it. I'd like to leave it open as an aid for anyone else getting the same error, but I can't see us doing anything about it any time soon, so it shouldn't be on a milestone.

@MatthiasZepper
Copy link
Member

Which process was it that failed? The index construction or the actual BB Split mapping?

@pinin4fjords
Copy link
Member Author

Pretty sure it was the actual BBSplit, but now you're asking I'm doubting myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants