annotate mfassignr_findRecalSeries.xml @ 4:1b4881c150cc 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:19:40 +0000
parents ad4176b336dc
children
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" />
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
15 <expand macro="requirements" />
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
16
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>
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
22
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
23 <configfiles>
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
24 <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
25 library(dplyr)
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
26 df <- read.table("$input_file", header=TRUE, sep="\t")
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
27 result <- MFAssignR::FindRecalSeriesSimple(df) |> dplyr::slice(-1)
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
28 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
29 ]]></configfile>
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
30 </configfiles>
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
31
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
32 <inputs>
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
33 <param name="input_file" type="data" format="tabular" label="Input data"
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
34 help="Recalibration series, output from RecalList"/>
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
35 </inputs>
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
36
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
37 <outputs>
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
38 <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
39 </outputs>
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
40
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
41 <tests>
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
42 <test>
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
43 <param name="input_file" value="recallist/recal_series.tabular"/>
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
44 <output name="final_series" file="findrecalseries/selected_series_simple.tabular"/>
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
45 </test>
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
46 </tests>
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
47
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
48 <help>
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
49 @FINDRECALSERIES_HELP@
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
50
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
51 @GENERAL_HELP@
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
52 </help>
4
1b4881c150cc planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 7d98b78ae27b24ee581d40ff0b624d7ecb288030
recetox
parents: 1
diff changeset
53
0
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
54 <expand macro="citations"/>
a26b860d6ce7 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents:
diff changeset
55 </tool>