annotate opsin.xml @ 0:cda22c799d0a draft default tip

Uploaded
author bgruening
date Thu, 15 Aug 2013 03:37:25 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
1 <tool id="ctb_opsin" name="IUPAC name-to-structure" version="0.1">
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
2 <description>converter (OPSIN)</description>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
3 <parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="1000" shared_inputs="" merge_outputs="outfile"></parallelism>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
4 <requirements>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
5 <requirement type="package" version="1.4.0">opsin</requirement>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
6 </requirements>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
7 <command>java -jar \$JAVA_JAR_PATH/opsin-1.4.0-jar-with-dependencies.jar "${radicals}" "${wildcards}" -o$oformat &lt; "${infile}" &gt; "${outfile}" </command>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
8 <stdio>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
9 <exit_code range="1:" />
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
10 <exit_code range=":-1" />
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
11 <regex match="Error:" />
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
12 <regex match="EXception:" />
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
13 </stdio>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
14 <inputs>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
15 <param format="tabular,text" name="infile" type="data" label="IUPAC names" help="Dataset missing? See TIP below"/>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
16 <param name="oformat" type="select" label="Output format">
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
17 <option value="smi">SMILES</option>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
18 <option value="cml">Chemical Markup Language</option>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
19 <option value="inchi">InChI</option>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
20 </param>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
21 <param name='radicals' type='boolean' label='Enables interpretation of radicals' truevalue='--allowRadicals' falsevalue='' />
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
22 <param name='wildcards' type='boolean' label='Radicals are output as wildcard atoms' truevalue='--wildcardRadicals' falsevalue='' />
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
23 </inputs>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
24 <outputs>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
25 <data format="smi" name="outfile">
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
26 <change_format>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
27 <when input="oformat" value="cml" format="cml"/>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
28 <when input="oformat" value="inchi" format="inchi"/>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
29 </change_format>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
30 </data>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
31 </outputs>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
32 <tests>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
33 <test>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
34 <param name="infile" value="iupac_names.txt"/>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
35 <param name="oformat" value="smi"/>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
36 <output name="outfile" file="opsin_results.smi"/>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
37 </test>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
38 </tests>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
39 <help>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
40
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
41
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
42 .. class:: infomark
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
43
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
44 **What this tool does**
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
45
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
46 OPSIN_ is a IUPAC name-to-structure conversion tool offering high recall and precision on organic chemical nomenclature.
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
47
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
48 .. _OPSIN: https://bitbucket.org/dan2097/opsin/overview
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
49
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
50 -----
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
51
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
52 .. class:: infomark
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
53
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
54 **Cite**
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
55
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
56 Daniel M Lowe, Peter T Corbett, Peter Murray-Rust, Robert C Glen - `Chemical Name to Structure: OPSIN, an Open Source Solution`_
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
57
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
58 .. _`Chemical Name to Structure: OPSIN, an Open Source Solution`: http://dx.doi.org/10.1021/ci100384d
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
59
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
60
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
61 </help>
cda22c799d0a Uploaded
bgruening
parents:
diff changeset
62 </tool>