annotate mfassignr_isofiltr.xml @ 0:c12a49b04ca0 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
author recetox
date Wed, 07 Aug 2024 14:27:51 +0000
parents
children 079ae9aa6ed5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
1 <tool id="mfassignr_isofiltr" name="MFAssignR IsoFiltR" version="@TOOL_VERSION@+galaxy0">
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
2 <description>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
3 IsoFiltR separates likely isotopic masses from monoisotopic masses in a mass list.
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
4 </description>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
5 <macros>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
6 <import>macros.xml</import>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
7 </macros>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
8 <expand macro="creator" />
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
9 <expand macro="refs" />
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
10
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
11 <expand macro="requirements" />
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
13 Rscript
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
14 -e 'source("${mfassignr_isofiltr}")'
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
15 ]]>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
16 </command>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
17 <configfiles>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
18 <configfile name="mfassignr_isofiltr"><![CDATA[
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
19 peaks <- read.table("$peaks", header=TRUE, sep="\t")
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
20 result <- MFAssignR::IsoFiltR(
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
21 peaks = peaks,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
22 SN = $SN,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
23 Carbrat = $Carbrat,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
24 Sulfrat = $Sulfrat,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
25 Sulferr = $Sulferr,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
26 Carberr = $Carberr
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
27 )
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
28
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
29 write.table(result[["Mono"]], file="$mono_out", sep="\t", row.names=FALSE)
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
30 write.table(result[["Iso"]], file="$iso_out", sep="\t", row.names=FALSE)
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
31 ]]></configfile>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
32 </configfiles>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
33 <inputs>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
34 <expand macro="isofiltr_param"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
35 </inputs>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
36 <outputs>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
37 <data name="mono_out" format="tabular" label="Monoisotopic Masses"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
38 <data name="iso_out" format="tabular" label="Isotopic Masses"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
39 </outputs>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
40 <tests>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
41 <test>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
42 <param name="peaks" value="QC1_1_POS_500.tabular" ftype="tabular"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
43 <output name="mono_out" file="isofiltr_output1.tabular" ftype="tabular"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
44 <output name="iso_out" file="isofiltr_output2.tabular" ftype="tabular"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
45 </test>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
46 </tests>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
47 <help>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
48 IsoFiltR identifies and separates likely isotopic masses from monoisotopic masses in a mass list.
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
49 This should be done prior to formula assignment to reduce incorrect formula assignments.
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
50
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
51 The input is a table containing abundance and peak mass in the following format:
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
52
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
53 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
54 | mz | area | rt |
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
55 +====================+===================+========================+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
56 | 110.03486266079899 | 3410926.862054969 | 190.03735922916195 |
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
57 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
58 | 110.05988136843429 | 7658687.858 | 241.17645551084158 |
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
59 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
60 | ... | ... | ... |
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
61 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
62 </help>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
63 <expand macro="citations"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
64 </tool>