Mercurial > repos > guerler > springsuite
comparison spring_minz.xml @ 27:e34da554d415 draft
"planemo upload commit f12d400ea7827bb7d6b2ef31eb7f38e555bd053f-dirty"
author | guerler |
---|---|
date | Sat, 31 Oct 2020 22:46:10 +0000 |
parents | 124f82fbd986 |
children | 41353488926c |
comparison
equal
deleted
inserted
replaced
26:124f82fbd986 | 27:e34da554d415 |
---|---|
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' -o '$output' -l '$log' | 16 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' |
17 #else | 17 #else |
18 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -m '$minscore' -c '$crossreference' -o '$output' -l '$log' | 18 python3 '$__tool_directory__/spring_minz.py' -tl target_list -tp targets -m '$minscore' -idx '$idx' -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"> |
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="tabular" 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."/> | |
31 </inputs> | 32 </inputs> |
32 <outputs> | 33 <outputs> |
33 <data format="tabular" name="output" label="SPRING min-Z Table"/> | 34 <data format="tabular" name="output" label="SPRING min-Z Table"/> |
34 <data format="txt" name="log" label="SPRING min-Z Log" /> | 35 <data format="txt" name="log" label="SPRING min-Z Log" /> |
35 </outputs> | 36 </outputs> |
36 <tests> | 37 <tests> |
37 <test> | 38 <test> |
38 <param name="targets"> | 39 <param name="targets"> |
39 <collection type="list"> | 40 <collection type="list"> |
40 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" /> | 41 <element name="7BQY_A.hhr" value="minz/7BQY_A.hhr" /> |
41 <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" /> | 42 <element name="6WLC_A.hhr" value="minz/6WLC_A.hhr" /> |
42 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> | 43 <element name="6WJI_A.hhr" value="minz/6WJI_A.hhr" /> |
43 <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" /> | 44 <element name="6WEY_A.hhr" value="minz/6WEY_A.hhr" /> |
45 <element name="6W37_A.hhr" value="minz/6W37_A.hhr" /> | |
46 <element name="6W9C_A.hhr" value="minz/6W9C_A.hhr" /> | |
47 <element name="6W4H_B.hhr" value="minz/6W4H_B.hhr" /> | |
48 <element name="6W4H_A.hhr" value="minz/6W4H_A.hhr" /> | |
49 <element name="6W9Q_A.hhr" value="minz/6W9Q_A.hhr" /> | |
44 </collection> | 50 </collection> |
45 </param> | 51 </param> |
46 <conditional name="input_type"> | 52 <conditional name="input_type"> |
47 <param name="input_type_selector" type="boolean" checked="false"/> | 53 <param name="input_type_selector" type="boolean" checked="false"/> |
48 </conditional> | 54 </conditional> |
49 <param name="crossreference" value="minz/pdb70_random.txt"/> | 55 <param name="crossreference" value="minz/dbCAN_random.txt"/> |
50 <output name="output" file="minz/pdb70_result_0.txt"/> | 56 <param name="idx" type="integer" value="10"/> |
51 <output name="log" file="minz/pdb70_log_0.txt"/> | 57 <output name="output" file="minz/dbCAN_result.txt"/> |
58 <output name="log" file="minz/dbCAN_log.txt"/> | |
52 </test> | 59 </test> |
53 <test> | 60 <test> |
54 <param name="targets"> | 61 <param name="targets"> |
55 <collection type="list"> | 62 <collection type="list"> |
56 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> | 63 <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" /> |
66 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" /> | 73 <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" /> |
67 </collection> | 74 </collection> |
68 </param> | 75 </param> |
69 </conditional> | 76 </conditional> |
70 <param name="crossreference" value="minz/pdb70_random.txt"/> | 77 <param name="crossreference" value="minz/pdb70_random.txt"/> |
71 <output name="output" file="minz/pdb70_result_1.txt"/> | 78 <output name="output" file="minz/pdb70_result.txt"/> |
72 <output name="log" file="minz/pdb70_log_1.txt"/> | 79 <output name="log" file="minz/pdb70_log.txt"/> |
73 </test> | 80 </test> |
74 </tests> | 81 </tests> |
75 <help><![CDATA[ | 82 <help><![CDATA[ |
76 This tool filters HH-search/HH-blits homology results through the protein interaction cross reference generated by SPRING. | 83 This tool filters HH-search/HH-blits homology results through the protein interaction cross reference generated by SPRING. |
77 Putative interactions are identified by evaluating the min-Z score. | 84 Putative interactions are identified by evaluating the min-Z score. |