comparison spectrast_create.xml @ 12:f6fd2798879a draft default tip

planemo upload for repository https://github.com/iracooke/protk-galaxytools/tree/master/spectrast commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
author iracooke
date Tue, 20 Oct 2015 20:41:43 -0400
parents 276ff5e1732c
children
comparison
equal deleted inserted replaced
11:cf953fb3f0c0 12:f6fd2798879a
1 <tool id="spectrast_create_1" name="SpectraST Create" version="1.0.0"> 1 <tool id="spectrast_create_1" name="SpectraST Create" version="1.0.0">
2 <description>Create Spectral Libraries</description>
2 <requirements> 3 <requirements>
3 <container type="docker">iracooke/protk-1.4.2</container> 4 <container type="docker">iracooke/protk-1.4.3</container>
4 <requirement type="package" version="1.4">protk</requirement> 5 <requirement type="package" version="1.4.3">protk</requirement>
5 <requirement type="package" version="4.8.0">trans_proteomic_pipeline</requirement> 6 <requirement type="package" version="4.8.0">trans_proteomic_pipeline</requirement>
6 </requirements> 7 </requirements>
7
8 <description>Create Spectral Libraries</description>
9
10 <stdio> 8 <stdio>
11 <exit_code range="1:" level="fatal" description="Job Failed" /> 9 <exit_code range="1:" level="fatal" description="Job Failed" />
12 </stdio> 10 </stdio>
13 11 <command>
14 <command> 12 <![CDATA[
15 spectrast_create.rb --galaxy 13 spectrast_create.rb --galaxy
16 14
17 #for $pepxml_file in $pepxml_files: 15 #for $pepxml_file in $pepxml_files:
18 ${pepxml_file} 16 ${pepxml_file}
19 #end for 17 #end for
20 18
21 --spectrum-files='$spectrum_files' 19 --spectrum-files='$spectrum_files'
20 --predicate 'Protein!~$decoy_prefix_string'
21 --p-thresh $p_thresh
22 --instrument-acquisition $instrument_acquisition
23 -o library
22 24
23 --predicate 'Protein!~$decoy_prefix_string' 25 &&
24 26
25 --p-thresh $p_thresh 27 mkdir -p $output.files_path
26 28
27 --instrument-acquisition $instrument_acquisition 29 &&
28 30
29 -o library; 31 cp library.splib library.spidx library.pepidx $output.files_path/
30 32
31 mkdir -p $output.extra_files_path; 33 &&
32
33 cp library.splib library.spidx library.pepidx $output.extra_files_path/;
34 34
35 echo "Spectral Library Primary File" > $output 35 echo "Spectral Library Primary File" > $output
36 36 ]]>
37 </command> 37 </command>
38 38 <inputs>
39 <inputs>
40 39
41 <param name="pepxml_files" multiple="true" type="data" format="pepxml,peptideprophet_pepxml,interprophet_pepxml" label="PepXML Files to use in library generation" help=""/> 40 <param name="pepxml_files" multiple="true" type="data" format="pepxml,peptideprophet_pepxml,interprophet_pepxml" label="PepXML Files to use in library generation" help=""/>
42
43 <param name="spectrum_files" multiple="true" type="data" format="mzml" label="Data files containing spectra referred to in pepxml files" help=""/> 41 <param name="spectrum_files" multiple="true" type="data" format="mzml" label="Data files containing spectra referred to in pepxml files" help=""/>
42 <param name="decoy_prefix_string" help="String to identify decoys. All decoys wil be excluded" type="text" value="decoy" label="Decoy String" size="20"/>
43 <param name="instrument_acquisition" type="text" value="CID-QTOF" label="Decoy String" size="20"
44 help="Set the instrument and acquisition settings of the spectra (in case not specified in data files).
45 Examples: CID, ETD, CID-QTOF, HCD. The latter two are treated as high-mass accuracy spectra."/>
46 <param name="p_thresh" type="float" value="0.99" min="0" max="1" label="Probability Threshold"
47 help="Matches scoring less than this value are discarded" />
48 </inputs>
49 <outputs>
50 <data format="splib" name="output"/>
51 </outputs>
52 <help>
53 <![CDATA[
54 **What it does**
44 55
45 <param name="decoy_prefix_string" help="String to identify decoys. All decoys wil be excluded" type="text" value="decoy" label="Decoy String" size="20"/> 56 Create Spectral Libraries.
46 57
47 <param name="instrument_acquisition" help="Set the instrument and acquisition settings of the spectra (in case not specified in data files). 58 ]]>
48 Examples: CID, ETD, CID-QTOF, HCD. The latter two are treated as high-mass accuracy spectra." type="text" value="CID-QTOF" label="Decoy String" size="20"/> 59 </help>
49
50 <param name="p_thresh" help="Matches scoring less than this value are discarded" type="float" value="0.99" min="0" max="1" label="Probability Threshold"/>
51
52 </inputs>
53
54 <outputs>
55 <data format="splib" name="output"/>
56 </outputs>
57
58 </tool> 60 </tool>