comparison mfassignr_findRecalSeries.xml @ 0:a26b860d6ce7 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
author recetox
date Fri, 13 Sep 2024 10:08:49 +0000
parents
children ad4176b336dc
comparison
equal deleted inserted replaced
-1:000000000000 0:a26b860d6ce7
1 <tool id="mfassignr_findRecalSeries" name="MFAssignR FindRecalSeries" version="@TOOL_VERSION@+galaxy0" profile="23.0">
2 <description>Selects most suitable series for recalibration</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 <edam_operations>
11 <edam_operation>operation_3627</edam_operation>
12 </edam_operations>
13 <expand macro="creator" />
14 <expand macro="refs" />
15
16 <expand macro="requirements" />
17 <command detect_errors="exit_code"><![CDATA[
18 Rscript -e 'packageVersion("MFAssignR")' &&
19 Rscript '${mfassignr_findrecalseries}'
20 ]]>
21 </command>
22 <configfiles>
23 <configfile name="mfassignr_findrecalseries"><![CDATA[
24 library(dplyr)
25 df <- read.table("$input_file", header=TRUE, sep="\t")
26 result <- MFAssignR::FindRecalSeries(
27 df = df,
28 global_min = $global_min,
29 global_max = $global_max,
30 number_of_combinations = $number_of_combinations,
31 abundance_score_threshold = $abundance_score_threshold,
32 peak_distance_threshold = $peak_distance_threshold,
33 coverage_threshold = $coverage_threshold,
34 fill_series = $fill_series
35 ) |> dplyr::rename(Series = series)
36
37 write.table(result, file="$final_series", sep="\t", row.names=FALSE)
38 ]]></configfile>
39 </configfiles>
40 <inputs>
41 <expand macro="findrecalseries_param"/>
42 </inputs>
43 <outputs>
44 <data name="final_series" format="tabular" label="Final recalibration series"/>
45 </outputs>
46 <tests>
47 <test>
48 <param name="input_file" value="recallist/recal_series.tabular"/>
49 <param name="global_min" value="100"/>
50 <param name="global_max" value="500"/>
51 <param name="abundance_score_threshold" value="50"/>
52 <param name="number_of_combinations" value="3"/>
53 <param name="coverage_threshold" value="50"/>
54 <param name="fill_series" value="TRUE"/>
55 <output name="final_series" file="findrecalseries/selected_series.tabular"/>
56 </test>
57 </tests>
58 <help>
59 @FINDRECALSERIES_HELP@
60
61 @GENERAL_HELP@
62 </help>
63 <expand macro="citations"/>
64 </tool>