annotate napq.xml @ 10:72d4a37869ee

updated msfilt/napq interfaces
author pieter.lukasse@wur.nl
date Thu, 06 Mar 2014 17:29:19 +0100
parents d1edc7971d48
children d56c18ed0f77
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
1 <tool name="NapQ" id="napq" version="0.0.1">
5
5d99c9d0615d performance improvements for MsFilt
pieter.lukasse@wur.nl
parents: 4
diff changeset
2 <description>'no alignment' (alignment-free) peptide quantification</description>
0
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
3 <!--
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
4 For remote debugging start you listener on port 8000 and use the following as command interpreter:
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
5 java -jar -Xdebug -Xrunjdwp:transport=dt_socket,address=D0100564.wurnet.nl:8000
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
6 //////////////////////////
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
7 -->
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
8 <command interpreter="java -jar ">
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
9 NapQ.jar
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
10 -identificationsConfigFile $identificationsConfigFile
6
d1edc7971d48 fixes in tool forms (<when> tags)
pieter.lukasse@wur.nl
parents: 5
diff changeset
11 -namingConventionCodesForSamples "$namingConventionCodesForSamples"
0
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
12 #if $is2D_LC_MS.fractions == True
6
d1edc7971d48 fixes in tool forms (<when> tags)
pieter.lukasse@wur.nl
parents: 5
diff changeset
13 -namingConventionCodesForFractions "$is2D_LC_MS.namingConventionCodesForFractions"
0
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
14 #end if
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
15 -outputApml $outputApml
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
16 -outputTsv $outputTsv
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
17 -outReport $htmlReportFile
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
18 -outReportPicturesPath $htmlReportFile.files_path
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
19 </command>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
20
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
21 <inputs>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
22
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
23 <repeat name="identificationFileList" title="Peptide identification files" help="Full set of MS/MS peptide identification files, including peptides that could not be quantified.">
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
24 <param name="identificationsFile" type="data" format="apml,mzidentml,prims.fileset.zip" label="Identifications file (APML or MZIDENTML or MZIDENTML fileSet)" />
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
25 </repeat>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
26
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
27 <param name="namingConventionCodesForSamples" type="text" size="100" value=""
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
28 label="Part of run/file name that identifies the sample"
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
29 help="Add the CSV list of codes that occur in the file names
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
30 and that stand for a sample code. E.g. '_S1,_S2,_S3,etc.' "/> <!-- could do regular expressions as well but this would be hard for biologists, e.g. _F\d\b -->
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
31
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
32
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
33 <conditional name="is2D_LC_MS">
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
34 <param name="fractions" type="boolean" truevalue="Yes" falsevalue="No" checked="false"
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
35 label="Data is from 2D LC-MS"
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
36 help="Data acquisition was done in multiple fractions."/>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
37 <when value="Yes">
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
38 <param name="namingConventionCodesForFractions" type="text" size="100" value=""
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
39 label="Part of run/file name that identifies the 2D LC-MS fraction"
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
40 help="Add the CSV list of codes that occur in the file names
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
41 and that stand for a fraction code. E.g. '_F1,_F2,_F3,etc.' Use this to avoid
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
42 that each (fraction) file is seen as a separate run."/> <!-- could do regular expressions as well but this would be hard for biologists, e.g. _F\d\b -->
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
43 </when>
6
d1edc7971d48 fixes in tool forms (<when> tags)
pieter.lukasse@wur.nl
parents: 5
diff changeset
44 <when value="No">
d1edc7971d48 fixes in tool forms (<when> tags)
pieter.lukasse@wur.nl
parents: 5
diff changeset
45 </when>
0
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
46 </conditional>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
47
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
48 </inputs>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
49 <configfiles>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
50 <configfile name="identificationsConfigFile">## start comment
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
51 ## iterate over the selected files and store their names in the config file
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
52 #for $i, $s in enumerate( $identificationFileList )
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
53 ${s.identificationsFile}|${s.spectraFile}
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
54 ## also print out the datatype in the next line, based on previously configured datatype
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
55 #if isinstance( $s.identificationsFile.datatype, $__app__.datatypes_registry.get_datatype_by_extension('apml').__class__):
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
56 apml
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
57 #else:
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
58 mzid
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
59 #end if
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
60 #end for
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
61 ## end comment</configfile>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
62 </configfiles>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
63 <outputs>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
64 <data name="outputApml" format="apml" label="${tool.name} on ${on_string}: peptide quantifications (APML)"/>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
65 <data name="outputTsv" format="tabular" label="${tool.name} on ${on_string}: peptide quantifications (TSV)"/>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
66 <!-- in tsv we can have cols like: pep, avg_m/z, avg rt, m/z window, rt window, i_s1, i_s2, ...-->
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
67 <data name="htmlReportFile" format="html" label="${tool.name} on ${on_string} - HTML report"/>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
68 <!-- here we show the samples extracted and the files used to 'build up' each sample -->
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
69 </outputs>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
70 <tests>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
71 </tests>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
72 <help>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
73
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
74 .. class:: infomark
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
75
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
76 This tool takes in multiple peptide identification result files that have peptide identifications
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
77 coupled to some quantification (e.g. precursor intensity information or for example data coming
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
78 from MS^E acquisition where peptide identification and quantification are done in the same run and reported together).
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
79 Then, based on the given experiment design parameters (i.e. how the result files related back to
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
80 replicate runs and samples), it produces a new file in which the peptides are reported with
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
81 their calculated quantifications at the sample level.
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
82
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
83 The figure below explains this:
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
84
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
85 .. image:: $PATH_TO_IMAGES/napq_overview.png
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
86
4
73c7c6589202 small fixes
pieter.lukasse@wur.nl
parents: 0
diff changeset
87 .
0
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
88
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
89
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
90
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
91
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
92 </help>
d50f079096ee Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
93 </tool>