Giter VIP home page Giter VIP logo

Comments (5)

bernt-matthias avatar bernt-matthias commented on June 30, 2024

ping @chufz

from metfrag-galaxy.

Tomnl avatar Tomnl commented on June 30, 2024

OK - thanks for the issue.

We have experienced memory issues before and dynamically assigned the memory based on the maximum number of peaks with a single spectra within the MSP.

e.g.

 <destination id="destination_metfrag" runner="dynamic">
            <param id="type">python</param>
            <param id="function">metfrag_msp_peak_count</param>
  </destination>

@RJMW when you get a chance could you copy and paste the python function we ended up using please

from metfrag-galaxy.

bernt-matthias avatar bernt-matthias commented on June 30, 2024

OK. This is also an option.

What I would suggest is to add

<stdio>
    <regex match="Cannot allocate memory"
           source="stderr"
           level="fatal_oom"
           description="Out of memory error occurred" />
</stdio>

then Galaxy can resubmit to a destination with more memory.

from metfrag-galaxy.

Tomnl avatar Tomnl commented on June 30, 2024

This is now implemented.

For reference, if a dynamic runner is to be assigned the function needs to be added to galaxy/lib/galaxy/jobs/rule/destinations_input_type.py e.g. a function called metfrag_msp_peak_count needs to be in `destinations_input_type.py that checks for msp peak count and then assigns memory.

At our local bham galaxy instance we currently check for precursor m/z size to assign levels of memory (However, I think there is probably a better predictor of memory usage that the precursor m/z or number of peaks)

from metfrag-galaxy.

bernt-matthias avatar bernt-matthias commented on June 30, 2024

Wonderful. Just installed the released version on our local Galaxy (ping @chufz).

from metfrag-galaxy.

Related Issues (9)

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.