Mercurial > repos > galaxyp > cardinal_mz_images
annotate macros.xml @ 7:5e6f8fb2df07 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
author | galaxyp |
---|---|
date | Thu, 23 Apr 2020 08:08:28 -0400 |
parents | 25b83cbd596a |
children | a69865da6f80 |
rev | line source |
---|---|
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
1 <macros> |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
2 <token name="@VERSION@">2.4.0</token> |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
3 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
4 <xml name="requirements"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
5 <requirements> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
6 <requirement type="package" version="@VERSION@">bioconductor-cardinal</requirement> |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
7 <requirement type="package" version="3.6.1">r-base</requirement> |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
8 <yield/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
9 </requirements> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
10 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
11 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
12 <xml name="print_version"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
13 <version_command><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
14 echo $(R --version | grep version | grep -v GNU)", Cardinal version" $(R --vanilla --slave -e "library(Cardinal); cat(sessionInfo()\$otherPkgs\$Cardinal\$Version)" 2> /dev/null | grep -v -i "WARNING: ") |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
15 ]]></version_command> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
16 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
17 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
18 <token name="@INPUT_LINKING@"><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
19 #if $infile.ext == 'imzml' |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
20 ln -s '${infile.extra_files_path}/imzml' infile.imzML && |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
21 ln -s '${infile.extra_files_path}/ibd' infile.ibd && |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
22 #elif $infile.ext == 'analyze75' |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
23 ln -s '${infile.extra_files_path}/hdr' infile.hdr && |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
24 ln -s '${infile.extra_files_path}/img' infile.img && |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
25 ln -s '${infile.extra_files_path}/t2m' infile.t2m && |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
26 #else |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
27 ln -s $infile infile.RData && |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
28 #end if |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
29 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
30 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
31 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
32 <token name="@READING_MSIDATA@"><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
33 ## importing MSI data files |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
34 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
35 #if $infile.ext == 'imzml' |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
36 #if str($processed_cond.processed_file) == "processed": |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
37 msidata <- readImzML('infile', resolution=$processed_cond.accuracy, attach.only=TRUE, units = "$processed_cond.units") |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
38 msidata = collect(msidata, as.matrix=TRUE) ##coercion to continuous |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
39 centroided(msidata) = $centroids |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
40 #else |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
41 msidata <- readImzML('infile', attach.only=TRUE) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
42 centroided(msidata) = $centroids |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
43 #end if |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
44 #elif $infile.ext == 'analyze75' |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
45 msidata = readAnalyze('infile', attach.only=TRUE) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
46 centroided(msidata) = $centroids |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
47 #else |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
48 ## function to read RData files independent of filename |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
49 loadRData <- function(fileName){ |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
50 load(fileName) |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
51 get(ls()[ls() != "fileName"]) |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
52 } |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
53 msidata = loadRData('infile.RData') |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
54 #end if |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
55 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
56 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
57 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
58 <token name="@DATA_PROPERTIES@"><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
59 ## Number of features (mz) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
60 maxfeatures = length(features(msidata)) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
61 ## Range mz |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
62 minmz = round(min(mz(msidata)), digits=2) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
63 maxmz = round(max(mz(msidata)), digits=2) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
64 ## Number of spectra (pixels) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
65 pixelcount = length(pixels(msidata)) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
66 ## Range x coordinates |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
67 minimumx = min(coord(msidata)[,1]) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
68 maximumx = max(coord(msidata)[,1]) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
69 ## Range y coordinates |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
70 minimumy = min(coord(msidata)[,2]) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
71 maximumy = max(coord(msidata)[,2]) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
72 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
73 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
74 properties = c("Number of m/z features", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
75 "Range of m/z values", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
76 "Number of pixels", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
77 "Range of x coordinates", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
78 "Range of y coordinates") |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
79 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
80 values = c(paste0(maxfeatures), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
81 paste0(minmz, " - ", maxmz), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
82 paste0(pixelcount), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
83 paste0(minimumx, " - ", maximumx), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
84 paste0(minimumy, " - ", maximumy)) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
85 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
86 property_df = data.frame(properties, values) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
87 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
88 |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
89 <token name="@READING_MSIDATA_FULLY_COMPATIBLE@"><![CDATA[ |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
90 ## importing MSI data files |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
91 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
92 #if $infile.ext == 'imzml' |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
93 #if str($processed_cond.processed_file) == "processed": |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
94 msidata <- readImzML('infile', resolution=$processed_cond.accuracy, units = "$processed_cond.units", attach.only=TRUE) |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
95 centroided(msidata) = $centroids |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
96 #else |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
97 msidata <- readImzML('infile', attach.only=TRUE) |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
98 centroided(msidata) = $centroids |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
99 #end if |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
100 #elif $infile.ext == 'analyze75' |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
101 msidata = readAnalyze('infile', attach.only=TRUE) |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
102 centroided(msidata) = $centroids |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
103 #else |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
104 ## function to read RData files independent of filename |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
105 loadRData <- function(fileName){ |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
106 load(fileName) |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
107 get(ls()[ls() != "fileName"]) |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
108 } |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
109 msidata = loadRData('infile.RData') |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
110 msidata = as(msidata, "MSImagingExperiment") |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
111 run(msidata) = "infile" |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
112 #end if |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
113 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
114 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
115 |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
116 <token name="@DATA_PROPERTIES_INRAM@"><![CDATA[ |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
117 ########################### QC numbers ######################## |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
118 ## including intensity calculations which need data in RAM |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
119 ## Number of features (mz) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
120 maxfeatures = length(features(msidata)) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
121 ## Range mz |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
122 minmz = round(min(mz(msidata)), digits=2) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
123 maxmz = round(max(mz(msidata)), digits=2) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
124 ## Number of spectra (pixels) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
125 pixelcount = length(pixels(msidata)) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
126 ## Range x coordinates |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
127 minimumx = min(coord(msidata)[,1]) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
128 maximumx = max(coord(msidata)[,1]) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
129 ## Range y coordinates |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
130 minimumy = min(coord(msidata)[,2]) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
131 maximumy = max(coord(msidata)[,2]) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
132 ## Range of intensities |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
133 minint = round(min(as.matrix(spectra(msidata)), na.rm=TRUE), digits=2) |
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
134 maxint = round(max(as.matrix(spectra(msidata)), na.rm=TRUE), digits=2) |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
135 ## Number of intensities > 0, for if conditions |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
136 npeaks= sum(as.matrix(spectra(msidata))>0, na.rm=TRUE) |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
137 ## Number of NA in spectra matrix |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
138 NAcount = sum(is.na(spectra(msidata))) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
139 ## Number of NA in spectra matrix |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
140 infcount = sum(is.infinite(as.matrix(spectra(msidata)))) |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
141 ## Number of duplicated coordinates |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
142 dupl_coord = sum(duplicated(coord(msidata))) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
143 properties = c("Number of m/z features", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
144 "Range of m/z values", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
145 "Number of pixels", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
146 "Range of x coordinates", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
147 "Range of y coordinates", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
148 "Range of intensities", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
149 "Number of NA intensities", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
150 "Number of Inf intensities", |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
151 "Number of duplicated coordinates") |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
152 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
153 values = c(paste0(maxfeatures), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
154 paste0(minmz, " - ", maxmz), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
155 paste0(pixelcount), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
156 paste0(minimumx, " - ", maximumx), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
157 paste0(minimumy, " - ", maximumy), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
158 paste0(minint, " - ", maxint), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
159 paste0(NAcount), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
160 paste0(infcount), |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
161 paste0(dupl_coord)) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
162 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
163 property_df = data.frame(properties, values) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
164 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
165 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
166 <token name="@CARDINAL_DESCRIPTION@"><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
167 Cardinal is an R package that implements statistical & computational tools for analyzing mass spectrometry imaging datasets. |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
168 `More information on Cardinal <http://cardinalmsi.org/>`_ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
169 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
170 <token name="@MSIDATA_INPUT_DESCRIPTION@"><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
171 **Input data** |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
172 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
173 - MSI data: 3 types of input data can be used: |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
174 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
175 - imzml file (upload imzml and ibd file via the "composite" function) `Introduction to the imzml format <https://ms-imaging.org/wp/imzml/>`_ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
176 - Analyze7.5 (upload hdr, img and t2m file via the "composite" function) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
177 - Cardinal "MSImageSet" data saved as .RData |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
178 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
179 <token name="@MZ_TABULAR_INPUT_DESCRIPTION@"><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
180 - Optional tabular file with m/z values: |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
181 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
182 - One column with numeric m/z values (without empty fields or letters) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
183 - The file is allowed to have any column names as header (in this case set "Tabular file contains a header line" to yes) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
184 - m/z features outside the m/z range of the input file are ignored |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
185 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
186 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
187 :: |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
188 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
189 m/z |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
190 100.0 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
191 100.01 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
192 100.02 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
193 ... |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
194 ... |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
195 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
196 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
197 <token name="@MZ_2COLS_TABULAR_INPUT_DESCRIPTION@"><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
198 - Tabular file with m/z values: |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
199 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
200 - One column with numeric m/z values (without empty fields or letters), another column with names for the m/z (m/z column can also be used as name) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
201 - The file is allowed to have any column names as header (in this case set "Tabular file contains a header line" to yes) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
202 - m/z features outside the m/z range of the input file are ignored |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
203 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
204 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
205 :: |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
206 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
207 m/z name |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
208 100.0 analyte1 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
209 100.01 analyte2 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
210 100.02 analyte3 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
211 ... |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
212 ... |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
213 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
214 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
215 <token name="@SPECTRA_TABULAR_INPUT_DESCRIPTION@"><![CDATA[ |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
216 - Optional file with pixel coordinates and annotation: |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
217 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
218 - Tabular file: One column with x values, one column with y values and one column with annotations |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
219 - The file is allowed to have any column names as header (in this case set "Tabular file contains a header line" to yes) |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
220 - Pixel with coordinates outside the coordinates of the input file are ignored |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
221 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
222 :: |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
223 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
224 x_coord y_coord annotation |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
225 1 1 healthy |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
226 2 1 healthy |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
227 3 1 disease |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
228 ... |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
229 ... |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
230 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
231 ]]></token> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
232 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
233 <xml name="reading_msidata"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
234 <param name="infile" type="data" format="imzml,rdata,analyze75" |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
235 label="MSI data" |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
236 help="Input file as imzML (composite upload), Analyze7.5 (composite upload) or Cardinal MSImageSet saved as RData (regular upload)"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
237 <param name="centroids" type="boolean" label="Centroided input" help="Choose Yes if peak detection has already been done." truevalue="TRUE" falsevalue="FALSE"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
238 <conditional name="processed_cond"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
239 <param name="processed_file" type="select" label="Processed imzML file" help="Choose no if your input is an Analyze7.5 or continuous imzML file"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
240 <option value="no_processed" selected="True">no</option> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
241 <option value="processed">yes</option> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
242 </param> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
243 <when value="no_processed"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
244 <when value="processed"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
245 <param name="accuracy" type="float" value="50" label="Mass accuracy to which the m/z values will be binned" help="This should be set to the native accuracy of the mass spectrometer, if known"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
246 <param name="units" display="radio" type="select" label="Unit of the mass accuracy" help="either m/z or ppm"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
247 <option value="mz" >mz</option> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
248 <option value="ppm" selected="True" >ppm</option> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
249 </param> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
250 </when> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
251 </conditional> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
252 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
253 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
254 <xml name="pdf_filename"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
255 <param name="filename" type="text" value="" label="Title" help="Will appear in the pdf output, if nothing given it will take the dataset name"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
256 <sanitizer invalid_char=""> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
257 <valid initial="string.ascii_letters,string.digits"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
258 <add value="_"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
259 <add value=" "/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
260 </valid> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
261 </sanitizer> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
262 </param> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
263 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
264 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
265 <xml name="sanitizer_multiple_digits"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
266 <sanitizer invalid_char=""> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
267 <valid initial="string.digits"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
268 <add value=":" /> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
269 <add value="," /> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
270 </valid> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
271 </sanitizer> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
272 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
273 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
274 <xml name="reading_1_column_mz_tabular" token_label="Tabular file with m/z features"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
275 <param name="mz_tabular" type="data" format="tabular" label="@LABEL@" help="Only numeric m/z values are allowed"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
276 <param name="feature_column" data_ref="mz_tabular" label="Column with features" type="data_column"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
277 <param name="feature_header" type="boolean" label="Tabular file contains a header line" truevalue="TRUE" falsevalue="FALSE"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
278 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
279 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
280 <xml name="reading_2_column_mz_tabular" token_optional="false"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
281 <param name="calibrant_file" type="data" optional="@OPTIONAL@" format="tabular" |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
282 label="m/z of interest (e.g. internal Calibrants)" help="one column with m/z values, optional second column with names (m/z values can also be selected as name)"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
283 <param name="mz_column" data_ref="calibrant_file" optional="@OPTIONAL@" label="Column with m/z values" type="data_column"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
284 <param name="name_column" data_ref="calibrant_file" optional="@OPTIONAL@" label="Column with name of m/z values" type="data_column"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
285 <param name="calibrant_header" type="boolean" optional="@OPTIONAL@" label="Tabular file contains a header line" truevalue="TRUE" falsevalue="FALSE"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
286 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
287 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
288 <xml name="reading_pixel_annotations"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
289 <param name="annotation_file" type="data" format="tabular" label="Tabular file with pixel coordinates and annotation" |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
290 help="Tabular file with three columns: x values, y values and pixel annotations"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
291 <param name="column_x" data_ref="annotation_file" label="Column with x values" type="data_column"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
292 <param name="column_y" data_ref="annotation_file" label="Column with y values" type="data_column"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
293 <param name="column_names" data_ref="annotation_file" label="Column with pixel annotations" type="data_column"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
294 <param name="tabular_header" type="boolean" label="Tabular file contains a header line" truevalue="TRUE" falsevalue="FALSE"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
295 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
296 |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
297 <xml name="citations"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
298 <citations> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
299 <citation type="doi">10.1093/bioinformatics/btv146</citation> |
7
5e6f8fb2df07
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit f986c51abe33c7f622d429a3c4a79ee24b33c1f3"
galaxyp
parents:
6
diff
changeset
|
300 <citation type="doi">10.1093/gigascience/giz143</citation> |
6
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
301 </citations> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
302 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
303 <xml name="infile_analyze75"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
304 <param name="infile" value="" ftype="analyze75"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
305 <composite_data value="Analyze75.hdr"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
306 <composite_data value="Analyze75.img"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
307 <composite_data value="Analyze75.t2m"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
308 </param> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
309 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
310 <xml name="infile_imzml"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
311 <param name="infile" value="" ftype="imzml"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
312 <composite_data value="Example_Continuous.imzML"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
313 <composite_data value="Example_Continuous.ibd"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
314 </param> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
315 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
316 <xml name="processed_infile_imzml"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
317 <param name="infile" value="" ftype="imzml"> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
318 <composite_data value="Example_Processed.imzML"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
319 <composite_data value="Example_Processed.ibd"/> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
320 </param> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
321 </xml> |
25b83cbd596a
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cardinal commit 15e24b1f0143679647906bc427654f66b417a45c"
galaxyp
parents:
4
diff
changeset
|
322 </macros> |