comparison OpenContact.xml @ 0:d163dd7e68b5 draft

planemo upload commit cc4319cfe5715ecd2d692df8ed2476ca7539a1aa-dirty
author jjohnson
date Thu, 16 May 2019 11:27:07 -0400
parents
children 3de332f0a26f
comparison
equal deleted inserted replaced
-1:000000000000 0:d163dd7e68b5
1 <tool id="OpenContact" name="Open Contact" version="1.1.0" profile="16.01">
2 <description>contact mapping for protein-protein interaction</description>
3 <requirements>
4 <requirement type="package" version="1.1">opencontactcli</requirement>
5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[
7 OpenContactCLI --protA '$proteinA' --protA_chain $proteinA_chain
8 --protB '$proteinB' --protB_chain $proteinB_chain
9 #if str($output_choices).find('_tsv') > 0:
10 --tabular
11 #end if
12 ]]></command>
13 <inputs>
14 <!-- Use until PQR datatype available -->
15 <param name="proteinA" type="data" format="pdb" label="Protein A"/>
16 <!-- -->
17 <!-- Use when PQR datatype available
18 <param name="proteinA" type="data" format="pdb,pqr" label="Protein A"/>
19 -->
20 <!-- Use until PDB chain_ids metadata -->
21 <param name="proteinA_chain" type="text" value="" label="Protein A chain" >
22 <validator type="regex" message="">[A-Z]</validator>
23 </param>
24 <!-- -->
25 <!-- Use when PDB chain_ids metadata available
26 <param name="proteinA_chain" type="select" label="Protein A chain" >
27 <options>
28 <filter type="data_meta" ref="proteinA" key="chain_ids" />
29 </options>
30 </param>
31 -->
32 <!-- Use until PQR datatype available -->
33 <param name="proteinB" type="data" format="pdb" label="Protein B"
34 help="This can be the same as Protein A for intra-protein interactions"/>
35 <!-- -->
36 <!-- Use when PQR datatype available -->
37 <param name="proteinB" type="data" format="pdb,pqr" label="Protein B"
38 help="This can be the same as Protein A for intra-protein interactions"/>
39 <!-- -->
40 <!-- Use until PDB chain_ids metadata -->
41 <param name="proteinB_chain" type="text" value="" label="Protein B chain" >
42 <validator type="regex" message="">[A-Z]</validator>
43 </param>
44 <!-- -->
45 <!-- Use when PDB chain_ids metadata available
46 <param name="proteinB_chain" type="select" label="Protein B chain" >
47 <options>
48 <filter type="data_meta" ref="proteinB" key="chain_ids" />
49 </options>
50 </param>
51 -->
52 <param name="output_choices" type="select" multiple="true" display="checkboxes" label="Select Outputs" >
53 <option value="fineab_pdb" selected="true">fineab.pdb</option>
54 <option value="coarseab_pdb" selected="true">coarseab.pdb</option>
55 <option value="finedata_tsv" selected="true">finedata.tsv</option>
56 <option value="coarsedata_tsv" selected="true">coarsedata.tsv</option>
57 <option value="finedata_txt">finedata.txt</option>
58 <option value="coarsedata_txt">coarsedata.txt</option>
59 </param>
60 </inputs>
61 <outputs>
62 <data name="coarsedata" format="txt" label="${tool.name} on ${on_string} coarsedata.txt"
63 from_work_dir="coarsedata.txt">
64 <filter>'coarsedata_txt' in output_choices</filter>
65 </data>
66 <data name="finedata" format="txt" label="${tool.name} on ${on_string} finedata.txt"
67 from_work_dir="finedata.txt">
68 <filter>'finedata_txt' in output_choices</filter>
69 </data>
70 <data name="coarsedata" format="tabular" label="${tool.name} on ${on_string} coarsedata.tsv"
71 from_work_dir="coarsedata.tsv">
72 <filter>'coarsedata_tsv' in output_choices</filter>
73 <actions>
74 <action name="column_names" type="metadata" default="ResA,ResNumA,AtomA,AtomNumA,ResB,ResNumB,AtomB,AtomNumB,RRS,UCOUL,UL" />
75 </actions>
76 </data>
77 <data name="finedata" format="tabular" label="${tool.name} on ${on_string} finedata.tsv"
78 from_work_dir="finedata.tsv">
79 <filter>'finedata_tsv' in output_choices</filter>
80 <actions>
81 <action name="column_names" type="metadata" default="ResA,ResNumA,AtomA,AtomNumA,ResB,ResNumB,AtomB,AtomNumB,RRS,UCOUL,UL" />
82 </actions>
83 </data>
84 <data name="coarseab" format="pdb" label="${tool.name} on ${on_string} coarseab.pdb"
85 from_work_dir="coarseab.pdb">
86 <filter>'coarseab_pdb' in output_choices</filter>
87 </data>
88 <data name="fineab" format="pdb" label="${tool.name} on ${on_string} fineab.pdb"
89 from_work_dir="fineab.pdb">
90 <filter>'fineab_pdb' in output_choices</filter>
91 </data>
92 </outputs>
93 <tests>
94 <test>
95 <param name="proteinA" ftype="pdb" value="1AIK.pdb"/>
96 <param name="proteinA_chain" value="C"/>
97 <param name="proteinB" ftype="pdb" value="1AIK.pdb"/>
98 <param name="proteinB_chain" value="N"/>
99 <output name="coarseab" file="coarseab.pdb"/>
100 <output name="fineab" file="fineab.pdb"/>
101 </test>
102 </tests>
103 <help><![CDATA[
104 **OpenContact**
105 The OpenContact algorithm provides screened or parsed protein interaction files based on specified criteria for interatomic separation distances and interatomic potential interactions.
106
107 **OpenContactCLI** is a python script that executes that OpenContact algorithm.
108
109 **Inputs**
110 ::
111
112 Two PDB files and the chain ID of each PDB file that you wish to ananlyze.
113
114
115 **Outputs**
116 ::
117
118 coarseab.pdb
119 fineab.pdb
120 coarsedata.tsv
121 finedata.tsv
122
123
124 OpenContactCLI
125 usage: OpenContactCLI [-h] -a PROTA -b PROTB -A PROTA_CHAIN -B PROTB_CHAIN [-t]
126
127 arguments:
128
129 -h, --help show this help message and exit
130 -a PROTA, --protA PROTA
131 Path to proteinA.pdb
132 -b PROTB, --protB PROTB
133 Path to proteinB.pdb
134 -A PROTA_CHAIN, --protA_chain PROTA_CHAIN
135 proteinA chain
136 -B PROTB_CHAIN, --protB_chain PROTB_CHAIN
137 proteinB chain
138 -t, --tabular Create tab separated map files
139
140 ]]></help>
141 <citations>
142 <citation type="doi">10.1002%2Fprot.24592</citation>
143 </citations>
144 </tool>