comparison spring_minz.xml @ 0:d30785e31577 draft

"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author guerler
date Fri, 31 Jul 2020 00:18:57 -0400
parents
children cc21dac19d25
comparison
equal deleted inserted replaced
-1:000000000000 0:d30785e31577
1 <tool id="spring_minz" name="SPRING min-Z" version="0.1.0" python_template_version="3.5">
2 <description>filter operation</description>
3 <code file="spring_minz.py"/>
4 <command detect_errors="exit_code"><![CDATA[
5 mkdir -p inputs &&
6 #for input in $inputs:
7 link '${str(input)}' 'inputs/${input.name}' &&
8 echo '${input.name}' >> 'input_list' &&
9 #end for &&
10 python3 '$__tool_directory__/spring_minz.py' -m '$minscore' -t '$target' -c '$crossreference' -o '$output' -l input_list -i inputs
11 ]]></command>
12 <inputs>
13 <param format="data" name="target" type="data" label="Target Sequence" help="Homology search results of query sequence `hhr`. (-t)"/>
14 <param format="data" name="inputs" type="data_collection" collection_type="list" label="Input Sequences" help="Homology search results of target sequences `hhr`. (-i)"/>
15 <param format="data" name="crossreference" type="data" label="Cross Reference" help="Cross reference of interacting proteins pairs. (-c)"/>
16 <param name="minscore" type="integer" label="min-Z score threshold" value="10" min="1" max="100" help="Matching complex templates with a score lower than this threshold will be excluded. (-c)"/>
17 </inputs>
18 <outputs>
19 <data format="txt" name="output" />
20 </outputs>
21 <tests>
22 <test>
23 <param name="target" value="NP_000282.1.hhr"/>
24 <param name="inputs">
25 <collection type="list">
26 <element name="NP_000282.1.hhr" value="NP_000282.1.hhr" />
27 <element name="NP_000290.2.hhr" value="NP_000290.2.hhr" />
28 <element name="NP_000548.2.hhr" value="NP_000548.2.hhr" />
29 <element name="NP_000836.2.hhr" value="NP_000836.2.hhr" />
30 </collection>
31 </param>
32 <param name="crossreference" value="index.txt"/>
33 <output name="output" file="result.txt"/>
34 </test>
35 </tests>
36 <help><![CDATA[
37 This tool filters HH-search/HH-blits homology results through the protein interaction cross reference generated by SPRING. Putative interactions are identified by
38 evaluating the min-Z score. The min-Z is the smaller of the two Z-scores for a pair of sequences matching an existing protein-protein complex structure.
39 ]]></help>
40 <citations>
41 <citation type="bibtex">
42 @misc{githubhh-suite,
43 author = {Guerler, Govindarajoo, Zhang},
44 year = {2013},
45 title = {Mapping Monomeric Threading to Protein-Protein Structure Prediction},
46 publisher = {ACS Publications},
47 journal = {Journal of Chemical Information and Modeling},
48 url = {https://pubs.acs.org/doi/10.1021/ci300579r},
49 }
50 </citation>
51 </citations>
52 </tool>