annotate osra.xml @ 5:b2edf498e8fb draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
author bgruening
date Tue, 07 May 2019 13:39:51 -0400
parents aeb1f7daa7c2
children
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">
5
b2edf498e8fb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
bgruening
parents: 4
diff changeset
2 <description>in PDF documents (OSRA)</description>
0
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>
5
b2edf498e8fb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
bgruening
parents: 4
diff changeset
5 <requirement type="package" version="0.52">poppler</requirement>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
6 </requirements>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
7 <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
8 <![CDATA[
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
9 osra
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
10 -f $oformat
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
11 '$infile'
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
12 -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
13 -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
14
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
15 $confidence
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
16 $adaptive
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
17 $thinning
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
18 > '$outfile'
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 0
diff changeset
19 ]]>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
20 </command>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
21 <inputs>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
22 <param name="infile" type="data" format="pdf" label="PDF with molecules"/>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
23 <param name="oformat" type="select" label="Output molecule format">
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
24 <option value="can">SMILES</option>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
25 <option value="sdf">SDF</option>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
26 </param>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
27 <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
28 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
29 <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
30 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
31 <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
32 truevalue="-j" falsevalue="" checked="false" />
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
33
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
34 </inputs>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
35 <outputs>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
36 <data name="outfile" format="sdf">
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
37 <change_format>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
38 <when input="oformat" value="can" format="smi"/>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
39 </change_format>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
40 </data>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
41 </outputs>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
42 <tests>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
43 <test>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
44 <param name="infile" value="CID_2244.pdf" ftype="pdf"/>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
45 <param name="oformat" value="sdf"/>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
46 <output name="outfile" ftype="sdf" file="osra_on_CID2244.sdf"/>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
47 </test>
5
b2edf498e8fb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
bgruening
parents: 4
diff changeset
48 <!-- <test>
b2edf498e8fb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
bgruening
parents: 4
diff changeset
49 <param name="infile" value="CID_2244.png" ftype="png"/>
b2edf498e8fb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
bgruening
parents: 4
diff changeset
50 <param name="oformat" value="sdf"/>
b2edf498e8fb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
bgruening
parents: 4
diff changeset
51 <output name="outfile" ftype="sdf" file="osra_on_CID2244.sdf"/>
b2edf498e8fb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
bgruening
parents: 4
diff changeset
52 </test> -->
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
53 <!--test>
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
54 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
55 <param name="infile" value="2008001635_153_chem.png"/>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
56 <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
57 <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
58 </test-->
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
59 </tests>
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
60 <help>
2
d2490712b67d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit a44c0a13283e873a740eabcad04f021208290dfe-dirty
bgruening
parents: 0
diff changeset
61 <![CDATA[
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
62
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
63 .. class:: infomark
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
64
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
65 **What this tool does**
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
66
5
b2edf498e8fb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit ed9b6859de648aa5f7cde483732f5df20aaff90e
bgruening
parents: 4
diff changeset
67 OSRA_ (Optical Structure Recognition Application) is a utility designed to convert graphical representations of chemical structures, contained within a PDF file, into a SMILES or SDF representation.
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
68
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
69 .. _OSRA: http://cactus.nci.nih.gov/osra/
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
70
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
71 .. _`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
72 ]]>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
73 </help>
4
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
74 <citations>
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
75 <citation type="bibtex">
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
76 @inproceedings{filippov2010improvements,
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
77 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
78 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
79 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
80 year={2010}
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
81 }
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
82 </citation>
aeb1f7daa7c2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/osra commit 74daed54894d9769a251a2ca6a46d96b7a27e461
bgruening
parents: 2
diff changeset
83 </citations>
0
34ae5f2ae450 Uploaded
bgruening
parents:
diff changeset
84 </tool>