Mercurial > repos > guerler > springsuite
annotate spring_minz.xml @ 24:802daf2993b0 draft
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3-dirty"
author | guerler |
---|---|
date | Thu, 29 Oct 2020 13:09:57 +0000 |
parents | 5469e19f1f96 |
children | 5d1ae615e4ec |
rev | line source |
---|---|
13
f8ba4dd48cbd
"planemo upload commit 6aa4b0a91f36999fab860591a4e33cdd6dcb70cf"
guerler
parents:
12
diff
changeset
|
1 <tool id="spring_minz" name="SPRING min-Z" version="0.1.1" 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 |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
16 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -il input_list -ip inputs -m '$minscore' -c '$crossreference' -x '$idx' -o '$output' -l '$log' |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
17 #else |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
18 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -m '$minscore' -c '$crossreference' -x '$idx' -o '$output' -l '$log' |
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> |
24
802daf2993b0
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3-dirty"
guerler
parents:
23
diff
changeset
|
29 <param format="txt" 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."/> |
10
860bd6f8f480
"planemo upload commit 4b670114bbbbbe3c5207cee572a20dc48f27494a"
guerler
parents:
9
diff
changeset
|
31 <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
|
32 </inputs> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
33 <outputs> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
34 <data format="tabular" name="output" label="SPRING min-Z Table"/> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
35 <data format="txt" name="log" label="SPRING min-Z Log" /> |
0
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
36 </outputs> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
37 <tests> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
38 <test> |
11
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
39 <param name="targets"> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
40 <collection type="list"> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
41 <element name="7BQY_A.hhr" value="7BQY_A.hhr" /> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
42 <element name="6WLC_A.hhr" value="6WLC_A.hhr" /> |
12
0ea00dce62ab
"planemo upload commit 373d73ef3a09902e75f10084e30b271d84a6d7b1"
guerler
parents:
11
diff
changeset
|
43 <element name="6WJI_A.hhr" value="6WJI_A.hhr" /> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
44 <element name="6WEY_A.hhr" value="6WEY_A.hhr" /> |
22
acaff61a09b2
"planemo upload commit 83cb18661a4c7839dbec8d42b6018ddc80defd8f-dirty"
guerler
parents:
17
diff
changeset
|
45 <element name="6W37_A.hhr" value="6W37_A.hhr" /> |
acaff61a09b2
"planemo upload commit 83cb18661a4c7839dbec8d42b6018ddc80defd8f-dirty"
guerler
parents:
17
diff
changeset
|
46 <element name="6W9C_A.hhr" value="6W9C_A.hhr" /> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
47 <element name="6W4H_B.hhr" value="6W4H_B.hhr" /> |
22
acaff61a09b2
"planemo upload commit 83cb18661a4c7839dbec8d42b6018ddc80defd8f-dirty"
guerler
parents:
17
diff
changeset
|
48 <element name="6W4H_A.hhr" value="6W4H_A.hhr" /> |
acaff61a09b2
"planemo upload commit 83cb18661a4c7839dbec8d42b6018ddc80defd8f-dirty"
guerler
parents:
17
diff
changeset
|
49 <element name="6W9Q_A.hhr" value="6W9Q_A.hhr" /> |
11
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
50 </collection> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
51 </param> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
52 <conditional name="input_type"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
53 <param name="input_type_selector" type="boolean" checked="false"/> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
54 </conditional> |
10
860bd6f8f480
"planemo upload commit 4b670114bbbbbe3c5207cee572a20dc48f27494a"
guerler
parents:
9
diff
changeset
|
55 <param name="idx" value="10"/> |
860bd6f8f480
"planemo upload commit 4b670114bbbbbe3c5207cee572a20dc48f27494a"
guerler
parents:
9
diff
changeset
|
56 <param name="crossreference" value="dbCAN_random.txt"/> |
860bd6f8f480
"planemo upload commit 4b670114bbbbbe3c5207cee572a20dc48f27494a"
guerler
parents:
9
diff
changeset
|
57 <output name="output" file="dbCAN_result.txt"/> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
58 <output name="log" file="dbCAN_log.txt"/> |
10
860bd6f8f480
"planemo upload commit 4b670114bbbbbe3c5207cee572a20dc48f27494a"
guerler
parents:
9
diff
changeset
|
59 </test> |
860bd6f8f480
"planemo upload commit 4b670114bbbbbe3c5207cee572a20dc48f27494a"
guerler
parents:
9
diff
changeset
|
60 <test> |
11
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
61 <param name="targets"> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
62 <collection type="list"> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
63 <element name="NP_000282.1.hhr" value="NP_000282.1.hhr" /> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
64 </collection> |
21a7dd67b483
"planemo upload commit f208fb81425711754738fc8e612ee2d5cc26377f"
guerler
parents:
10
diff
changeset
|
65 </param> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
66 <conditional name="input_type"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
67 <param name="input_type_selector" type="boolean" checked="true"/> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
68 <param name="inputs"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
69 <collection type="list"> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
70 <element name="NP_000282.1.hhr" value="NP_000282.1.hhr" /> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
71 <element name="NP_000290.2.hhr" value="NP_000290.2.hhr" /> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
72 <element name="NP_000548.2.hhr" value="NP_000548.2.hhr" /> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
73 <element name="NP_000836.2.hhr" value="NP_000836.2.hhr" /> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
74 </collection> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
75 </param> |
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
76 </conditional> |
10
860bd6f8f480
"planemo upload commit 4b670114bbbbbe3c5207cee572a20dc48f27494a"
guerler
parents:
9
diff
changeset
|
77 <param name="crossreference" value="pdb70_random.txt"/> |
860bd6f8f480
"planemo upload commit 4b670114bbbbbe3c5207cee572a20dc48f27494a"
guerler
parents:
9
diff
changeset
|
78 <output name="output" file="pdb70_result.txt"/> |
23
5469e19f1f96
"planemo upload commit 37a4c6844fd7ab1071ddf90f51915ec1a13c26b3"
guerler
parents:
22
diff
changeset
|
79 <output name="log" file="pdb70_log.txt"/> |
0
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
80 </test> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
81 </tests> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
82 <help><![CDATA[ |
17
c790d25086dc
"planemo upload commit b0ede77caf410ab69043d33a44e190054024d340-dirty"
guerler
parents:
15
diff
changeset
|
83 This tool creates 3D models from HH-search/HH-blits homology results utilized by SPRING. |
0
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
84 ]]></help> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
85 <citations> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
86 <citation type="bibtex"> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
87 @misc{githubhh-suite, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
88 author = {Guerler, Govindarajoo, Zhang}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
89 year = {2013}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
90 title = {Mapping Monomeric Threading to Protein-Protein Structure Prediction}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
91 publisher = {ACS Publications}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
92 journal = {Journal of Chemical Information and Modeling}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
93 url = {https://pubs.acs.org/doi/10.1021/ci300579r}, |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
94 } |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
95 </citation> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
96 </citations> |
d30785e31577
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
guerler
parents:
diff
changeset
|
97 </tool> |