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

[Networking] Adding user defined parameter for the level of parallelism we could allow #741

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metabolomics-snets-v2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ include ../Makefile.deploytemplate

WORKFLOW_NAME=metabolomics-snets-v2
TOOL_FOLDER_NAME=metabolomicsnetsv2
WORKFLOW_VERSION=release_28.2
WORKFLOW_VERSION=release_29
WORKFLOW_DESCRIPTION="Molecular networks are visual displays of the chemical space present in tandem mass spectrometry (MS/MS) experiments. This visualization approach can detect sets of spectra from related molecules (molecular networks), even when the spectra themselves are not matched to any known compounds. Classical molecular networking is well suited for discovery and can be analyzed directly from raw mass spectrometry files. Feature-based Molecular Networking (FBMN) is better when quantification analysis is necessary, but requires preprocessing with feature finding tools."

24 changes: 24 additions & 0 deletions metabolomics-snets-v2/metabolomics-snets-v2/input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@
<default value="0"/>
</parameter>


<parameter name="MAXNETWORKINGPARALLELISM" label="Maxmimum Networking Parallelism">
<default value="50"/>
<validator type="integer" minimumExclusive="0" maximum="100"/>
</parameter>

</parameters>


Expand Down Expand Up @@ -851,4 +857,22 @@
</cell>
</row>
</block>

<block label="Advanced Compute Options">
<row>
<cell>
<label>
<content parameter="MAXNETWORKINGPARALLELISM"/>
</label>
</cell>

<cell>
<input type="text" parameter="MAXNETWORKINGPARALLELISM">
<attribute name="size" value="10"/>
</input>
</cell>
</row>
</block>


</interface>
2 changes: 1 addition & 1 deletion metabolomics-snets-v2/metabolomics-snets-v2/tool.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<arg valueRef="mgf_file"/>
<arg valueRef="workflowParameters"/>
<arg valueRef="networking_parameters"/>
<arg option="-parallelism" value="100"/>
<arg option="-parallelism" valueRef="@MAXNETWORKINGPARALLELISM"/>
</execution>
</tool>

Expand Down