annotate mfassignr_isofiltr.xml @ 1:079ae9aa6ed5 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
author recetox
date Thu, 15 Aug 2024 12:01:23 +0000
parents c12a49b04ca0
children e4ddc3bc7e15
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
1 <tool id="mfassignr_isofiltr" name="MFAssignR IsoFiltR" version="@TOOL_VERSION@+galaxy0" profile="23.0">
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
2 <description>Separates likely isotopic masses from monoisotopic masses in a mass list</description>
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
3 <macros>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
4 <import>macros.xml</import>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
5 </macros>
1
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
6 <edam_topics>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
7 <edam_topic>topic_3172</edam_topic>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
8 </edam_topics>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
9 <edam_operations>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
10 <edam_operation>operation_3629</edam_operation>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
11 </edam_operations>
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
12 <expand macro="creator" />
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
13 <expand macro="refs" />
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
14
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
15 <expand macro="requirements" />
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
16 <command detect_errors="exit_code"><![CDATA[
1
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
17 Rscript '${mfassignr_isofiltr}'
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
18 ]]>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
19 </command>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
20 <configfiles>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
21 <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
22 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
23 result <- MFAssignR::IsoFiltR(
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
24 peaks = peaks,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
25 SN = $SN,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
26 Carbrat = $Carbrat,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
27 Sulfrat = $Sulfrat,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
28 Sulferr = $Sulferr,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
29 Carberr = $Carberr
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
30 )
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
31
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
32 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
33 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
34 ]]></configfile>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
35 </configfiles>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
36 <inputs>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
37 <expand macro="isofiltr_param"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
38 </inputs>
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 <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
41 <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
42 </outputs>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
43 <tests>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
44 <test>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
45 <param name="peaks" value="QC1_1_POS_500.tabular" ftype="tabular"/>
1
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
46 <output name="mono_out" file="isofiltr/mono_out.tabular" ftype="tabular"/>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
47 <output name="iso_out" file="isofiltr/iso_out.tabular" ftype="tabular"/>
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
48 </test>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
49 </tests>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
50 <help>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
51 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
52 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
53
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
54 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
55
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
56 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
57 | mz | area | rt |
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
58 +====================+===================+========================+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
59 | 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
60 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
61 | 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
62 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
63 | ... | ... | ... |
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
64 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
65 </help>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
66 <expand macro="citations"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
67 </tool>