Mercurial > repos > bgruening > mordred
comparison mordred_descriptors.xml @ 0:ea68b86303e2 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/mordred commit 4ce352d9c9f3f1808e2ab6c019c534fd3e805959
author | bgruening |
---|---|
date | Thu, 23 May 2019 18:31:43 -0400 |
parents | |
children | d074b0c2b54f |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ea68b86303e2 |
---|---|
1 <tool id="ctb_mordred_descriptors" name="Calculate molecular descriptors" version="0.1.0"> | |
2 <description>with Mordred</description> | |
3 <requirements> | |
4 <requirement type="package" version="1.1.2">mordred</requirement> | |
5 </requirements> | |
6 <command detect_errors="exit_code"><![CDATA[ | |
7 python '$__tool_directory__/mordred_descriptors.py' | |
8 -i '${input}' | |
9 --iformat '${input.ext}' | |
10 -o '${output}' | |
11 $header | |
12 $use_3d | |
13 ]]></command> | |
14 <inputs> | |
15 <param name="input" format="smi,sdf,inchi" type="data" label="Molecule data" | |
16 help="SDF, SMILES or InChi format"/> | |
17 <param name='header' type='boolean' truevalue='--header' falsevalue='' | |
18 label='Include a header line' help='Include names of the descriptors as the first line in the output file'/> | |
19 <param name='use_3d' type='boolean' truevalue='--3d' falsevalue='' | |
20 label='Calculate 3D descriptors' help='Include 3D as well as 2D descriptors - only valid if an SD-file is selected'/> | |
21 </inputs> | |
22 <outputs> | |
23 <data name="output" format="tabular" /> | |
24 </outputs> | |
25 <tests> | |
26 <test> | |
27 <param name="input" ftype='sdf' value="10mol.sdf" /> | |
28 <param name="header" value="True" /> | |
29 <param name="use_3d" value="True" /> | |
30 <output name="output" ftype='tabular' file="10sdf.tab" /> | |
31 </test> | |
32 <test> | |
33 <param name="input" ftype='smi' value="8mol.smi" /> | |
34 <param name="header" value="True" /> | |
35 <param name="use_3d" value="False" /> | |
36 <output name="output" ftype='tabular' file="8smi.tab" /> | |
37 </test> | |
38 </tests> | |
39 | |
40 <help><![CDATA[ | |
41 Calculates up to 1825 molecular descriptors using the Mordred package. A list of all | |
42 descriptors is located here_. | |
43 | |
44 .. _here: https://github.com/simonbray/mordred-descriptors | |
45 | |
46 .. class:: infomark | |
47 | |
48 **Input** | |
49 | |
50 A file containing multiples chemical structures, either in SMILES, InChi or SDF format. | |
51 | |
52 ----- | |
53 | |
54 .. class:: infomark | |
55 | |
56 **Output** | |
57 | |
58 A tabular file, in which each column represents a molecular descriptor (1613 in total, | |
59 or 1825 if 3D descriptors are included). Each row describes a single molecule. Empty | |
60 cells indicate that a descriptor could not be calculated for that molecule. Rows which | |
61 are entirely empty most likely indicate a wrongly encoded molecule. | |
62 | |
63 ]]></help> | |
64 <citations> | |
65 <citation type="doi">10.1186/s13321-018-0258-y</citation> | |
66 </citations> | |
67 </tool> |