Giter Site home page Giter Site logo

Comments (5)

jfy133 avatar jfy133 commented on July 23, 2024 1

OK! Thanks @MajoroMask that's enough to warrant the bump.

I will aim to update the module and pipeline over the next few days and include taht with the other bug fixes :)

from taxprofiler.

jfy133 avatar jfy133 commented on July 23, 2024

Hi @MajoroMask I can't replicate...

The only thing I can think of is you maybe hit a memory error (java is really wierd and inconsistent with memory usage)... , MALT/MEGAN databases are extremely large, so if you have a custom one that could cause errors.

Could you try increasing the amount of memory to that process with a config file, before we bump the version in a patch release (although this will come in the next major release)?

from taxprofiler.

MajoroMask avatar MajoroMask commented on July 23, 2024

Hi @jfy133 Thanks for your reply.

I tried your solution and I think this time it's not the out of memory issue.

  • The exit code is 1 instead of 137 or other that represent memory shortage.
cd /path/into/workdir/34/3e38ec40e5e77328f24cffaba38e1e
cat .exitcode
1
  • I tried increase task.memory for this process to 50GB, yet still I got the same error.
cat .command.run | grep 'docker run * --memory'
docker run -i --cpus 1.0 --memory 51200m -e "NXF_DEBUG=${NXF_DEBUG:=0}"
  • The error massage pointed out it's a classic java "null pointer" error. I'm not familiar with java so I'll leave it to your guys.
cat .command.err
Error: JavaFX detected no fonts! Please refer to release notes for proper font configuration
Version   MEGAN Community Edition (version 6.21.7, built 23 Jun 2021)
Author(s) Daniel H. Huson
Copyright (C) 2021 Daniel H. Huson. This program comes with ABSOLUTELY NO WARRANTY.
Loading ncbi.map: 2,302,807
Loading ncbi.tre: 2,302,811
Caught:
java.lang.NullPointerException
        at megan/megan.tools.RMA2Info.isDescendant(RMA2Info.java:455)
        at megan/megan.tools.RMA2Info.reportRead2Count(RMA2Info.java:387)
        at megan/megan.tools.RMA2Info.run(RMA2Info.java:153)
        at megan/megan.tools.RMA2Info.main(RMA2Info.java:63)
  • I also checked the release note of megan (here) and I found this:
--- Release notes MEGAN6 V6_21_11 (Fri, 20 Aug 2021): ---

- Fixed newly introduce bug in Project menu
- Fixed minor bug in rma2info

Since megan is not open source, I think we can't confirm it on code level. The only thing we know is that they do have a rma2info bug fixed between release 6.21.7 and 6.24.20. So fixing this problem by updating megan version makes sense to me.

That's all I have for now. Hope this information could be of help for you guys.

from taxprofiler.

MajoroMask avatar MajoroMask commented on July 23, 2024

Well, turns out megan CE is open source (the commit)

image

from taxprofiler.

jfy133 avatar jfy133 commented on July 23, 2024

First step: module update nf-core/modules#4228

from taxprofiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.