Mercurial > repos > galaxyp > msgfplus
comparison msgfplus.xml @ 6:4b7d768b74d3 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msgfplus commit 11837caf01413f2657b529b7cd7a4ec0960110fa
author | galaxyp |
---|---|
date | Fri, 27 Oct 2017 13:04:49 -0400 |
parents | ce4882b95b73 |
children | f8873f2afc6f |
comparison
equal
deleted
inserted
replaced
5:ce4882b95b73 | 6:4b7d768b74d3 |
---|---|
1 <tool id="msgfplus" name="MS-GF+" version="0.3"> | 1 <tool id="msgfplus" name="MS-GF+" version="0.3.1"> |
2 <description> | 2 <description> |
3 Identifies peptides in tandem mass spectra using the MS-GF+ search engine. | 3 Identifies peptides in tandem mass spectra using the MS-GF+ search engine. |
4 </description> | 4 </description> |
5 <requirements> | 5 <requirements> |
6 <requirement type="package" version="2016.10.26">msgf_plus</requirement> | 6 <requirement type="package" version="2016.10.26">msgf_plus</requirement> |
31 #for $mod in $common_mods.split(",") | 31 #for $mod in $common_mods.split(",") |
32 echo '$mod.replace("_", ",")' >> Mods.txt && | 32 echo '$mod.replace("_", ",")' >> Mods.txt && |
33 #end for | 33 #end for |
34 | 34 |
35 #for $mod in $custom_mods | 35 #for $mod in $custom_mods |
36 echo '${mod.formula_or_mass},${mod.aa_specificity},${mod.fix_or_opt},${mod.position_specificity},${mod.mod_name}' >> Mods.txt && | 36 #set aa_nocomma = str($mod.aa_specificity).replace(",", "") |
37 echo '${mod.formula_or_mass},${aa_nocomma},${mod.fix_or_opt},${mod.position_specificity},${mod.mod_name}' >> Mods.txt && | |
37 #end for | 38 #end for |
38 | 39 |
39 msgf_plus | 40 msgf_plus |
40 -s '$input_name' | 41 -s '$input_name' |
41 -d '$db_name' | 42 -d '$db_name' |
42 -thread \${GALAXY_SLOTS:-1} | 43 -thread \${GALAXY_SLOTS:-1} |
43 -mod Mods.txt | 44 -mod Mods.txt |
44 -tda $tda | 45 -tda $tda |
53 -maxLength $advanced.maxLength | 54 -maxLength $advanced.maxLength |
54 -minCharge $advanced.minCharge | 55 -minCharge $advanced.minCharge |
55 -maxCharge $advanced.maxCharge | 56 -maxCharge $advanced.maxCharge |
56 -n $advanced.n | 57 -n $advanced.n |
57 -addFeatures $advanced.addFeatures | 58 -addFeatures $advanced.addFeatures |
58 #if $tsvcheck | 59 #if $tsvcheck |
59 && | 60 && |
60 msgf_plus | 61 msgf_plus |
61 edu.ucsd.msjava.ui.MzIDToTsv | 62 edu.ucsd.msjava.ui.MzIDToTsv |
62 -i '$output_name' | 63 -i '$output_name' |
63 -o output.tsv | 64 -o output.tsv |
64 #end if | 65 #end if |
65 && | 66 && |
66 mv '$output_name' output | 67 mv '$output_name' output |
67 ]]> | 68 ]]> |
68 </command> | 69 </command> |
69 <inputs> | 70 <inputs> |
70 <conditional name="msgf_input"> | 71 <conditional name="msgf_input"> |
71 <param name="intype_selector" type="select" label="Type of MSGF+ analysis"> | 72 <param name="intype_selector" type="select" label="Type of MSGF+ analysis"> |
72 <option value="single">Single database</option> | 73 <option value="single">Single database</option> |
73 <option value="fractions">Prefractionated database</option> | 74 <option value="fractions">Prefractionated database</option> |
74 </param> | 75 </param> |
75 <when value="single"> | 76 <when value="single"> |
76 <param argument="-s" type="data" format="mzml" label="Input Raw MS File(s)"/> | 77 <param argument="-s" type="data" format="mzml" label="Input Raw MS File(s)"/> |
77 <param argument="-d" type="data" format="fasta" label="Protein Database" help="Select FASTA database from history"/> | 78 <param argument="-d" type="data" format="fasta" label="Protein Database" help="Select FASTA database from history"/> |
78 </when> | 79 </when> |
79 <when value="fractions"> | 80 <when value="fractions"> |
80 <param name="db_spectra" type="data_collection" collection_type="paired" | 81 <param name="db_spectra" type="data_collection" collection_type="paired" |
81 label="Collection: Pairs of spectra (forward) and FASTA database (reverse)"/> | 82 label="Collection: Pairs of spectra (forward) and FASTA database (reverse)"/> |
82 </when> | 83 </when> |
83 </conditional> | 84 </conditional> |
84 <param name="tsvcheck" type="boolean" label="Output TSV as well?" /> | 85 <param name="tsvcheck" type="boolean" label="Output TSV as well?" /> |
85 <param argument="-tda" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Search with on-the-fly decoy database?" help="MSGF+ uses XXX_ as an accession prefix to indicate a decoy hit" /> | 86 <param argument="-tda" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Search with on-the-fly decoy database?" help="MSGF+ uses XXX_ as an accession prefix to indicate a decoy hit" /> |
86 <param argument="-t" type="float" value="10" label="Precursor mass tolerance" help="Error tolerance for matching peptide mass to precursor ion mass"/> | 87 <param argument="-t" type="float" value="10" label="Precursor mass tolerance" help="Error tolerance for matching peptide mass to precursor ion mass"/> |
87 <param name="precursor_ion_tol_units" type="select" label="Precursor mass tolerance units" help="Daltons are common for low-res instruments, ppm for high-res instruments"> | 88 <param name="precursor_ion_tol_units" type="select" label="Precursor mass tolerance units" help="Daltons are common for low-res instruments, ppm for high-res instruments"> |
303 <param name="custom_mods_1|formula_or_mass" value="C10H10N5O7P" /> | 304 <param name="custom_mods_1|formula_or_mass" value="C10H10N5O7P" /> |
304 <param name="custom_mods_1|aa_specificity" value="C,S" /> | 305 <param name="custom_mods_1|aa_specificity" value="C,S" /> |
305 <param name="custom_mods_1|fix_or_opt" value="opt" /> | 306 <param name="custom_mods_1|fix_or_opt" value="opt" /> |
306 <param name="custom_mods_1|position_specificity" value="any" /> | 307 <param name="custom_mods_1|position_specificity" value="any" /> |
307 <param name="custom_mods_1|mod_name" value="cGMP" /> | 308 <param name="custom_mods_1|mod_name" value="cGMP" /> |
308 | 309 |
309 <output name="output" file="201208-378803-msgf_20161026-2mmu-tryptic-many_mods.mzid" lines_diff="6" /> | 310 <output name="output"> |
311 <assert_contents> | |
312 <has_text text="iTRAQ4plex" /> | |
313 <has_text text="pyro-Glu" /> | |
314 <has_text text="Gly-loss" /> | |
315 <has_text text="cGMP" /> | |
316 </assert_contents> | |
317 </output> | |
310 </test> | 318 </test> |
311 </tests> | 319 </tests> |
312 <help> | 320 <help> |
313 **What it does** | 321 **What it does** |
314 | 322 |