Mercurial > repos > guerler > springsuite
annotate spring_minz.xml @ 38:80a4b98121b6 draft
"planemo upload commit 22cd6b0fa88ce0ddc4052beab306f5ba10754f12"
author | guerler |
---|---|
date | Wed, 25 Nov 2020 17:38:24 +0000 |
parents | 0be0af9e695d |
children | 172398348efd |
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 |
27
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
15 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -il input_list -ip inputs -m '$minscore' -idx '$idx' -c '$crossreference' -o '$output' -l '$log' |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
16 #else |
27
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
17 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -m '$minscore' -idx '$idx' -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."/> |
29
41353488926c
"planemo upload commit 1c0a60f98e36bccb6d6c85ff82a8d737a811b4d5"
guerler
parents:
27
diff
changeset
|
30 <param name="idx" type="integer" label="Identifier length" value="6" min="1" max="20" help="Specify the length of the identifier e.g. `1ACB_A` has length 6."/> |
0
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
31 </inputs> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
32 <outputs> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
33 <data format="tabular" name="output" label="SPRING min-Z Table"/> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
34 <data format="txt" name="log" label="SPRING min-Z Log" /> |
0
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
35 </outputs> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
36 <tests> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
37 <test> |
11
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
38 <param name="targets"> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
39 <collection type="list"> |
27
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
40 <element name="7BQY_A.hhr" value="minz/7BQY_A.hhr" /> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
41 <element name="6WLC_A.hhr" value="minz/6WLC_A.hhr" /> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
42 <element name="6WJI_A.hhr" value="minz/6WJI_A.hhr" /> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
43 <element name="6WEY_A.hhr" value="minz/6WEY_A.hhr" /> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
44 <element name="6W37_A.hhr" value="minz/6W37_A.hhr" /> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
45 <element name="6W9C_A.hhr" value="minz/6W9C_A.hhr" /> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
46 <element name="6W4H_B.hhr" value="minz/6W4H_B.hhr" /> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
47 <element name="6W4H_A.hhr" value="minz/6W4H_A.hhr" /> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
48 <element name="6W9Q_A.hhr" value="minz/6W9Q_A.hhr" /> |
26
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
49 </collection> |
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
50 </param> |
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
51 <conditional name="input_type"> |
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
52 <param name="input_type_selector" type="boolean" checked="false"/> |
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
53 </conditional> |
27
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
54 <param name="crossreference" value="minz/dbCAN_random.txt"/> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
55 <param name="idx" type="integer" value="10"/> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
56 <output name="output" file="minz/dbCAN_result.txt"/> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
57 <output name="log" file="minz/dbCAN_log.txt"/> |
26
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
58 </test> |
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
59 <test> |
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
60 <param name="targets"> |
124f82fbd986
"planemo upload commit 7fe105e5874a3979f2c5ba7570f4f1ad0ec2559b-dirty"
guerler
parents:
25
diff
changeset
|
61 <collection type="list"> |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
62 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> |
11
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
63 </collection> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
64 </param> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
65 <conditional name="input_type"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
66 <param name="input_type_selector" type="boolean" checked="true"/> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
67 <param name="inputs"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
68 <collection type="list"> |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
69 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
70 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" /> |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
71 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" /> |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
72 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" /> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
73 </collection> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
74 </param> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
75 </conditional> |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
76 <param name="crossreference" value="minz/pdb70_random.txt"/> |
27
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
77 <output name="output" file="minz/pdb70_result.txt"/> |
e34da554d415
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
guerler
parents:
26
diff
changeset
|
78 <output name="log" file="minz/pdb70_log.txt"/> |
0
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
79 </test> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
80 </tests> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
81 <help><![CDATA[ |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
82 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
|
83 Putative interactions are identified by evaluating the min-Z score. |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
84 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
|
85 ]]></help> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
86 <citations> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
87 <citation type="bibtex"> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
88 @misc{githubhh-suite, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
89 author = {Guerler, Govindarajoo, Zhang}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
90 year = {2013}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
91 title = {Mapping Monomeric Threading to Protein-Protein Structure Prediction}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
92 publisher = {ACS Publications}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
93 journal = {Journal of Chemical Information and Modeling}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
94 url = {https://pubs.acs.org/doi/10.1021/ci300579r}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
95 } |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
96 </citation> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
97 </citations> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
98 </tool> |