0
|
1 <tool id="flashlfq" name="FlashLFQ" version="0.1.0">
|
|
2 <description>ultrafast label-free quantification for mass-spectrometry proteomics</description>
|
|
3 <requirements>
|
1
|
4 <requirement type="package" version="0.1.99">flashlfq</requirement>
|
0
|
5 </requirements>
|
|
6 <command><![CDATA[
|
2
|
7 #import re
|
|
8 #set $idt_path = $re.sub('[.][^.]*$','',$idt.display_name.split('/')[-1]) + ".psmtsv"
|
|
9 ## cp '${idt}' '${idt_path}';
|
|
10 ln -s '${idt}' '${idt_path}';
|
|
11 #for $peak_list in $peak_lists:
|
|
12 #set $input_name = $re.sub('[.][^.]*$','',$peak_list.display_name.split('/')[-1]) + ".mzML"
|
|
13 ln -s '${peak_list}' '${input_name}';
|
|
14 #end for
|
|
15 FlashLFQ --idt $idt_path --rep `pwd` --ppm $ppm --iso $iso --nis $nis
|
0
|
16 #if $intensity == 'integrate':
|
|
17 --int true
|
|
18 #end if
|
|
19 #if $charge == 'precursor':
|
|
20 --chg true
|
|
21 #end if
|
2
|
22 $rmm $mbr
|
0
|
23 --pau false
|
2
|
24 && cat *_FlashLFQ_Log.txt | sed 's/\(Analysis summary for:\).*working./\1 /' > '$log'
|
|
25 && cp *_FlashLFQ_QuantifiedBaseSequences.tsv '$quantifiedBaseSequences'
|
|
26 && cp *_FlashLFQ_QuantifiedModifiedSequences.tsv '$quantifiedModifiedSequences'
|
|
27 && cp *_FlashLFQ_QuantifiedPeaks.tsv '$quantifiedPeaks'
|
|
28 && cp *_FlashLFQ_QuantifiedProteins.tsv '$quantifiedProteins'
|
0
|
29 ]]></command>
|
|
30 <inputs>
|
|
31 <param name="idt" type="data" format="tabular" label="identification file"/>
|
2
|
32 <param name="peak_lists" type="data" format="mzml" multiple="true" label="spectrum files"/>
|
0
|
33 <param name="ppm" type="float" value="10" min="1" max="20" label="monoisotopic ppm tolerance"/>
|
|
34 <param name="iso" type="float" value="5" min="1" max="10" label="isotopic distribution tolerance in ppm"/>
|
|
35 <param name="nis" type="integer" value="2" min="1" max="30" label="number of isotopes required to be observed"/>
|
|
36 <param name="intensity" type="select" label="intensity">
|
|
37 <option value="apex" selected="true">use the apex intensity</option>
|
|
38 <option value="integrate">integrate chromatographic peak intensity</option>
|
|
39 </param>
|
|
40 <param name="charge" type="select" label="charge">
|
|
41 <option value="all" selected="true">use all identification detected charge states</option>
|
|
42 <option value="precursor">use precursor charge</option>
|
|
43 </param>
|
2
|
44 <param name="rmm" type="boolean" truevalue="--rmm true" falsevalue="--rmm false" checked="true"
|
|
45 label="require observed monoisotopic mass peak"/>
|
|
46 <param name="mbr" type="boolean" truevalue="--mbr true" falsevalue="--mbr false" checked="false"
|
|
47 label="match between runs"/>
|
0
|
48 </inputs>
|
|
49 <outputs>
|
2
|
50 <data name="log" format="txt" label="${tool.name} on ${on_string}: Log" />
|
0
|
51 <data name="quantifiedBaseSequences" format="tabular" label="${tool.name} on ${on_string}: QuantifiedBaseSequences.tsv" />
|
|
52 <data name="quantifiedModifiedSequences" format="tabular" label="${tool.name} on ${on_string}: QuantifiedModifiedSequences.tsv" />
|
|
53 <data name="quantifiedPeaks" format="tabular" label="${tool.name} on ${on_string}: QuantifiedPeaks.tsv" />
|
|
54 <data name="quantifiedProteins" format="tabular" label="${tool.name} on ${on_string}: QuantifiedProteins.tsv" />
|
|
55 </outputs>
|
|
56 <tests>
|
|
57 <test>
|
|
58 <param name="idt" value="aggregatePSMs_5ppmAroundZero.psmtsv" ftype="tabular"/>
|
|
59 <param name="scans" value="sliced-mzml.mzML" ftype="mzml"/>
|
|
60 <param name="ppm" value="12"/>
|
|
61 <param name="iso" value="6"/>
|
|
62 <output name="log">
|
|
63 <assert_contents>
|
2
|
64 <has_text text="ppmTolerance = 12" />
|
0
|
65 <has_text text="isotopePpmTolerance = 6" />
|
|
66 </assert_contents>
|
|
67 </output>
|
|
68 </test>
|
|
69 </tests>
|
|
70 <help><![CDATA[
|
|
71
|
2
|
72 **FlashLFQ**
|
0
|
73
|
|
74 **Accepted command-line arguments:**
|
|
75
|
2
|
76 ::
|
|
77
|
0
|
78 --idt [string | identification file path (TSV format)]
|
|
79 --raw [string | MS data file (.raw or .mzML)]
|
|
80 --rep [string | repository containing MS data files]
|
|
81 --ppm [double | monoisotopic ppm tolerance] (default = 10)
|
|
82 --iso [double | isotopic distribution tolerance in ppm] (default = 5)
|
|
83 --sil [boolean | silent mode; no console output] (default = false)
|
|
84 --pau [boolean | pause at end of run] (default = true)
|
|
85 --int [boolean | integrate chromatographic peak intensity instead of using
|
|
86 the apex intensity] (default = false)
|
|
87 --chg [boolean | use only precursor charge state; when set to false, FlashLFQ looks
|
|
88 for all charge states detected in the MS/MS identification file for each peptide] (default = false)
|
|
89 --mbr [bool|match between runs]
|
|
90 --rmm [bool|require observed monoisotopic mass peak]
|
|
91 --nis [int|number of isotopes required to be observed]
|
|
92
|
|
93
|
|
94 ]]></help>
|
|
95 <citations>
|
|
96 <citation type="doi">10.1021/acs.jproteome.7b00608</citation>
|
|
97 </citations>
|
|
98 </tool>
|