Mercurial > repos > guerler > springsuite
annotate spring_minz.xml @ 25:5d1ae615e4ec draft
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
author | guerler |
---|---|
date | Sat, 31 Oct 2020 22:01:29 +0000 |
parents | 802daf2993b0 |
children | 124f82fbd986 |
rev | line source |
---|---|
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
1 <tool id="spring_minz" name="SPRING min-Z" version="0.1.2" python_template_version="3.5"> |
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 <code file="spring_minz.py"/> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
4 <command detect_errors="exit_code"><![CDATA[ |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
5 mkdir -p targets && |
11
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
6 #for target in $targets |
17
c790d25086dc
"planemo upload commit b0ede77caf410ab69043d33a44e190054024d340-dirty"
guerler
parents:
15
diff
changeset
|
7 link '${str(target)}' 'targets/${target.element_identifier}' && |
c790d25086dc
"planemo upload commit b0ede77caf410ab69043d33a44e190054024d340-dirty"
guerler
parents:
15
diff
changeset
|
8 echo '${target.element_identifier}' >> 'target_list' && |
11
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
9 #end for |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
10 #if str($input_type.input_type_selector) == "true": |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
11 mkdir -p inputs && |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
12 #for input in $input_type.inputs |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
13 link '${str(input)}' 'inputs/${input.element_identifier}' && |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
14 echo '${input.element_identifier}' >> 'input_list' && |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
15 #end for |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
16 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
|
17 #else |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
18 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
|
19 #end if |
0
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
20 ]]></command> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
21 <inputs> |
24
802daf2993b0
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3-dirty"
guerler
parents:
23
diff
changeset
|
22 <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
|
23 <conditional name="input_type"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
24 <param name="input_type_selector" type="boolean" label="Identify interactions across sets?" checked="true"/> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
25 <when value="true"> |
24
802daf2993b0
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3-dirty"
guerler
parents:
23
diff
changeset
|
26 <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
|
27 </when> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
28 </conditional> |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
29 <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
|
30 <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
|
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"> |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
40 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> |
11
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
41 </collection> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
42 </param> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
43 <conditional name="input_type"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
44 <param name="input_type_selector" type="boolean" checked="true"/> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
45 <param name="inputs"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
46 <collection type="list"> |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
47 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
48 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" /> |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
49 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" /> |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
50 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" /> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
51 </collection> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
52 </param> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
53 </conditional> |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
54 <param name="crossreference" value="minz/pdb70_random.txt"/> |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
55 <output name="output" file="minz/pdb70_result.txt"/> |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
56 <output name="log" file="minz/pdb70_log.txt"/> |
0
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
57 </test> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
58 </tests> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
59 <help><![CDATA[ |
25
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
60 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
|
61 Putative interactions are identified by evaluating the min-Z score. |
5d1ae615e4ec
"planemo upload commit ff7d7e512b79436c3538078552983762330a920d-dirty"
guerler
parents:
24
diff
changeset
|
62 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
|
63 ]]></help> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
64 <citations> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
65 <citation type="bibtex"> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
66 @misc{githubhh-suite, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
67 author = {Guerler, Govindarajoo, Zhang}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
68 year = {2013}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
69 title = {Mapping Monomeric Threading to Protein-Protein Structure Prediction}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
70 publisher = {ACS Publications}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
71 journal = {Journal of Chemical Information and Modeling}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
72 url = {https://pubs.acs.org/doi/10.1021/ci300579r}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
73 } |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
74 </citation> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
75 </citations> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
76 </tool> |