Mercurial > repos > bitlab > plidflow
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PLIDflow/drawSMI_plidflow.xml Wed Apr 22 06:12:00 2020 -0400 @@ -0,0 +1,30 @@ +<tool id="drawSMI_plidflow" name="PLIDflow: Draw SMI"> + <description>Plot an SMI chain using the Rdkit package</description> + <requirements> + <requirement type="package" >rdkit</requirement> + </requirements> + + <inputs> + <param name="smi" type="data" format="smi" label="Drug SMI file" help="Input an SMI file that will be plotted"/> + </inputs> + <command><![CDATA[ + + + cp $smi ${smi}.smi ; + + + ${__tool_directory__}/scripts/CONDA_RDKIT_ENV/bin/python ${__tool_directory__}/scripts/draw_mol.py ${smi}.smi ${smipng}.png ; + + mv ${smipng}.png $smipng ; + + rm ${smi}.smi ; + + + + ]]> </command> + + + <outputs> + <data name="smipng" format="png" label="PNG plot of the SMI file"/> + </outputs> +</tool>