annotate mfassignr_isofiltr.xml @ 6:b880fcae60ea draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1e98df2131b9b5384ca2e4310f93270eae6f517c
author recetox
date Tue, 22 Oct 2024 07:25:31 +0000
parents f7a738bf392f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
f7a738bf392f planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 3
diff changeset
1 <tool id="mfassignr_isofiltr" name="MFAssignR IsoFiltR" version="@TOOL_VERSION@+galaxy1" profile="23.0">
1
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>
3
e7ef7718505d planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit c6e502d8af84750003e4ba001c61817acedd1896
recetox
parents: 2
diff changeset
5 <import>help.xml</import>
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
6 </macros>
1
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
7 <edam_topics>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
8 <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
9 </edam_topics>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
10 <edam_operations>
079ae9aa6ed5 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 87bb82e07c57753a71d9ce4efc757c4367200d15
recetox
parents: 0
diff changeset
11 <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
12 </edam_operations>
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
13 <expand macro="creator" />
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
14 <expand macro="refs" />
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 <expand macro="requirements" />
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
17 <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
18 Rscript '${mfassignr_isofiltr}'
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
19 ]]>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
20 </command>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
21 <configfiles>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
22 <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
23 peaks <- read.table("$peaks", header=TRUE, sep="\t")
5
f7a738bf392f planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 3
diff changeset
24 SN = $sn_ratio * $kmdn
f7a738bf392f planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 3
diff changeset
25
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
26 result <- MFAssignR::IsoFiltR(
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
27 peaks = peaks,
5
f7a738bf392f planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 4bd188e61f09431c0b7e73b35fb8ccf5ee7af6ac
recetox
parents: 3
diff changeset
28 SN = SN,
0
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
29 Carbrat = $Carbrat,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
30 Sulfrat = $Sulfrat,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
31 Sulferr = $Sulferr,
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
32 Carberr = $Carberr
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
33 )
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
34
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
35 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
36 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
37 ]]></configfile>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
38 </configfiles>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
39 <inputs>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
40 <expand macro="isofiltr_param"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
41 </inputs>
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 <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
44 <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
45 </outputs>
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 <test>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
48 <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
49 <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
50 <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
51 </test>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
52 </tests>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
53 <help>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
54 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
55 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
56
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
57 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
58
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 | mz | area | rt |
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 | 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
63 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
64 | 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
65 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
66 | ... | ... | ... |
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
67 +--------------------+-------------------+------------------------+
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
68 </help>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
69 <expand macro="citations"/>
c12a49b04ca0 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mfassignr commit 1ff446e70246c4f538a8636d2bcdad11d9d342d6
recetox
parents:
diff changeset
70 </tool>