annotate PLIDflow/pubchemSMI_plidflow.xml @ 6:795e11fac81b draft default tip

Included new tools for standardization
author bitlab
date Wed, 22 Apr 2020 06:12:00 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
1 <tool id="pubchemSMI_plidflow" name="PLIDflow: PubChem SMI">
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
2 <description>Standardize a SMILE chain using the PubChem service</description>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
3 <inputs>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
4 <param name="smi" type="data" format="smi" label="Drug SMI file" help="Open Babel is a chemical toolbox designed to speak the many languages of chemical data. To convert Line notation SMILES (Simplified Molecular Input Line Entry System) to coordinate data and bond matrix information in structure Data Format (SDF) format"/>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
5 </inputs>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
6 <command><![CDATA[
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
7
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
8 source ${__tool_directory__}/scripts/ADT_VENV/bin/activate ;
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
9
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
10 chain=\$(cat $smi);
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
11 python ${__tool_directory__}/scripts/scrapPubChem.py \$chain > $standard_smi
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
12
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
13 ]]> </command>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
14
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
15
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
16 <outputs>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
17 <data name="standard_smi" format="smi" label="Standardized SMI file"/>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
18 </outputs>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
19 </tool>