diff opsin.xml @ 0:2bebf3bd9a34

Uploaded
author bgruening
date Fri, 26 Apr 2013 08:39:52 -0400
parents
children a5a7f3d6106f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/opsin.xml	Fri Apr 26 08:39:52 2013 -0400
@@ -0,0 +1,54 @@
+<tool id="ctb_opsin" name="IUPAC name-to-structure" version="0.1">
+    <description>converter (OPSIN)</description>
+    <requirements>
+        <requirement type="package" version="1.4.0">opsin</requirement>
+    </requirements>
+    <command>java -jar \$JAVA_JAR_PATH/opsin-1.4.0-jar-with-dependencies.jar ${radicals} "${wildcards}" -o$oformat &lt; "${infile}" &gt; "${outfile}" </command>
+    <stdio>
+        <exit_code range="1:" />
+        <exit_code range=":-1" />
+        <regex match="Error:" />
+        <regex match="EXception:" />
+    </stdio>
+    <inputs>
+        <param format="tabular,text" name="infile" type="data" label="IUPAC names" help="Dataset missing? See TIP below"/>
+        <param name="oformat" type="select" label="Output format">
+            <option value="smi">SMILES</option>
+            <option value="cml">Chemical Markup Language</option>
+            <option value="inchi">InChI</option>
+        </param>
+        <param name='radicals' type='boolean' label='Enables interpretation of radicals' truevalue='--allowRadicals' falsevalue='' />
+        <param name='wildcards' type='boolean' label='Radicals are output as wildcard atoms' truevalue='--wildcardRadicals' falsevalue='' />
+    </inputs>
+    <outputs>
+        <data format="tabular" name="outfile" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="infile" value="iupac_names.txt"/>
+            <param name="oformat" value="smi"/>
+            <output name="outfile" file="opsin_results.smi"/>
+        </test>
+    </tests>
+    <help>
+
+
+**What it is**
+
+OPSIN_ [1] is a IUPAC name-to-structure conversion tool offering high recall and precision on organic chemical nomenclature.
+
+.. _Opsin: https://bitbucket.org/dan2097/opsin/overview
+
+-----
+
+    
+**Cite**
+
+[1] Chemical Name to Structure: OPSIN, an Open Source Solution
+Daniel M. Lowe, Peter T. Corbett, Peter Murray-Rust, Robert C. Glen
+Journal of Chemical Information and Modeling 2011 51 (3), 739-753
+
+http://dx.doi.org/10.1021/ci100384d
+
+    </help>
+</tool>