|
1 | 1 | <tool id="biotransformer" name="BioTransformer" version="1.1.5+galaxy1"> |
2 | | - <requirements> |
3 | | - <requirement type="package" version="1.1.5">biotransformer</requirement> |
4 | | - <requirement type="package" version="3.1.1">openbabel</requirement> |
5 | | - <requirement type="package" version="1.1.1">pandas</requirement> |
6 | | - <requirement type="package" version="3.7">python</requirement> |
7 | | - </requirements> |
8 | | - <command><![CDATA[ python3 '${__tool_directory__}/wrapper_biotransformer.py' |
9 | | - -k $k |
10 | | - -b $b |
11 | | - -s $steps |
12 | | - -t $tolerance |
13 | | - -a |
14 | | - -icsv $input_file |
15 | | - -ocsv $output_file |
16 | | - -ocsvDup $output_file2 |
17 | | - -ocsvDup2 $output_file3 |
| 2 | + <macros> |
| 3 | + <import>macros.xml</import> |
| 4 | + </macros> |
| 5 | + <expand macro="creator"/> |
| 6 | + <requirements> |
| 7 | + <requirement type="package" version="1.1.5">biotransformer</requirement> |
| 8 | + <requirement type="package" version="3.1.1">openbabel</requirement> |
| 9 | + <requirement type="package" version="1.1.1">pandas</requirement> |
| 10 | + <requirement type="package" version="3.7">python</requirement> |
| 11 | + </requirements> |
| 12 | + <command><![CDATA[ |
| 13 | + python3 '${__tool_directory__}/wrapper_biotransformer.py' |
| 14 | + -k $k |
| 15 | + -b $b |
| 16 | + -s $steps |
| 17 | + -t $tolerance |
| 18 | + -a |
| 19 | + -icsv $input_file |
| 20 | + -ocsv $output_file |
| 21 | + -ocsvDup $output_file2 |
| 22 | + -ocsvDup2 $output_file3 |
| 23 | + ]]> |
| 24 | + </command> |
| 25 | + <inputs> |
| 26 | + <param name="k" type="select" value="pred" |
| 27 | + label="The task to be permed [pred=prediction, cid=compound identification]."> |
| 28 | + <option value="pred" selected="true">pred</option> |
| 29 | + <option value="cid">cid</option> |
| 30 | + </param> |
| 31 | + <param name="b" type="select" value="ecbased" label="The type of description."> |
| 32 | + <option value="ecbased" selected="true">EC-based</option> |
| 33 | + <option value="cyp450">CYP450</option> |
| 34 | + <option value="phaseII">Phase II</option> |
| 35 | + <option value="hgut">Human gut microbial</option> |
| 36 | + <option value="superbio">Human super transformer 1 (superbio)</option> |
| 37 | + <option value="allHuman">Human super transformer 2 (allHuman)</option> |
| 38 | + <option value="envimicro">Environmental microbial</option> |
| 39 | + </param> |
| 40 | + <param name="steps" type="integer" value="1" label=" The number of steps for the prediction."/> |
| 41 | + <param name="tolerance" type="float" value="0.01" label="Mass tolerance for metabolite identification."/> |
| 42 | + <param name="input_file" type="data" format="csv" label="Input CSV file."/> |
| 43 | + </inputs> |
18 | 44 |
|
19 | | - ]]> |
20 | | - </command> |
21 | | - <inputs> |
22 | | - <param name="k" type="select" value="pred" label="The task to be permed [pred=prediction, cid=compound identification]."> |
23 | | - <option value="pred" selected="true" >pred</option> |
24 | | - <option value="cid">cid</option> |
25 | | - </param> |
26 | | - <param name="b" type="select" value="ecbased" label="The type of description."> |
27 | | - <option value="ecbased" selected="true" >EC-based</option> |
28 | | - <option value="cyp450">CYP450</option> |
29 | | - <option value="phaseII">Phase II</option> |
30 | | - <option value="hgut">Human gut microbial</option> |
31 | | - <option value="superbio">Human super transformer 1 (superbio)</option> |
32 | | - <option value="allHuman">Human super transformer 2 (allHuman)</option> |
33 | | - <option value="envimicro">Environmental microbial</option> |
34 | | - </param> |
35 | | - <param name="steps" type="integer" value="1" label=" The number of steps for the prediction."/> |
36 | | - <param name="tolerance" type="float" value="0.01" label="Mass tolerance for metabolite identification."/> |
37 | | - <param name="input_file" type="data" format="csv" label="Input CSV file."/> |
38 | | - </inputs> |
| 45 | + <outputs> |
| 46 | + <data format="csv" name="output_file" label="BioTransformer - output."/> |
| 47 | + <data format="csv" name="output_file2" label="BioTransformer - filtered CSV output."/> |
| 48 | + <data format="csv" name="output_file3" label="BioTransformer - super-filtered CSV output."/> |
| 49 | + </outputs> |
39 | 50 |
|
40 | | - <outputs> |
41 | | - <data format="csv" name="output_file" label="BioTransformer - output."/> |
42 | | - <data format="csv" name="output_file2" label="BioTransformer - filtered CSV output."/> |
43 | | - <data format="csv" name="output_file3" label="BioTransformer - super-filtered CSV output."/> |
44 | | - </outputs> |
45 | | - |
46 | | - <tests> |
47 | | - <test> |
48 | | - <param name="k" value="pred"/> |
49 | | - <param name="b" value="allHuman"/> |
50 | | - <param name="steps" value="1"/> |
51 | | - <param name="tolerance" value="0.01"/> |
52 | | - <param name="input_file" value="smiles.csv"/> |
53 | | - <output name="output_file" value="output1.csv"/> |
54 | | - <output name="output_file2" value="output2.csv"/> |
55 | | - <output name="output_file3" value="output3.csv"/> |
56 | | - </test> |
57 | | - </tests> |
58 | | - |
59 | | - <help> |
60 | | -BioTransformer is a software tool that predicts small molecule metabolism in mammals, their gut micr obiota, |
61 | | -as well as the soil/aquatic microbiota. BioTransformer also assists scientists in metabolite identification, |
62 | | -based on the metabolism prediction. |
63 | | - |
64 | | -BioTransformer is offered to the public as a freely acessible software package under the GNU License GPL v2.1. |
65 | | - |
66 | | -Users are free to copy and redistribute the material in any medium or format. Moreover, they could modify, and |
67 | | -build upon the material under the condition that they must give appropriate credit, provide links to the license, |
68 | | -and indicate if changes were made. Furthermore, the above copyright notice and this permission notice must be |
69 | | -included. Use and re-distribution of the these resources, in whole or in part, for commercial purposes requires |
70 | | -explicit permission of the authors. We ask that all users of the BioTransformer software tool, the BioTransformer |
71 | | -web server, or BioTransformerDB to cite the BioTransformer reference in any resulting publications, and to |
72 | | -acknowledge the authors. |
73 | | - |
74 | | -Parameters explanation: |
75 | | - |
76 | | -**Input.** Currently, only a CSV file with one SMILES per line is accepted. |
77 | | - |
78 | | -**The type of prediction:** EC-based (ecbased), CYP450 (cyp450), Phase II (phaseII), Human gut |
79 | | -microbial (hgut), human super transformer* (superbio, or allHuman), Environmental microbial (envimicro). |
80 | | - |
81 | | -**The number of steps for the prediction:** this option will be used for the EC-based, CYP450, Phase II, and Environmental |
82 | | -microbial biotransformers. The default value is 1. |
83 | | - |
84 | | -**Mass tolerance for metabolite identification** (default is 0.01). |
85 | | - |
86 | | -**Output of BioTransformer** with CSV as an input are 3 CSV files. One without any filtering, second with filtered |
87 | | -duplicates based on 6 columns (InChI, InChIKey, Synonyms, Molecular formula, Major Isotope Mass, AlogP) and third with |
88 | | -filtered duplicates based on 3 columns (Molecular formula, Major Isotope Mass, AlogP). |
89 | | - |
90 | | -(* ) While the 'superbio' option runs a set number of transformation steps in a pre-defined order (e.g. deconjugation |
91 | | -first, then Oxidation/reduction, etc.), the 'allHuman' option predicts all possible metabolites from any applicable |
92 | | -reaction(Oxidation, reduction, (de-)conjugation) at each step. |
93 | | - </help> |
94 | | - <citations> |
95 | | - <citation type="doi">https://doi.org/10.1186/s13321-018-0324-5</citation> |
96 | | - </citations> |
| 51 | + <tests> |
| 52 | + <test> |
| 53 | + <param name="k" value="pred"/> |
| 54 | + <param name="b" value="allHuman"/> |
| 55 | + <param name="steps" value="1"/> |
| 56 | + <param name="tolerance" value="0.01"/> |
| 57 | + <param name="input_file" value="smiles.csv"/> |
| 58 | + <output name="output_file" value="output1.csv"/> |
| 59 | + <output name="output_file2" value="output2.csv"/> |
| 60 | + <output name="output_file3" value="output3.csv"/> |
| 61 | + </test> |
| 62 | + </tests> |
| 63 | + <help> |
| 64 | + <![CDATA[ |
| 65 | + @HELP@ |
| 66 | + ]]> |
| 67 | + </help> |
| 68 | + <citations> |
| 69 | + <citation type="doi">https://doi.org/10.1186/s13321-018-0324-5</citation> |
| 70 | + </citations> |
97 | 71 | </tool> |
0 commit comments