annotate mfassignr_histnoise.xml @ 6:9654573e6889 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:56 +0000
parents faf7108f3b48
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
1 <tool id="mfassignr_histnoise" name="MFAssignR HistNoise" version="@TOOL_VERSION@+galaxy0" profile="23.0">
faf7108f3b48 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 HistNoise</description>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
3 <macros>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
4 <import>macros.xml</import>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
5 <import>help.xml</import>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
6 </macros>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
7 <edam_topics>
faf7108f3b48 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>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
9 </edam_topics>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
10 <expand macro="creator" />
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
11 <expand macro="requirements" />
faf7108f3b48 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[
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
13 Rscript '${run_script}'
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
14 ]]></command>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
15 <configfiles>
faf7108f3b48 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[
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
17 df <- read.delim("$input_file", sep="\t")
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
18 assess_noise <- MFAssignR::HistNoise(
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
19 df = df,
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
20 SN = $SN,
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
21 bin = $bin
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
22 )
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
23 noise <- assess_noise[['Noise']]
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
24 write.table(noise, file = '$Noise', row.names= FALSE, col.names = FALSE)
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
25 ggplot2::ggsave(filename = "histplot.png", assess_noise[['Hist']])
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
26 ]]></configfile>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
27 </configfiles>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
28 <inputs>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
29 <expand macro="histnoise_param"/>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
30 </inputs>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
31 <outputs>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
32 <data name="Noise" format="txt" label="Noise level estimate by ${tool.name} on ${on_string}"/>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
33 <data name="Hist_plot" format="png" label="Histogram plot by ${tool.name} on ${on_string}" from_work_dir="histplot.png"/>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
34 </outputs>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
35 <tests>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
36 <test>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
37 <param name="input_file" value="QC1_1_POS_500.tabular" />
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
38 <output name="Noise" ftype="txt">
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
39 <assert_contents>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
40 <has_text text="674849323.854921" />
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
41 </assert_contents>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
42 </output>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
43 <output name="Hist_plot" ftype="png" file="histnoise/plot.png">
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
44 </output>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
45 </test>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
46 </tests>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
47 <help><![CDATA[
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
48 @HISTNOISE_HELP@
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
49
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
50 @GENERAL_HELP@
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
51 ]]></help>
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
52 <expand macro="citations" />
faf7108f3b48 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents:
diff changeset
53 </tool>