comparison dose_response.xml @ 2:c122403ac78a draft

planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tools/tox_tools/baseline_calculator commit 61a3d9a20a9a90d551dd5f7503be781dc28f4b75
author ufz
date Wed, 18 Dec 2024 09:11:40 +0000
parents 8a1b524ed9d8
children 2aa9da0a84a4
comparison
equal deleted inserted replaced
1:8a1b524ed9d8 2:c122403ac78a
1 <tool id="dr_curve" name="Dose Response Curve for Toxicological Risk Assessment" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> 1 <tool id="dr_curve" name="Dose Response Curve for Toxicological Risk Assessment" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0">
2 <description>for Toxicological Risk Assessment</description> 2 <description>for Toxicological Risk Assessment</description>
3 <macros> 3 <macros>
4 <token name="@TOOL_VERSION@">3.0.1</token> 4 <token name="@TOOL_VERSION@">3.0.1</token>
5 <token name="@VERSION_SUFFIX@">1</token> 5 <token name="@VERSION_SUFFIX@">3</token>
6 </macros> 6 </macros>
7 <creator> 7 <creator>
8 <organization name="Helmholtz Centre for Environmental Research - UFZ, Department of Ecotoxicology" 8 <organization name="Helmholtz Centre for Environmental Research - UFZ, Department of Ecotoxicology"
9 url ="https://www.ufz.de/index.php?en=34241"/> 9 url ="https://www.ufz.de/index.php?en=34241"/>
10 </creator> 10 </creator>
19 '$input_csv' 19 '$input_csv'
20 '$concentration_column' 20 '$concentration_column'
21 '$response_column' 21 '$response_column'
22 '$plot_output' 22 '$plot_output'
23 '$ec_output' 23 '$ec_output'
24 '$compound_name'
25 '$concentration_unit'
24 ]]> 26 ]]>
25 </command> 27 </command>
26 <inputs> 28 <inputs>
27 <param name="input_csv" type="data" format="tabular" label="Concentration - Response Tabular Input"/> 29 <param name="input_csv" type="data" format="tabular" label="Dose-Response Tabular Input"/>
28 <param name="concentration_column" type="data_column" data_ref="input_csv" label="Concentration Column" help="Name of the column for concentration values"/> 30 <param name="concentration_column" type="data_column" data_ref="input_csv" label="Dose/Concentration Column Index" help="Index of the column for concentration values"/>
29 <param name="response_column" type="data_column" data_ref="input_csv" label="Response Column" help="Name of the column for response values"/> 31 <param name="response_column" type="data_column" data_ref="input_csv" label="Response Column Index" help="Index of the column for response values"/>
32 <param name="compound_name" type="text" label="Compound Name" help="Name of the compound to analyze">
33 <validator type="regex" message="Enter a valid compound name">^^[a-zA-Z0-9\[\]()_-]+$</validator>
34 </param>
35 <param name="concentration_unit" type="text" label="Concentration Unit (i.e. mg/L, µM)">
36 <validator type="regex" message="Enter a valid concentration unit">^(\S+/\S+)</validator>
37 </param>
30 </inputs> 38 </inputs>
31 <outputs> 39 <outputs>
32 <data name="plot_output" format="jpg" label="Dose Response Plot"/> 40 <data name="plot_output" format="jpg" label="${tool.name} on ${on_string}: ${compound_name} - Dose Response Plot"/>
33 <data name="ec_output" format="tabular" label="${tool.name} on ${on_string}: EC Values"/> 41 <data name="ec_output" format="tabular" label="${tool.name} on ${on_string}: ${compound_name} - EC Values"/>
34 </outputs> 42 </outputs>
35 <tests> 43 <tests>
36 <test> 44 <test>
37 <param name="input_csv" value="drc_input.tsv"/> 45 <param name="input_csv" value="drc_input.tsv"/>
38 <param name="concentration_column" value="1"/> 46 <param name="concentration_column" value="2"/>
39 <param name="response_column" value="2"/> 47 <param name="response_column" value="3"/>
40 <output name="plot_output" ftype="jpg"> 48 <param name="compound_name" value="test-chemical"/>
49 <param name="concentration_unit" value="mg/L"/>
50 <output name="plot_output" value="image_output.jpg" ftype="jpg">
41 <assert_contents> 51 <assert_contents>
42 <has_image_width width="480"/> 52 <has_image_width width="480"/>
43 <has_image_height height="480"/> 53 <has_image_height height="480"/>
44 </assert_contents> 54 </assert_contents>
45 </output> 55 </output>