annotate recetox_xmsannotator_simple.xml @ 4:6d9cda26796e draft default tip

"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
author recetox
date Fri, 28 Jan 2022 16:27:04 +0000
parents b8b1b865c82d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
1 <tool id="recetox_xmsannotator_simple" name="RECETOX xMSannotator simple" version="@TOOL_VERSION@+galaxy0">
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
2 <description>annotate peak intensity table</description>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
3 <macros>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
4 <import>macros.xml</import>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
5 </macros>
3
b8b1b865c82d "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit 2c173d0e31d016311ee2d73c468818b776a423b4"
recetox
parents: 2
diff changeset
6 <expand macro="creator"/>
2
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
7 <expand macro="requirements" />
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
8 <command detect_errors="aggressive"><![CDATA[
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
9 Rscript $wrapper
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
10 ]]></command>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
11
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
12 <configfiles>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
13 <configfile name="wrapper"><![CDATA[
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
14 library(xmsannotator)
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
15
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
16 annotation <- simple_annotation(
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
17 #if $peak_table.is_of_type("h5")
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
18 peak_table = load_peak_table_hdf("${peak_table}"),
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
19 #elif $peak_table.is_of_type("parquet")
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
20 peak_table = load_peak_table_parquet("${peak_table}"),
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
21 #end if
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
22 adduct_table = load_adduct_table_parquet("${adduct_table}"),
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
23 compound_table = load_compound_table_parquet("${compound_table}"),
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
24 mass_tolerance = 1e-6 * ${mass_tolerance_ppm}
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
25 )
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
26
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
27 save_parquet(data = annotation, file = "${annotation_parquet}")
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
28 ]]></configfile>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
29 </configfiles>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
30
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
31 <inputs>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
32 <expand macro="inputs"/>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
33 <expand macro="tolerance"/>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
34 </inputs>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
35
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
36 <outputs>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
37 <expand macro="outputs"/>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
38 </outputs>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
39
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
40 <help>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
41 <![CDATA[
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
42 @HELP@
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
43 ]]>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
44 </help>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
45
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
46 <citations>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
47 <expand macro="citations"/>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
48 </citations>
c72233720bdc "planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox-xmsannotator commit e547915248546657de13b91f28e5f4488ae8f7e0"
recetox
parents: 1
diff changeset
49 </tool>