annotate spring_minz.xml @ 2:e311ac3ce995 draft

"planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
author guerler
date Tue, 30 Mar 2021 01:47:21 +0000
parents b2d4238b09d1
children 576c88c2ed11
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
1 <tool id="spring_minz" name="SPRING Min-Z" license="MIT" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
2 <description>filter operation</description>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
3 <macros>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
4 <import>macros.xml</import>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
5 </macros>
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
6 <expand macro="requirements" />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
8 mkdir -p targets &&
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
9 #for target in $targets
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
10 ln -s '${target}' 'targets/${target.element_identifier}' &&
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
11 echo '${target.element_identifier}' >> 'target_list' &&
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
12 #end for
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
13 #if $input_type.input_type_selector == "yes":
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
14 mkdir -p ./inputs &&
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
15 #for input in $input_type.inputs
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
16 ln -s '${input}' 'inputs/${input.element_identifier}' &&
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
17 echo '${input.element_identifier}' >> 'input_list' &&
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
18 #end for
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
19 spring_minz.py
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
20 -tl target_list
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
21 -tp targets
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
22 -il input_list
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
23 -ip inputs
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
24 -m '$minscore'
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
25 -c '$crossreference'
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
26 -o '$output'
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
27 -l '$log'
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
28 #else
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
29 spring_minz.py
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
30 -tl target_list
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
31 -tp targets
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
32 -m '$minscore'
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
33 -c '$crossreference'
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
34 -o '$output'
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
35 -l '$log'
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
36 #end if
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
37 ]]> </command>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
38 <inputs>
2
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
39 <param name="targets" type="data_collection" format="hhr" multiple="true" label="Target profiles" help="Homology search result of target/query profiles in 'hhr' format." />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
40 <conditional name="input_type">
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
41 <param name="input_type_selector" type="select" label="Identify interactions across sets?">
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
42 <option value="yes" selected="True">yes</option>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
43 <option value="no">no</option>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
44 </param>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
45 <when value="yes">
2
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
46 <param name="inputs" format="hhr" type="data_collection" multiple="true" label="Input profiles" help="Homology search results of input profiles in 'hhr' format." />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
47 </when>
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
48 <when value="no" />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
49 </conditional>
2
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
50 <param name="crossreference" format="tabular" type="data" label="Cross reference" help="Cross reference of interacting proteins `first_id metadata_id second_id`."/>
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
51 <param name="minscore" type="integer" value="10" min="1" max="200" label="Score threshold" help="Matching interaction pairs with a score lower than this threshold will be excluded."/>
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
52 <expand macro="logfile" />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
53 </inputs>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
54 <outputs>
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
55 <data format="tabular" name="output" label="SPRING min-Z Table" />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
56 <data format="txt" name="log" label="SPRING min-Z Log">
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
57 <filter>logfile</filter>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
58 </data>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
59 </outputs>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
60 <tests>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
61 <test expect_num_outputs="1">
2
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
62 <param name="targets">
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
63 <collection type="list">
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
64 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
65 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
66 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
67 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
68 </collection>
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
69 </param>
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
70 <conditional name="input_type">
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
71 <param name="input_type_selector" value="no" />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
72 </conditional>
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
73 <param name="crossreference" value="minz/pdb70_random.txt" />
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
74 <output name="output" file="minz/pdb70_result.0.txt" />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
75 </test>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
76 <test expect_num_outputs="1">
2
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
77 <param name="targets">
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
78 <collection type="list">
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
79 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
80 </collection>
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
81 </param>
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
82 <conditional name="input_type">
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
83 <param name="input_type_selector" value="yes" />
2
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
84 <param name="inputs">
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
85 <collection type="list">
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
86 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
87 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
88 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
89 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" ftype="hhr" />
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
90 </collection>
e311ac3ce995 "planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
guerler
parents: 1
diff changeset
91 </param>
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
92 </conditional>
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
93 <param name="crossreference" value="minz/pdb70_random.txt" />
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
94 <output name="output" file="minz/pdb70_result.1.txt" />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
95 </test>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
96 </tests>
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
97 <help><![CDATA[
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
98
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
99 **What it does**
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
100
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
101 This tool filters HH-search/HH-blits homology results through the protein interaction cross reference generated by SPRING.
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
102 Putative interactions are identified by evaluating the min-Z score.
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
103 The min-Z is the smaller of the two Z-scores for a pair of sequences matching an existing protein-protein complex structure.
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
104
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
105 ]]> </help>
1
b2d4238b09d1 "planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents: 0
diff changeset
106 <expand macro="citations" />
0
0fdd5f2a7a53 "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
107 </tool>