annotate osra.xml @ 4:aeb1f7daa7c2 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
author bgruening
date Thu, 09 Nov 2017 03:41:42 -0500
parents d2490712b67d
children b2edf498e8fb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
1 <tool id="ctb_osra" name="Molecule recognition" version="2.1.0">
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
2 <description>in Images or PDF documents (OSRA)</description>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
3 <requirements>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
4 <requirement type="package" version="2.1.0">osra</requirement>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
5 </requirements>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
6 <command detect_errors="aggressive">
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 0
diff changeset
7 <![CDATA[
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
8 osra
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
9 -f $oformat
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
10 '$infile'
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
11 -l `which osra | xargs dirname`/../share/spelling.txt
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
12 -a `which osra | xargs dirname`/../share/superatom.txt
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 0
diff changeset
13
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
14 $confidence
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
15 $adaptive
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
16 $thinning
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
17 > '$outfile'
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 0
diff changeset
18 ]]>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
19 </command>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
20 <inputs>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
21 <param name="infile" type="data" format="pdf" label="PDF with molecules"/>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
22 <param name="oformat" type="select" label="Output molecule format">
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
23 <option value="can">SMILES</option>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
24 <option value="sdf">SDF</option>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
25 </param>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
26 <param name="confidence" type="boolean" label="Print out confidence estimate" help=" (-p)"
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
27 truevalue="-p" falsevalue="" checked="true" />
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
28 <param name="adaptive" type="boolean" label="Adaptive thresholding pre-processing, useful for low light/low contrast images" help="(-i)"
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
29 truevalue="-i" falsevalue="" checked="false" />
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
30 <param name="thinning" type="boolean" label="Additional thinning/scaling down of low quality documents" help="(-j)"
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
31 truevalue="-j" falsevalue="" checked="false" />
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
32
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
33 </inputs>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
34 <outputs>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
35 <data name="outfile" format="sdf">
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
36 <change_format>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
37 <when input="oformat" value="can" format="smi"/>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
38 </change_format>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
39 </data>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
40 </outputs>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
41 <tests>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
42 <test>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
43 <param name="infile" value="CID_2244.pdf" ftype="pdf"/>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
44 <param name="oformat" value="sdf"/>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
45 <output name="outfile" ftype="sdf" file="osra_on_CID2244.sdf"/>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
46 </test>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
47 <!--test>
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
48 PNGs producing a core-dump in osra
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
49 <param name="infile" value="2008001635_153_chem.png"/>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
50 <param name="oformat" value="can"/>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
51 <output name="outfile" ftype="smi" file="2008001635_153_chem.smi"/>
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
52 </test-->
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
53 </tests>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
54 <help>
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 0
diff changeset
55 <![CDATA[
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
56
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
57 .. class:: infomark
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
58
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
59 **What this tool does**
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
60
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
61 OSRA_ (Optical Structure Recognition Application) is a utility designed to convert graphical representations of chemical structures into SMILES or SDF. It generates the SMILES or SDF representation of any molecular structure image within a document which is parseable by GraphicMagick.
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
62
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
63 .. _OSRA: http://cactus.nci.nih.gov/osra/
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
64
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
65 .. _`Optical Structure Recognition Software To Recover Chemical Information: OSRA, An Open Source Solution`: http://pubs.acs.org/doi/abs/10.1021/ci800067r
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 0
diff changeset
66 ]]>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
67 </help>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
68 <citations>
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
69 <citation type="bibtex">
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
70 @inproceedings{filippov2010improvements,
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
71 title={Improvements in Optical Structure Recognition Application},
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
72 author={Filippov, Igor V and Nicklaus, Marc C and Kinney, John},
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
73 booktitle={Document Analysis Systems Workshop},
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
74 year={2010}
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
75 }
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
76 </citation>
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
77 </citations>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
78 </tool>