annotate PLIDflow/drawSMI_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="drawSMI_plidflow" name="PLIDflow: Draw SMI">
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
2 <description>Plot an SMI chain using the Rdkit package</description>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
3 <requirements>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
4 <requirement type="package" >rdkit</requirement>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
5 </requirements>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
6
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
7 <inputs>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
8 <param name="smi" type="data" format="smi" label="Drug SMI file" help="Input an SMI file that will be plotted"/>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
9 </inputs>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
10 <command><![CDATA[
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
11
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
12
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
13 cp $smi ${smi}.smi ;
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 ${__tool_directory__}/scripts/CONDA_RDKIT_ENV/bin/python ${__tool_directory__}/scripts/draw_mol.py ${smi}.smi ${smipng}.png ;
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
17
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
18 mv ${smipng}.png $smipng ;
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
19
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
20 rm ${smi}.smi ;
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
21
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
22
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
23
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
24 ]]> </command>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
25
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
26
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
27 <outputs>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
28 <data name="smipng" format="png" label="PNG plot of the SMI file"/>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
29 </outputs>
795e11fac81b Included new tools for standardization
bitlab
parents:
diff changeset
30 </tool>