annotate psm_validation.xml @ 1:b71c651e7950 draft default tip

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit e499c9124d3fd85a7fc47b95c206ce91a5e3678c"
author galaxyp
date Thu, 29 Oct 2020 16:22:07 +0000
parents ddcab0f11473
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
b71c651e7950 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit e499c9124d3fd85a7fc47b95c206ce91a5e3678c"
galaxyp
parents: 0
diff changeset
1 <tool id="psmvalidator" name="PSM-Fragment Validator" version="@VERSION@+galaxy@VERSION_SUFFIX@">
0
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
2 <macros>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
3 <import>macros.xml</import>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
4 </macros>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
5 <description>Validate PSMs against Ion Fragmentation</description>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
6 <expand macro="pkg_requirement" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
7 <command detect_errors="exit_code">
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
8 <![CDATA[
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
9 python '$__tool_directory__/application.py'
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
10 -d '$mz_db_name'
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
11 -p '$peptide_sequences'
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
12 #if $neutral_loss_ions:
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
13 -n
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
14 #end if
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
15 #if $internal_ions:
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
16 -i
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
17 #end if
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
18 -b $b_ion_run
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
19 -y $y_ion_run
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
20 -e $epsilon
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
21 #if $b_ion_run < 0:
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
22 --test
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
23 #end if
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
24 ]]>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
25 </command>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
26 <inputs>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
27 <param name="mz_db_name" type="data" format="mz.sqlite" label="MZSQLite DB" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
28 <param name="peptide_sequences" type="data" format="tabular" label="Peptide Sequence List" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
29 <param name="b_ion_run" type="integer" value="2" label="Consecutive B-Ions" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
30 <param name="y_ion_run" type="integer" value="2" label="Consecutive Y-Ions" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
31 <param name="neutral_loss_ions" type="boolean" checked="True" label="Use Neutral Loss" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
32 <param name="internal_ions" type="boolean" checked="True" label="Use Internals" />
1
b71c651e7950 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit e499c9124d3fd85a7fc47b95c206ce91a5e3678c"
galaxyp
parents: 0
diff changeset
33 <param name="epsilon" type="float" value="0.5" label="Fragment Tolerance" />
0
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
34 </inputs>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
35 <outputs>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
36 <data name="html_output" format="html" from_work_dir="index.html" label="PSM Ion Fragementation Report" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
37 <data name="text_output" format="tabular" from_work_dir="results.tab" label="Tabular Results" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
38 </outputs>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
39 <tests>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
40 <test>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
41 <param name="mz_db_name" value="test.db" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
42 <param name="peptide_sequences" value="test-peptides.txt" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
43 <param name="b_ion_run" value="-99" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
44 <param name="y_ion_run" value="-99" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
45 <param name="neutral_loss_ions" value="True" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
46 <param name="internal_ions" value="True" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
47 <param name="epsilon" value="0.5" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
48 <output name="html_output">
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
49 <assert_contents>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
50 <has_text text="success" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
51 </assert_contents>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
52 </output>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
53 </test>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
54 </tests>
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
55 <expand macro="help-text" />
ddcab0f11473 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/psm_validation commit 896365c9d6b9fcdcbb9c36e0c81db78c8a4e8dab"
galaxyp
parents:
diff changeset
56 </tool>