annotate spring_minz.xml @ 41:f316caf098a6 draft default tip

"planemo upload commit 685e1236afde7cf6bb0c9236de06998d2c211dd3"
author guerler
date Mon, 01 Mar 2021 15:02:36 +0000
parents 172398348efd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
37
0be0af9e695d "planemo upload commit c716195a2cc1ed30ff8c4936621091296a93b2fc"
guerler
parents: 30
diff changeset
1 <tool id="spring_minz" name="SPRING Min-Z" version="0.1.2" python_template_version="3.5" license="MIT">
5
e44b8a76d754 "planemo upload commit 0f78008658d469b8c412a393050ac4ed9230b9ee-dirty"
guerler
parents: 4
diff changeset
2 <description>filter operation</description>
0
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
3 <command detect_errors="exit_code"><![CDATA[
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
4 mkdir -p targets &&
11
21a7dd67b483 "planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents: 10
diff changeset
5 #for target in $targets
17
c790d25086dc "planemo upload commit b0ede77caf410ab69043d33a44e190054024d340-dirty"
guerler
parents: 15
diff changeset
6 link '${str(target)}' 'targets/${target.element_identifier}' &&
c790d25086dc "planemo upload commit b0ede77caf410ab69043d33a44e190054024d340-dirty"
guerler
parents: 15
diff changeset
7 echo '${target.element_identifier}' >> 'target_list' &&
11
21a7dd67b483 "planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents: 10
diff changeset
8 #end for
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
9 #if str($input_type.input_type_selector) == "true":
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
10 mkdir -p inputs &&
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
11 #for input in $input_type.inputs
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
12 link '${str(input)}' 'inputs/${input.element_identifier}' &&
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
13 echo '${input.element_identifier}' >> 'input_list' &&
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
14 #end for
39
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
15 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -il input_list -ip inputs -m '$minscore' -c '$crossreference' -o '$output' -l '$log'
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
16 #else
39
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
17 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -m '$minscore' -c '$crossreference' -o '$output' -l '$log'
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
18 #end if
0
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
19 ]]></command>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
20 <inputs>
24
802daf2993b0 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3-dirty"
guerler
parents: 23
diff changeset
21 <param format="txt" name="targets" type="data_collection" collection_type="list" label="Target profiles" help="Homology search result of target/query profiles `hhr`."/>
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
22 <conditional name="input_type">
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
23 <param name="input_type_selector" type="boolean" label="Identify interactions across sets?" checked="true"/>
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
24 <when value="true">
24
802daf2993b0 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3-dirty"
guerler
parents: 23
diff changeset
25 <param format="txt" name="inputs" type="data_collection" collection_type="list" label="Input profiles" help="Homology search results of input profiles `hhr`."/>
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
26 </when>
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
27 </conditional>
25
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
28 <param format="tabular" name="crossreference" type="data" label="Cross reference" help="Cross reference of interacting proteins `first_id metadata_id second_id`."/>
14
b53a98b90354 "planemo upload commit c335621f41bfb23eb31f71f5e2b2191727eccf9a"
guerler
parents: 13
diff changeset
29 <param name="minscore" type="integer" label="Score threshold" value="10" min="1" max="200" help="Matching interaction pairs with a score lower than this threshold will be excluded."/>
0
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
30 </inputs>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
31 <outputs>
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
32 <data format="tabular" name="output" label="SPRING min-Z Table"/>
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
33 <data format="txt" name="log" label="SPRING min-Z Log" />
0
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
34 </outputs>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
35 <tests>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
36 <test>
11
21a7dd67b483 "planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents: 10
diff changeset
37 <param name="targets">
21a7dd67b483 "planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents: 10
diff changeset
38 <collection type="list">
39
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
39 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" />
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
40 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" />
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
41 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" />
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
42 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" />
26
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
43 </collection>
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
44 </param>
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
45 <conditional name="input_type">
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
46 <param name="input_type_selector" type="boolean" checked="false"/>
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
47 </conditional>
39
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
48 <param name="crossreference" value="minz/pdb70_random.txt"/>
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
49 <output name="output" file="minz/pdb70_result.0.txt"/>
26
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
50 </test>
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
51 <test>
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
52 <param name="targets">
124f82fbd986 "planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents: 25
diff changeset
53 <collection type="list">
25
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
54 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" />
11
21a7dd67b483 "planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents: 10
diff changeset
55 </collection>
21a7dd67b483 "planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents: 10
diff changeset
56 </param>
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
57 <conditional name="input_type">
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
58 <param name="input_type_selector" type="boolean" checked="true"/>
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
59 <param name="inputs">
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
60 <collection type="list">
25
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
61 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" />
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
62 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" />
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
63 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" />
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
64 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" />
23
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
65 </collection>
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
66 </param>
5469e19f1f96 "planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents: 22
diff changeset
67 </conditional>
25
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
68 <param name="crossreference" value="minz/pdb70_random.txt"/>
39
172398348efd "planemo upload commit 26b4018c88041ee0ca7c2976e0a012015173d7b6-dirty"
guerler
parents: 37
diff changeset
69 <output name="output" file="minz/pdb70_result.1.txt"/>
0
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
70 </test>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
71 </tests>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
72 <help><![CDATA[
25
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
73 This tool filters HH-search/HH-blits homology results through the protein interaction cross reference generated by SPRING.
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
74 Putative interactions are identified by evaluating the min-Z score.
5d1ae615e4ec "planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents: 24
diff changeset
75 The min-Z is the smaller of the two Z-scores for a pair of sequences matching an existing protein-protein complex structure.
0
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
76 ]]></help>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
77 <citations>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
78 <citation type="bibtex">
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
79 @misc{githubhh-suite,
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
80 author = {Guerler, Govindarajoo, Zhang},
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
81 year = {2013},
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
82 title = {Mapping Monomeric Threading to Protein-Protein Structure Prediction},
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
83 publisher = {ACS Publications},
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
84 journal = {Journal of Chemical Information and Modeling},
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
85 url = {https://pubs.acs.org/doi/10.1021/ci300579r},
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
86 }
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
87 </citation>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
88 </citations>
d30785e31577 "planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff changeset
89 </tool>