-
Notifications
You must be signed in to change notification settings - Fork 58
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
metamorpheus initial commit #587
Open
jj-umn
wants to merge
8
commits into
galaxyproteomics:master
Choose a base branch
from
jj-umn:metamorpheus
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6e86fac
metamorpheus initial commit
jj-umn 48d3dfd
Create .shed.yml
jj-umn 775042a
Add profile 21.05 for toml datatype
jj-umn 5bb772f
Merge branch 'master' into metamorpheus
bgruening 7c57a8a
Add mmsettings option
jj-umn d7af9ee
Merge branch 'metamorpheus' of https://github.com/jj-umn/tools-galaxy…
jj-umn 7a40b99
Update metamorpheus_calibration.xml
jj-umn 4c292fe
MetaMorpheus param fixes
jj-umn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<tool id="metamorpheus_calibration" name="MetaMorpeus Calibration" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5"> | ||
<description>identify peptides by their calibrate the m/z values of all peaks in the spectra</description> | ||
<macros> | ||
<import>macros.xml</import> | ||
</macros> | ||
<expand macro="requirements" /> | ||
<command detect_errors="exit_code"><![CDATA[ | ||
@PREPARE_INPUTS@ | ||
@MERGE_TOMLS@ | ||
metamorpheus | ||
-t tasksettings.toml | ||
## -s #echo ' '.join($spectrum_names)# | ||
-s $inputs_dir | ||
-d #echo ' '.join($database_names)# | ||
-o output | ||
]]></command> | ||
<configfiles> | ||
<configfile name="default_toml"><![CDATA[#slurp | ||
@DEFAULT_CALIBRATION_TOML@ | ||
]]></configfile> | ||
<configfile name="user_toml"> | ||
@CALIBRATE_CONFIG@ | ||
@COMMON_CONFIG@ | ||
</configfile> | ||
<configfile name="task_settings_toml">#slurp | ||
</configfile> | ||
</configfiles> | ||
<inputs> | ||
<expand macro="input_spectrums" multiple="true"/> | ||
<expand macro="input_databases"/> | ||
<expand macro="input_toml"/> | ||
<expand macro="calibrate_params"/> | ||
<expand macro="common_params"/> | ||
</inputs> | ||
<outputs> | ||
<expand macro="output_settings_toml"/> | ||
<data name="results" format="txt" label="${tool.name} on ${on_string} results.txt" from_work_dir="output/allresults.txt"/> | ||
<data name="prose" format="txt" label="${tool.name} on ${on_string} prose.txt" from_work_dir="output/Task1CalibrationTask/prose.txt"/> | ||
<expand macro="calibrated_outputs"/> | ||
</outputs> | ||
<tests> | ||
<test> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you add |
||
<param name="spectrums" ftype="mzml" value="SmallCalibratible_Yeast.mzML"/> | ||
<param name="databases" ftype="fasta" value="SmallYeast.fasta"/> | ||
<output name="results"> | ||
<assert_contents> | ||
<has_text text="MS2 calibration datapoint count: 819" /> | ||
<has_text text="Engine type: CalibrationEngine" /> | ||
</assert_contents> | ||
</output> | ||
<output_collection name="calibrated_scans" type="list"> | ||
<element name="oe1"> | ||
<assert_contents> | ||
<has_text_matching expression="^F\n$" /> | ||
</assert_contents> | ||
</element> | ||
</output_collection> | ||
|
||
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
@METAMORPHEUS_HELP@ | ||
]]></help> | ||
<expand macro="citations" /> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<tool id="metamorpheus_g_ptm_d" name="MetaMorpeus G-PTM-D" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5"> | ||
<description>Post-translational modification (PTM) discovery</description> | ||
<macros> | ||
<import>macros.xml</import> | ||
</macros> | ||
<expand macro="requirements" /> | ||
<command detect_errors="exit_code"><![CDATA[ | ||
@PREPARE_INPUTS@ | ||
@LN_CALIB_TOML@ | ||
@MERGE_TOMLS@ | ||
metamorpheus | ||
-t tasksettings.toml | ||
## -s #echo ' '.join($spectrum_names)# | ||
-s $inputs_dir | ||
-d #echo ' '.join($database_names)# | ||
-o output | ||
]]></command> | ||
<configfiles> | ||
<configfile name="default_toml"><![CDATA[#slurp | ||
@DEFAULT_GPTMD_TOML@ | ||
]]></configfile> | ||
<configfile name="user_toml"> | ||
@GPTMD_CONFIG@ | ||
@COMMON_CONFIG@ | ||
</configfile> | ||
<configfile name="task_settings_toml">#slurp | ||
</configfile> | ||
</configfiles> | ||
<inputs> | ||
<expand macro="input_spectrums" multiple="true" filetype="Calibrated Spectrum"/> | ||
<expand macro="calib_toml"/> | ||
<expand macro="input_databases"/> | ||
<expand macro="input_toml"/> | ||
<expand macro="common_params"/> | ||
</inputs> | ||
<outputs> | ||
<expand macro="output_settings_toml"/> | ||
<data name="results" format="txt" label="${tool.name} on ${on_string} results.txt" from_work_dir="output/allresults.txt"/> | ||
<data name="prose" format="txt" label="${tool.name} on ${on_string} prose.txt" from_work_dir="output/Task*GptmdTask/prose.txt"/> | ||
<data name="db_xml" format="uniprotxml" label="${tool.name} on ${on_string} ${databases[0].name.rsplit('.',1)[0]}GPTMD.xml" from_work_dir="output/Task*GptmdTask/*GPTMD.xml"/> | ||
<data name="psmtsv" format="tabular" label="${tool.name} on ${on_string} GPTMD_Candidates.psmtsv" from_work_dir="output/Task*GptmdTask/GPTMD_Candidates.psmtsv"/> | ||
</outputs> | ||
<tests> | ||
<test> | ||
<param name="spectrums" ftype="mzml" value="SmallCalibratible_Yeast-calib.mzML"/> | ||
<param name="calib_tomls" ftype="toml" value="SmallCalibratible_Yeast-calib.toml"/> | ||
<param name="databases" ftype="fasta" value="SmallYeast_uniprot.xml"/> | ||
<output name="results"> | ||
<assert_contents> | ||
<has_text text="Engine type: GptmdEngine" /> | ||
</assert_contents> | ||
</output> | ||
<output name="db_xml"> | ||
<assert_contents> | ||
<has_text text="mzLibProteinDb" /> | ||
</assert_contents> | ||
</output> | ||
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
@METAMORPHEUS_HELP@ | ||
]]></help> | ||
<expand macro="citations" /> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<tool id="metamorpheus_search" name="MetaMorpeus Database Search" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5"> | ||
<description>identify peptides by their fragmentation spectra</description> | ||
<macros> | ||
<import>macros.xml</import> | ||
</macros> | ||
<expand macro="requirements" /> | ||
<command detect_errors="exit_code"><![CDATA[ | ||
@PREPARE_INPUTS@ | ||
@LN_CALIB_TOML@ | ||
@MERGE_TOMLS@ | ||
metamorpheus | ||
-t tasksettings.toml | ||
-s ${inputs_dir} | ||
-d #echo ' '.join($database_names)# | ||
-o output | ||
]]></command> | ||
<configfiles> | ||
<configfile name="default_toml"><![CDATA[#slurp | ||
@DEFAULT_SEARCH_TOML@ | ||
]]></configfile> | ||
<configfile name="user_toml"> | ||
@SEARCH_CONFIG@ | ||
@COMMON_CONFIG@ | ||
</configfile> | ||
<configfile name="task_settings_toml">#slurp | ||
</configfile> | ||
</configfiles> | ||
<inputs> | ||
<expand macro="input_spectrums" multiple="true" filetype="Calibrated Spectrum"/> | ||
<expand macro="calib_toml"/> | ||
<expand macro="input_databases"/> | ||
<expand macro="input_toml"/> | ||
<expand macro="common_params"/> | ||
<expand macro="search_params"/> | ||
</inputs> | ||
<outputs> | ||
<expand macro="output_settings_toml"/> | ||
<data name="results" format="txt" label="${tool.name} on ${on_string} results.txt" from_work_dir="output/allresults.txt"/> | ||
<data name="prose" format="txt" label="${tool.name} on ${on_string} prose.txt" from_work_dir="output/Task*SearchTask/prose.txt"/> | ||
<data name="allpsms" format="tabular" label="${tool.name} on ${on_string} AllPSMs.psmtsv" from_work_dir="output/Task*SearchTask/AllPSMs.psmtsv"/> | ||
<data name="allpsms_percolator" format="tabular" label="${tool.name} on ${on_string} AllPSMs_FormattedForPercolator.tab" from_work_dir="output/Task*SearchTask/AllPSMs_FormattedForPercolator.tab"/> | ||
<data name="allpeptides" format="tabular" label="${tool.name} on ${on_string} AllPeptides.psmtsv" from_work_dir="output/Task*SearchTask/AllPeptides.psmtsv"/> | ||
<data name="allquantifiedpeaks" format="tabular" label="${tool.name} on ${on_string} AllQuantifiedPeaks.tsv" from_work_dir="output/Task*SearchTask/AllQuantifiedPeaks.tsv"> | ||
</data> | ||
<data name="allquantifiedpeptides" format="tabular" label="${tool.name} on ${on_string} AllQuantifiedPeptides.tsv" from_work_dir="output/Task*SearchTask/AllQuantifiedPeptides.tsv"> | ||
</data> | ||
<data name="allquantifiedprotein" format="tabular" label="${tool.name} on ${on_string} AllQuantifiedProteinGroups.tsv" from_work_dir="output/Task*SearchTask/AllQuantifiedProteinGroups.tsv"> | ||
</data> | ||
<expand macro="search_collection_outputs"/> | ||
</outputs> | ||
<tests> | ||
<test> | ||
<param name="spectrums" ftype="mzml" value="SmallCalibratible_Yeast-calib.mzML"/> | ||
<param name="calib_tomls" ftype="toml" value="SmallCalibratible_Yeast-calib.toml"/> | ||
<param name="databases" ftype="fasta" value="SmallYeastGPTMD.xml"/> | ||
<output name="results"> | ||
<assert_contents> | ||
<has_text text="Engine type: ProteinScoringAndFdrEngine" /> | ||
</assert_contents> | ||
</output> | ||
<output name="allpsms"> | ||
<assert_contents> | ||
<has_text text="KGNNTANATN[Common Artifact:Deamidation on N]SANTVQK" /> | ||
</assert_contents> | ||
</output> | ||
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
@METAMORPHEUS_HELP@ | ||
]]></help> | ||
<expand macro="citations" /> | ||
</tool> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8,122 changes: 8,122 additions & 0 deletions
8,122
tools/metamorpheus/test-data/SmallCalibratible_Yeast-calib.mzML
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
tools/metamorpheus/test-data/SmallCalibratible_Yeast-calib.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PrecursorMassTolerance = "±3.7699 PPM" | ||
ProductMassTolerance = "±8.4670 PPM" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.