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

Trimmomatic implementation error #59

Open
jfaberha opened this issue Dec 20, 2024 · 6 comments
Open

Trimmomatic implementation error #59

jfaberha opened this issue Dec 20, 2024 · 6 comments

Comments

@jfaberha
Copy link

Hi, I'm able to get grenepipe running with example data and the tests are all successful. I'm getting an java-related error however when it gets to the trimmomatic steps with some different fastq inputs. It generates error logs at the trimmomatic step, then gets a little further before the pipeline freezes. These datasets work with grenepipe when swapping the trimming step to cutadapt or other tools. The error logs (hs_err_pid*) are extremely complex and it's hard for me to make heads or tails of it. Forgive me if it's only a memory request issue on my end, but the example data works with the same parameters with a far lower memory allotment. Any idea how to address this, and if these errors are the primary reason grenepipe ends up freezing at step 47 (in this particular run)?

hs_err_pid204918.log
hs_err_pid206680.log
2024-12-19T153218.870860.snakemake.log

@lczech
Copy link
Member

lczech commented Dec 20, 2024

Hey @jfaberha,

hm, from just those files, it is not clear to me either, at least not on first glance. New type of error. Could you please do the following:

  • Also post the grenepipe snakemake log file here (in logs/snakemake), as that contains additional system information, as well as the trimmomatic logs in logs/trimming. Furthermore, if you are running this on a cluster with slurm, also the slurm log files, both of the main snakemake instance (on the head/login node) and the trimmomatic slurm log. See here for details on that.
  • Try running it with more memory, just to see if that is the reason. If you are using slurm, that means editing the slurm config, see here.
  • Try running it manually, to see if this is indeed just within trimmomatic itself, or somehow based on interaction with snakemake or conda. The command line for that is at the beginning of the error logs you posted, in Summary. There is a weird memory contraint there (-Xmx164M) which might cause this. Try -Xmx10G or something like that instead.

Let's see if any of that yields any further insights :-)

Cheers and so long
Lucas

@jfaberha
Copy link
Author

jfaberha commented Dec 20, 2024 via email

@lczech
Copy link
Member

lczech commented Dec 20, 2024

Hey Josh,

seems that email attachments are not posted on GitHub. Can you please try again here. Thanks!

As for the new runs: Sounds good, let me know how those work out.

Cheers
Lucas

@jfaberha
Copy link
Author

Hey Josh,

seems that email attachments are not posted on GitHub. Can you please try again here. Thanks!

As for the new runs: Sounds good, let me know how those work out.

Cheers Lucas

Updated, thanks.

@lczech
Copy link
Member

lczech commented Dec 20, 2024

Okay, thanks!

So, the trimmomatic log says:

Exception in thread "pool-1-thread-2" java.lang.AbstractMethodError: Receiver class Ljdk.internal.vm.FillerArray; does not define or inherit an implementation of the resolved method 'abstract java.lang.invoke.MethodType accessModeTypeUncached(java.lang.invoke.VarHandle$AccessType)' of abstract class java.lang.invoke.VarHandle.

which seems very much like this is an error in trimmomatic itself, coming from an implementation bug on their end. Unless I miss something, there is nothing I can do as far as grenepipe is concerned (except for updating trimmomatic once they have fixed this). I'd recommend to post this to the trimmomatic GitHub repo instead.

If you think this is indeed an issue with grenepipe, let me know - we can wait for your current tests before closing this issue.

Cheers
Lucas

@jfaberha
Copy link
Author

Good to know, I'll see what I can do from the trimmomatic side of things and keep you posted on these new grenepipe run iterations. Thanks for the help.

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

2 participants