Mercurial > repos > guerler > springsuite
comparison 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 |
comparison
equal
deleted
inserted
replaced
24:802daf2993b0 | 25:5d1ae615e4ec |
---|---|
1 <tool id="spring_minz" name="SPRING min-Z" version="0.1.1" python_template_version="3.5"> | 1 <tool id="spring_minz" name="SPRING min-Z" version="0.1.2" python_template_version="3.5"> |
2 <description>filter operation</description> | 2 <description>filter operation</description> |
3 <code file="spring_minz.py"/> | 3 <code file="spring_minz.py"/> |
4 <command detect_errors="exit_code"><![CDATA[ | 4 <command detect_errors="exit_code"><![CDATA[ |
5 mkdir -p targets && | 5 mkdir -p targets && |
6 #for target in $targets | 6 #for target in $targets |
11 mkdir -p inputs && | 11 mkdir -p inputs && |
12 #for input in $input_type.inputs | 12 #for input in $input_type.inputs |
13 link '${str(input)}' 'inputs/${input.element_identifier}' && | 13 link '${str(input)}' 'inputs/${input.element_identifier}' && |
14 echo '${input.element_identifier}' >> 'input_list' && | 14 echo '${input.element_identifier}' >> 'input_list' && |
15 #end for | 15 #end for |
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' | 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' |
17 #else | 17 #else |
18 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -m '$minscore' -c '$crossreference' -x '$idx' -o '$output' -l '$log' | 18 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -m '$minscore' -c '$crossreference' -o '$output' -l '$log' |
19 #end if | 19 #end if |
20 ]]></command> | 20 ]]></command> |
21 <inputs> | 21 <inputs> |
22 <param format="txt" name="targets" type="data_collection" collection_type="list" label="Target profiles" help="Homology search result of target/query profiles `hhr`."/> | 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 <conditional name="input_type"> | 23 <conditional name="input_type"> |
24 <param name="input_type_selector" type="boolean" label="Identify interactions across sets?" checked="true"/> | 24 <param name="input_type_selector" type="boolean" label="Identify interactions across sets?" checked="true"/> |
25 <when value="true"> | 25 <when value="true"> |
26 <param format="txt" name="inputs" type="data_collection" collection_type="list" label="Input profiles" help="Homology search results of input profiles `hhr`."/> | 26 <param format="txt" name="inputs" type="data_collection" collection_type="list" label="Input profiles" help="Homology search results of input profiles `hhr`."/> |
27 </when> | 27 </when> |
28 </conditional> | 28 </conditional> |
29 <param format="txt" name="crossreference" type="data" label="Cross reference" help="Cross reference of interacting proteins `first_id metadata_id second_id`."/> | 29 <param format="tabular" name="crossreference" type="data" label="Cross reference" help="Cross reference of interacting proteins `first_id metadata_id second_id`."/> |
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."/> | 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."/> |
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."/> | |
32 </inputs> | 31 </inputs> |
33 <outputs> | 32 <outputs> |
34 <data format="tabular" name="output" label="SPRING min-Z Table"/> | 33 <data format="tabular" name="output" label="SPRING min-Z Table"/> |
35 <data format="txt" name="log" label="SPRING min-Z Log" /> | 34 <data format="txt" name="log" label="SPRING min-Z Log" /> |
36 </outputs> | 35 </outputs> |
37 <tests> | 36 <tests> |
38 <test> | 37 <test> |
39 <param name="targets"> | 38 <param name="targets"> |
40 <collection type="list"> | 39 <collection type="list"> |
41 <element name="7BQY_A.hhr" value="7BQY_A.hhr" /> | 40 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> |
42 <element name="6WLC_A.hhr" value="6WLC_A.hhr" /> | |
43 <element name="6WJI_A.hhr" value="6WJI_A.hhr" /> | |
44 <element name="6WEY_A.hhr" value="6WEY_A.hhr" /> | |
45 <element name="6W37_A.hhr" value="6W37_A.hhr" /> | |
46 <element name="6W9C_A.hhr" value="6W9C_A.hhr" /> | |
47 <element name="6W4H_B.hhr" value="6W4H_B.hhr" /> | |
48 <element name="6W4H_A.hhr" value="6W4H_A.hhr" /> | |
49 <element name="6W9Q_A.hhr" value="6W9Q_A.hhr" /> | |
50 </collection> | |
51 </param> | |
52 <conditional name="input_type"> | |
53 <param name="input_type_selector" type="boolean" checked="false"/> | |
54 </conditional> | |
55 <param name="idx" value="10"/> | |
56 <param name="crossreference" value="dbCAN_random.txt"/> | |
57 <output name="output" file="dbCAN_result.txt"/> | |
58 <output name="log" file="dbCAN_log.txt"/> | |
59 </test> | |
60 <test> | |
61 <param name="targets"> | |
62 <collection type="list"> | |
63 <element name="NP_000282.1.hhr" value="NP_000282.1.hhr" /> | |
64 </collection> | 41 </collection> |
65 </param> | 42 </param> |
66 <conditional name="input_type"> | 43 <conditional name="input_type"> |
67 <param name="input_type_selector" type="boolean" checked="true"/> | 44 <param name="input_type_selector" type="boolean" checked="true"/> |
68 <param name="inputs"> | 45 <param name="inputs"> |
69 <collection type="list"> | 46 <collection type="list"> |
70 <element name="NP_000282.1.hhr" value="NP_000282.1.hhr" /> | 47 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> |
71 <element name="NP_000290.2.hhr" value="NP_000290.2.hhr" /> | 48 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" /> |
72 <element name="NP_000548.2.hhr" value="NP_000548.2.hhr" /> | 49 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" /> |
73 <element name="NP_000836.2.hhr" value="NP_000836.2.hhr" /> | 50 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" /> |
74 </collection> | 51 </collection> |
75 </param> | 52 </param> |
76 </conditional> | 53 </conditional> |
77 <param name="crossreference" value="pdb70_random.txt"/> | 54 <param name="crossreference" value="minz/pdb70_random.txt"/> |
78 <output name="output" file="pdb70_result.txt"/> | 55 <output name="output" file="minz/pdb70_result.txt"/> |
79 <output name="log" file="pdb70_log.txt"/> | 56 <output name="log" file="minz/pdb70_log.txt"/> |
80 </test> | 57 </test> |
81 </tests> | 58 </tests> |
82 <help><![CDATA[ | 59 <help><![CDATA[ |
83 This tool creates 3D models from HH-search/HH-blits homology results utilized by SPRING. | 60 This tool filters HH-search/HH-blits homology results through the protein interaction cross reference generated by SPRING. |
61 Putative interactions are identified by evaluating the min-Z score. | |
62 The min-Z is the smaller of the two Z-scores for a pair of sequences matching an existing protein-protein complex structure. | |
84 ]]></help> | 63 ]]></help> |
85 <citations> | 64 <citations> |
86 <citation type="bibtex"> | 65 <citation type="bibtex"> |
87 @misc{githubhh-suite, | 66 @misc{githubhh-suite, |
88 author = {Guerler, Govindarajoo, Zhang}, | 67 author = {Guerler, Govindarajoo, Zhang}, |