annotate mfassignr_snplot.xml @ 6:f19c0631b9e5 draft default tip

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
author recetox
date Fri, 01 Nov 2024 08:18:37 +0000
parents 5f4b3130272e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
5f4b3130272e planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 2
diff changeset
1 <tool id="mfassignr_snplot" name="MFAssignR SNplot" version="@TOOL_VERSION@+galaxy1" profile="23.0">
0
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
2 <description>Noise level assessment using the SNplot function.</description>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
3 <macros>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
4 <import>macros.xml</import>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
5 <import>help.xml</import>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
6 </macros>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
7 <edam_topics>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
8 <edam_topic>topic_3172</edam_topic>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
9 </edam_topics>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
10 <expand macro="creator"/>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
11 <expand macro="requirements" />
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
13 Rscript '${run_script}'
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
14 ]]></command>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
15 <configfiles>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
16 <configfile name="run_script"><![CDATA[
4
5f4b3130272e planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 2
diff changeset
17 cut = $sn_ratio * $kmdn
5f4b3130272e planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 2
diff changeset
18
0
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
19 SNplot <- MFAssignR::SNplot(
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
20 df = read.delim("$input_file", sep="\t"),
4
5f4b3130272e planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 2
diff changeset
21 cut = cut,
0
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
22 mass = $mass,
6
f19c0631b9e5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 4
diff changeset
23 mass_window = $window_x,
f19c0631b9e5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 4
diff changeset
24 abundance_window = $window_y
0
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
25 )
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
26
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
27 ggplot2::ggsave(filename = "SNplot.png", SNplot)
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
28 ]]></configfile>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
29 </configfiles>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
30 <inputs>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
31 <expand macro="snplot_param"/>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
32 </inputs>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
33 <outputs>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
34 <data name="SNplot" format="png" label="SNplot by ${tool.name} on ${on_string}" from_work_dir="SNplot.png"/>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
35 </outputs>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
36 <tests>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
37 <test>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
38 <param name="input_file" value="QC1_1_POS_500.tabular"/>
4
5f4b3130272e planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 2
diff changeset
39 <param name="kmdn" value="549117.606606315"/>
0
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
40 <param name="mass" value="300"/>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
41 <output name="SNplot" ftype="png" file="snplot/plot.png" />
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
42 </test>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
43 </tests>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
44 <help><![CDATA[
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
45 @SNPLOT_HELP@
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
46
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
47 @GENERAL_HELP@
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
48 ]]></help>
6a34bc7afd61 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
49 <expand macro="citations" />
1
7579b0cda787 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 37faca3342cbcd3bd6b23fe52a00d05151c03bfd
recetox
parents: 0
diff changeset
50 </tool>