annotate mfassignr_findRecalSeries.xml @ 1:ad4176b336dc draft

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