Mercurial > repos > recetox > mfassignr_snplot
comparison mfassignr_snplot.xml @ 0:6a34bc7afd61 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
author | recetox |
---|---|
date | Thu, 15 Aug 2024 12:01:34 +0000 |
parents | |
children | 7579b0cda787 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6a34bc7afd61 |
---|---|
1 <tool id="mfassignr_snplot" name="MFAssignR SNplot" version="@TOOL_VERSION@+galaxy0" profile="23.0"> | |
2 <description>Noise level assessment using the SNplot function.</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 <import>help.xml</import> | |
6 </macros> | |
7 <edam_topics> | |
8 <edam_topic>topic_3172</edam_topic> | |
9 </edam_topics> | |
10 <expand macro="creator"/> | |
11 <expand macro="requirements" /> | |
12 <command detect_errors="exit_code"><![CDATA[ | |
13 Rscript '${run_script}' | |
14 ]]></command> | |
15 <configfiles> | |
16 <configfile name="run_script"><![CDATA[ | |
17 SNplot <- MFAssignR::SNplot( | |
18 df = read.delim("$input_file", sep="\t"), | |
19 cut = $cut, | |
20 mass = $mass, | |
21 window.x = $window_x, | |
22 window.y = $window_y | |
23 ) | |
24 | |
25 ggplot2::ggsave(filename = "SNplot.png", SNplot) | |
26 ]]></configfile> | |
27 </configfiles> | |
28 <inputs> | |
29 <expand macro="snplot_param"/> | |
30 </inputs> | |
31 <outputs> | |
32 <data name="SNplot" format="png" label="SNplot by ${tool.name} on ${on_string}" from_work_dir="SNplot.png"/> | |
33 </outputs> | |
34 <tests> | |
35 <test> | |
36 <param name="input_file" value="QC1_1_POS_500.tabular"/> | |
37 <param name="cut" value="3294705.63963789"/> | |
38 <param name="mass" value="300"/> | |
39 <output name="SNplot" ftype="png" file="snplot/plot.png" /> | |
40 </test> | |
41 </tests> | |
42 <help><![CDATA[ | |
43 @SNPLOT_HELP@ | |
44 | |
45 @GENERAL_HELP@ | |
46 ]]></help> | |
47 <expand macro="citations" /> | |
48 </tool> |