Comments (15)
@lecorguille I can imagine at least two ways to approach this:
- Add code to
xcms_xcmsSet.r
along with options in the wrapper to set the parameters - Create a separate tool
I can start working on the first and give you a pull request. You can let me know whether you would prefer to pursue another option or would like to delegate this to someone else.
from tools-metabolomics.
@lecorguille I have been reading the XCMS reference manual and have learned that refineChromPeaks can be used for three things:
- Remove chromatographic peaks with too large rt width
- Remove chromatographic peaks based on intensity
- Merge neighboring and overlapping chromatographic peaks
This seriously calls into question my suggestion of integrating it into xcmsSet, so now I am under the impression that creating a separate tool is the better approach.
What do you think?
from tools-metabolomics.
Hi Art,
It's indeed a balance between modularity and complexity.
Is this tool between, findChromPeaks and groupChromPeaks?
Ping @workflow4metabolomics/ms , do you have an idea?
from tools-metabolomics.
@lecorguille Yes, the tool is between findChromPeaks and groupChromPeaks
I have gotten this to work in my fork of tools-metabolomics
, wrapped as a separate tool xcms_refine
at
It passes planemo test .
and runs correctly in planemo serve .
; I still need to stress test it a bit more before sending a pull request to solicit feedback formally. But, hey, it's working! The drawbacks are:
- It is dependent on
bioconductor-xcms 3.12.0
becauserefineChromPeaks
is not found in3.6.1
- It generates warnings because R 4.0.2 runs but
bioconductor-xcms 3.12.0
was built with R 4.0.3 - It does not appear in the workflow graphic ... perhaps it ought not to?
So, we will need to figure out how to negotiate around this obstacle. It strongly argues against integrating with (and de-stabilizing) the findChromPeaks
wrapper.
Thank you for any guidance or suggestions that you can provide.
from tools-metabolomics.
from tools-metabolomics.
Hi @eschen42
Thank you for the detailed feedback!
I have not tested this function yet, but based on your detailed description, I agree with your suggestion to consider it as a dedicated tool. May I have understood correctly, the function can take as input an object generated by a first findChromPeaks run, and "refine" it to obtain as output a similar object, "filtered" according to the parameters passed to the refineChromPeaks-merge function. Right?
Mélanie
from tools-metabolomics.
@melpetera You have exactly understood. For further info, please see the three functionalities of refineChromPeaks documented in the "manual" (the first is the one that I need at the moment, but it seemed sensible to wrap all three):
- https://rdrr.io/bioc/xcms/man/refineChromPeaks-merge.html
- https://rdrr.io/bioc/xcms/man/refineChromPeaks-clean.html
- https://rdrr.io/bioc/xcms/man/refineChromPeaks-filter-intensity.html
from tools-metabolomics.
@lecorguille @melpetera
I found a bit of a "showstopper": because refineChromPeaks
was not available in XCMS 3.6.1, I wrapped the (proposed) xcms_refine
tool with a dependency on XCMS 3.12.0. Unfortunately, the .RData
file that this produces has an incompatibility with XCMS 3.6.1, so that xcms_merge
threw an error when trying to consume the .RData
file.
So, it seems that this is blocked until other tools in the suite run under XCMS 3.12.0
from tools-metabolomics.
Sure, we have to bump the xcms version for all the wrappers.
Can you submit a PR ?
And indeed, unfortunately, we will have to update the different test_data RData :/
from tools-metabolomics.
@lecorguille Okay, if I understand you, I can submit a PR for this tool.
Here is the question that I have is what to do about the dependency on XCMS 3.12.0, since ordinarily this is handled through the macros. Should I hard code it into the PR and then you fix it during the merge after the switch to XCMS 3.12.0 ?
To put it another way, are we tracking the needed work and our dialog in a PR ?
Fortunately, it accepts the 3.6.1 test data as input because Johannes Reiner made refineChromPeaks
backward compatible.
from tools-metabolomics.
@lecorguille @melpetera I am awaiting clarification on the content for a PR. Thank you.
@lecorguille Okay, if I understand you, I can submit a PR for this tool.
Here is the question that I have is what to do about the dependency on XCMS 3.12.0, since ordinarily this is handled through the macros. Should I hard code it into the PR and then you fix it during the merge after the switch to XCMS 3.12.0 ?
To put it another way, are we tracking the needed work and our dialog in a PR ?Fortunately, it accepts the 3.6.1 test data as input because Johannes Reiner made
refineChromPeaks
backward compatible.
from tools-metabolomics.
Sorry, I though that I had already answer. It seems that I never press the green button.
Yes, we should just starting by bumping the xcms version in the macro.
My guess that the new CI workflow will raise a LOT of R linting errors :(
But after that, we will be able to have an idea about the planemo test themself.
from tools-metabolomics.
Let see what will happen here: #194
from tools-metabolomics.
So the xcms 3.12.0 is ready here and just waiting for review:
#194
You will be able to base your tools on it
from tools-metabolomics.
@lecorguille Good news! Thank you very much! I will try to keep an eye on when #194 gets closed.
from tools-metabolomics.
Related Issues (20)
- suite_xcms not up to date
- xcms_chrom_plot missing color in group plot HOT 2
- Tools with picture issues in help section
- [xcms process history] error HOT 3
- findChromPeaks Merger with "bad " samplenames format auto correction HOT 1
- AdjustRtime module : bug in wrapper
- camera_combinexsannos for EU Server installation
- Error when linking Isocor and Isoplot in a workflow HOT 8
- Metabolite correlation analysis - handling differences in order between tables
- xcmsSet - old version (rev: 15646e937936) - conda version resolving never finishes HOT 5
- xcms plot chromatogram - manage SampleMetadata with ad without X (check.names)
- Tool request: MZMine HOT 10
- fillPeaks function enhancement ChromPeakAreaParam
- test issue HOT 1
- metams: exchange MSP reader with MSBackendMSP from RforMassSpectrometry HOT 1
- Biocontainer not letting tool create subdirectory HOT 3
- Add DIMet tool in workflow4metabolomics
- Added tool Skyline2Isocor not being integrated onto W4M galaxy UI HOT 2
- Problem running physiofit 3.4.0 on the online instance HOT 2
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 tools-metabolomics.