Mercurial > repos > guerler > spring_minz
annotate spring_minz.xml @ 0:0fdd5f2a7a53 draft
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
author | guerler |
---|---|
date | Tue, 23 Mar 2021 13:56:20 +0000 |
parents | |
children | b2d4238b09d1 |
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> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
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> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
39 <param name="targets" format="hhr" multiple="true" label="Target profiles" help="Homology search result of target/query profiles in 'hhr' format."/> |
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"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
46 <param name="inputs" format="hhr" multiple="true" label="Input profiles" help="Homology search results of input profiles in 'hhr' format."/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
47 </when> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
48 <when value="no"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
49 </conditional> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
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`."/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
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."/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
52 <expand macro="logfile"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
53 </inputs> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
54 <outputs> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
55 <data format="tabular" name="output" label="SPRING min-Z Table"/> |
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"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
62 <param name="targets"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
63 <collection type="list"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
64 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
65 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
66 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
67 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
68 </collection> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
69 </param> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
70 <conditional name="input_type"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
71 <param name="input_type_selector" value="false"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
72 </conditional> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
73 <param name="crossreference" value="minz/pdb70_random.txt"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
74 <output name="output" file="minz/pdb70_result.0.txt"/> |
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"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
77 <param name="targets"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
78 <collection type="list"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
79 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
80 </collection> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
81 </param> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
82 <conditional name="input_type"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
83 <param name="input_type_selector" value="true"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
84 <param name="inputs"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
85 <collection type="list"> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
86 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
87 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
88 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
89 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" ftype="hhr"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
90 </collection> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
91 </param> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
92 </conditional> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
93 <param name="crossreference" value="minz/pdb70_random.txt"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
94 <output name="output" file="minz/pdb70_result.1.txt"/> |
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> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
106 <expand macro="citations"/> |
0fdd5f2a7a53
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
107 </tool> |