6
|
1 <tool id="pubchemSMI_plidflow" name="PLIDflow: PubChem SMI">
|
|
2 <description>Standardize a SMILE chain using the PubChem service</description>
|
|
3 <inputs>
|
|
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"/>
|
|
5 </inputs>
|
|
6 <command><![CDATA[
|
|
7
|
|
8 source ${__tool_directory__}/scripts/ADT_VENV/bin/activate ;
|
|
9
|
|
10 chain=\$(cat $smi);
|
|
11 python ${__tool_directory__}/scripts/scrapPubChem.py \$chain > $standard_smi
|
|
12
|
|
13 ]]> </command>
|
|
14
|
|
15
|
|
16 <outputs>
|
|
17 <data name="standard_smi" format="smi" label="Standardized SMI file"/>
|
|
18 </outputs>
|
|
19 </tool>
|