Comments (5)
ping @chufz
from metfrag-galaxy.
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.
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.
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.
Wonderful. Just installed the released version on our local Galaxy (ping @chufz).
from metfrag-galaxy.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metfrag-galaxy.