|
0
|
1 <tool id="ctb_opsin" name="IUPAC name-to-structure" version="0.1">
|
|
|
2 <description>converter (OPSIN)</description>
|
|
|
3 <requirements>
|
|
|
4 <requirement type="package" version="1.4.0">opsin</requirement>
|
|
|
5 </requirements>
|
|
|
6 <command>java -jar \$JAVA_JAR_PATH/opsin-1.4.0-jar-with-dependencies.jar ${radicals} "${wildcards}" -o$oformat < "${infile}" > "${outfile}" </command>
|
|
|
7 <stdio>
|
|
|
8 <exit_code range="1:" />
|
|
|
9 <exit_code range=":-1" />
|
|
|
10 <regex match="Error:" />
|
|
|
11 <regex match="EXception:" />
|
|
|
12 </stdio>
|
|
|
13 <inputs>
|
|
|
14 <param format="tabular,text" name="infile" type="data" label="IUPAC names" help="Dataset missing? See TIP below"/>
|
|
|
15 <param name="oformat" type="select" label="Output format">
|
|
|
16 <option value="smi">SMILES</option>
|
|
|
17 <option value="cml">Chemical Markup Language</option>
|
|
|
18 <option value="inchi">InChI</option>
|
|
|
19 </param>
|
|
|
20 <param name='radicals' type='boolean' label='Enables interpretation of radicals' truevalue='--allowRadicals' falsevalue='' />
|
|
|
21 <param name='wildcards' type='boolean' label='Radicals are output as wildcard atoms' truevalue='--wildcardRadicals' falsevalue='' />
|
|
|
22 </inputs>
|
|
|
23 <outputs>
|
|
|
24 <data format="tabular" name="outfile" />
|
|
|
25 </outputs>
|
|
|
26 <tests>
|
|
|
27 <test>
|
|
|
28 <param name="infile" value="iupac_names.txt"/>
|
|
|
29 <param name="oformat" value="smi"/>
|
|
|
30 <output name="outfile" file="opsin_results.smi"/>
|
|
|
31 </test>
|
|
|
32 </tests>
|
|
|
33 <help>
|
|
|
34
|
|
|
35
|
|
|
36 **What it is**
|
|
|
37
|
|
|
38 OPSIN_ [1] is a IUPAC name-to-structure conversion tool offering high recall and precision on organic chemical nomenclature.
|
|
|
39
|
|
|
40 .. _Opsin: https://bitbucket.org/dan2097/opsin/overview
|
|
|
41
|
|
|
42 -----
|
|
|
43
|
|
|
44
|
|
|
45 **Cite**
|
|
|
46
|
|
|
47 [1] Chemical Name to Structure: OPSIN, an Open Source Solution
|
|
|
48 Daniel M. Lowe, Peter T. Corbett, Peter Murray-Rust, Robert C. Glen
|
|
|
49 Journal of Chemical Information and Modeling 2011 51 (3), 739-753
|
|
|
50
|
|
|
51 http://dx.doi.org/10.1021/ci100384d
|
|
|
52
|
|
|
53 </help>
|
|
|
54 </tool>
|