Mercurial > repos > galaxyp > msi_preprocessing
annotate msi_preprocessing.xml @ 10:df8d7f6f210b draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
author | galaxyp |
---|---|
date | Tue, 04 Sep 2018 13:42:22 -0400 |
parents | 4d5578b57a77 |
children |
rev | line source |
---|---|
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
1 <tool id="mass_spectrometry_imaging_preprocessing" name="MSI preprocessing" version="1.10.0.7"> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
2 <description> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
3 mass spectrometry imaging preprocessing |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
4 </description> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
5 <requirements> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
6 <requirement type="package" version="1.10.0">bioconductor-cardinal</requirement> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
7 <requirement type="package" version="2.2.1">r-gridextra</requirement> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
8 <requirement type="package" version="0.20-35">r-lattice</requirement> |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
9 <requirement type="package" version="2.2.1">r-ggplot2</requirement> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
10 </requirements> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
11 <command detect_errors="exit_code"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
12 <![CDATA[ |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
13 |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
14 #if $infile.ext == 'imzml' |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
15 ln -s '${infile.extra_files_path}/imzml' infile.imzML && |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
16 ln -s '${infile.extra_files_path}/ibd' infile.ibd && |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
17 #elif $infile.ext == 'analyze75' |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
18 ln -s '${infile.extra_files_path}/hdr' infile.hdr && |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
19 ln -s '${infile.extra_files_path}/img' infile.img && |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
20 ln -s '${infile.extra_files_path}/t2m' infile.t2m && |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
21 #else |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
22 ln -s '$infile' infile.RData && |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
23 #end if |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
24 cat '${cardinal_preprocessing}' && |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
25 Rscript '${cardinal_preprocessing}' |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
26 |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
27 ]]> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
28 </command> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
29 <configfiles> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
30 <configfile name="cardinal_preprocessing"><![CDATA[ |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
31 |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
32 ################################# load libraries and read file ################# |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
33 |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
34 library(Cardinal) |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
35 library(gridExtra) |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
36 library(lattice) |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
37 library(ggplot2) |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
38 |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
39 #if $infile.ext == 'imzml' |
6
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
40 #if str($processed_cond.processed_file) == "processed": |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
41 msidata <- readImzML('infile', mass.accuracy=$processed_cond.accuracy, units.accuracy = "$processed_cond.units") |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
42 #else |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
43 msidata <- readImzML('infile', attach.only=TRUE) |
6
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
44 #end if |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
45 #elif $infile.ext == 'analyze75' |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
46 msidata = readAnalyze('infile', attach.only=TRUE) |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
47 #else |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
48 loadRData <- function(fileName){ |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
49 load(fileName) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
50 get(ls()[ls() != "fileName"]) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
51 } |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
52 msidata = loadRData('infile.RData') |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
53 #end if |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
54 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
55 print(paste0("Number of NA in input file: ",sum(is.na(spectra(msidata)[])))) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
56 |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
57 ## function to later read RData reference files in |
1
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
58 |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
59 loadRData <- function(fileName){ |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
60 #loads an RData file, and returns it |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
61 load(fileName) |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
62 get(ls()[ls() != "fileName"]) |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
63 } |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
64 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
65 if (sum(spectra(msidata)[]>0, na.rm=TRUE)> 0){ |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
66 ######################### preparations for QC report ################# |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
67 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
68 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
69 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
70 medint = round(median(spectra(msidata)[],na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
71 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
72 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
73 QC_numbers= data.frame(inputdata = c(minmz, maxmz,maxfeatures, medianpeaks, medint)) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
74 vectorofactions = "inputdata" |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
75 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
76 ############################### Preprocessing steps ########################### |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
77 ############################################################################### |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
78 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
79 #for $method in $methods: |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
80 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
81 ############################### Normalization ########################### |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
82 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
83 #if str( $method.methods_conditional.preprocessing_method ) == 'Normalization': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
84 print('Normalization') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
85 ##normalization |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
86 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
87 msidata = normalize(msidata, method="tic") |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
88 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
89 ############################### QC ########################### |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
90 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
91 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
92 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE),) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
93 medint = round(median(spectra(msidata)[], na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
94 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
95 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
96 normalized = c(minmz, maxmz,maxfeatures, medianpeaks, medint) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
97 QC_numbers= cbind(QC_numbers, normalized) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
98 vectorofactions = append(vectorofactions, "normalized") |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
99 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
100 ############################### Baseline reduction ########################### |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
101 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
102 #elif str( $method.methods_conditional.preprocessing_method ) == 'Baseline_reduction': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
103 print('Baseline_reduction') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
104 ##baseline reduction |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
105 |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
106 msidata = reduceBaseline(msidata, method="median", blocks=$method.methods_conditional.blocks_baseline, spar=$method.methods_conditional.spar_baseline) |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
107 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
108 ############################### QC ########################### |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
109 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
110 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
111 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
112 medint = round(median(spectra(msidata)[], na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
113 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
114 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
115 baseline = c(minmz, maxmz,maxfeatures, medianpeaks, medint) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
116 QC_numbers= cbind(QC_numbers, baseline) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
117 vectorofactions = append(vectorofactions, "baseline red.") |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
118 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
119 ############################### Smoothing ########################### |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
120 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
121 #elif str( $method.methods_conditional.preprocessing_method ) == 'Smoothing': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
122 print('Smoothing') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
123 ## Smoothing |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
124 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
125 #if str( $method.methods_conditional.methods_for_smoothing.smoothing_method) == 'gaussian': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
126 print('gaussian smoothing') |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
127 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
128 msidata = smoothSignal(msidata, method="$method.methods_conditional.methods_for_smoothing.smoothing_method", window=$method.methods_conditional.window_smoothing, sd = $method.methods_conditional.methods_for_smoothing.sd_gaussian) |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
129 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
130 #elif str( $method.methods_conditional.methods_for_smoothing.smoothing_method) == 'sgolay': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
131 print('sgolay smoothing') |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
132 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
133 msidata = smoothSignal(msidata, method="$method.methods_conditional.methods_for_smoothing.smoothing_method", window=$method.methods_conditional.window_smoothing, order = $method.methods_conditional.methods_for_smoothing.order_of_filters) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
134 #elif str($method.methods_conditional.methods_for_smoothing.smoothing_method) == 'ma': |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
135 print('moving average smoothing') |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
136 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
137 msidata = smoothSignal(msidata, method="$method.methods_conditional.methods_for_smoothing.smoothing_method", window=$method.methods_conditional.window_smoothing, coef = $method.methods_conditional.methods_for_smoothing.coefficients_ma_filter) |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
138 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
139 #end if |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
140 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
141 ############################### QC ########################### |
1
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
142 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
143 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
144 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
145 medint = round(median(spectra(msidata)[], na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
146 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
147 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
148 smoothed = c(minmz, maxmz,maxfeatures, medianpeaks, medint) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
149 QC_numbers= cbind(QC_numbers, smoothed) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
150 vectorofactions = append(vectorofactions, "smoothed") |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
151 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
152 ############################### Peak picking ########################### |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
153 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
154 #elif str( $method.methods_conditional.preprocessing_method) == 'Peak_picking': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
155 print('Peak_picking') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
156 ## Peakpicking |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
157 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
158 ## remove duplicated coordinates, otherwise peak picking will fail |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
159 print(paste0(sum(duplicated(coord(msidata))), " duplicated coordinates were removed")) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
160 msidata <- msidata[,!duplicated(coord(msidata))] |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
161 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
162 #if str( $method.methods_conditional.methods_for_picking.picking_method) == 'adaptive': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
163 print('adaptive peakpicking') |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
164 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
165 msidata = peakPick(msidata, window = $method.methods_conditional.window_picking, blocks = $method.methods_conditional.blocks_picking, method='$method.methods_conditional.methods_for_picking.picking_method', SNR=$method.methods_conditional.SNR_picking_method, spar=$method.methods_conditional.methods_for_picking.spar_picking) |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
166 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
167 #elif str( $method.methods_conditional.methods_for_picking.picking_method) == 'limpic': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
168 print('limpic peakpicking') |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
169 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
170 msidata = peakPick(msidata, window = $method.methods_conditional.window_picking, blocks = $method.methods_conditional.blocks_picking, method='$method.methods_conditional.methods_for_picking.picking_method', SNR=$method.methods_conditional.SNR_picking_method, thresh=$method.methods_conditional.methods_for_picking.tresh_picking) |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
171 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
172 #elif str( $method.methods_conditional.methods_for_picking.picking_method) == 'simple': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
173 print('simple peakpicking') |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
174 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
175 msidata = peakPick(msidata, window = $method.methods_conditional.window_picking, blocks = $method.methods_conditional.blocks_picking, method='$method.methods_conditional.methods_for_picking.picking_method', SNR=$method.methods_conditional.SNR_picking_method) |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
176 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
177 #end if |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
178 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
179 ############################### QC ########################### |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
180 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
181 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
182 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
183 medint = round(median(spectra(msidata)[], na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
184 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
185 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
186 picked = c(minmz, maxmz,maxfeatures, medianpeaks, medint) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
187 QC_numbers= cbind(QC_numbers, picked) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
188 vectorofactions = append(vectorofactions, "picked") |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
189 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
190 ############################### Peak alignment ########################### |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
191 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
192 #elif str( $method.methods_conditional.preprocessing_method ) == 'Peak_alignment': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
193 print('Peak_alignment') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
194 ## Peakalignment |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
195 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
196 #if str( $method.methods_conditional.align_ref_type.align_reference_datatype) == 'align_noref': |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
197 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
198 align_peak_reference = msidata |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
199 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
200 #elif str( $method.methods_conditional.align_ref_type.align_reference_datatype) == 'align_table': |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
201 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
202 align_reference_table = read.delim("$method.methods_conditional.align_ref_type.align_peaks_table", header = FALSE, stringsAsFactors = FALSE) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
203 align_reference_column = align_reference_table[,$method.methods_conditional.align_ref_type.align_mass_column] |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
204 align_peak_reference = align_reference_column[align_reference_column>=min(mz(msidata)) & align_reference_column<=max(mz(msidata))] |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
205 if (length(align_peak_reference) == 0) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
206 {align_peak_reference = 0} |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
207 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
208 #elif str( $method.methods_conditional.align_ref_type.align_reference_datatype) == 'align_msidata_ref': |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
209 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
210 align_peak_reference = loadRData('$method.methods_conditional.align_ref_type.align_peaks_msidata') |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
211 |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
212 #end if |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
213 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
214 #if str( $method.methods_conditional.methods_for_alignment.alignment_method) == 'diff': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
215 print('diff peakalignment') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
216 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
217 msidata = peakAlign(msidata, method='$method.methods_conditional.methods_for_alignment.alignment_method',diff.max =$method.methods_conditional.methods_for_alignment.value_diffalignment, units = "$method.methods_conditional.methods_for_alignment.units_diffalignment", ref=align_peak_reference) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
218 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
219 #elif str( $method.methods_conditional.methods_for_alignment.alignment_method) == 'DP': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
220 print('DPpeakalignment') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
221 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
222 msidata = peakAlign(msidata, method='$method.methods_conditional.methods_for_alignment.alignment_method',gap = $method.methods_conditional.methods_for_alignment.gap_DPalignment, ref=align_peak_reference) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
223 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
224 #end if |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
225 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
226 ############################### QC ########################### |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
227 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
228 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
229 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
230 medint = round(median(spectra(msidata)[], na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
231 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
232 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
233 aligned = c(minmz, maxmz,maxfeatures, medianpeaks, medint) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
234 QC_numbers= cbind(QC_numbers, aligned) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
235 vectorofactions = append(vectorofactions, "aligned") |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
236 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
237 ############################### Peak filtering ########################### |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
238 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
239 #elif str( $method.methods_conditional.preprocessing_method) == 'Peak_filtering': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
240 print('Peak_filtering') |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
241 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
242 msidata = peakFilter(msidata, method='freq', freq.min = $method.methods_conditional.frequ_filtering) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
243 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
244 ############################### QC ########################### |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
245 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
246 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
247 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
248 medint = round(median(spectra(msidata)[], na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
249 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
250 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
251 filtered = c(minmz, maxmz,maxfeatures, medianpeaks, medint) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
252 QC_numbers= cbind(QC_numbers, filtered) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
253 vectorofactions = append(vectorofactions, "filtered") |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
254 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
255 ############################### Data reduction ########################### |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
256 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
257 #elif str( $method.methods_conditional.preprocessing_method) == 'Data_reduction': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
258 print('Data_reduction') |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
259 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
260 #if str( $method.methods_conditional.methods_for_reduction.reduction_method) == 'bin': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
261 print('bin reduction') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
262 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
263 msidata = reduceDimension(msidata, method="bin", width=$method.methods_conditional.methods_for_reduction.bin_width, units="$method.methods_conditional.methods_for_reduction.bin_units", fun=$method.methods_conditional.methods_for_reduction.bin_fun) |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
264 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
265 #elif str( $method.methods_conditional.methods_for_reduction.reduction_method) == 'resample': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
266 print('resample reduction') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
267 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
268 msidata = reduceDimension(msidata, method="resample", step=$method.methods_conditional.methods_for_reduction.resample_step) |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
269 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
270 #elif str( $method.methods_conditional.methods_for_reduction.reduction_method) == 'peaks': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
271 print('peaks reduction') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
272 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
273 #if str( $method.methods_conditional.methods_for_reduction.ref_type.reference_datatype) == 'table': |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
274 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
275 reference_table = read.delim("$method.methods_conditional.methods_for_reduction.ref_type.peaks_table", header = FALSE, stringsAsFactors = FALSE) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
276 reference_column = reference_table[,$method.methods_conditional.methods_for_reduction.ref_type.mass_column] |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
277 peak_reference = reference_column[reference_column>min(mz(msidata)) & reference_column<max(mz(msidata))] |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
278 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
279 #elif str( $method.methods_conditional.methods_for_reduction.ref_type.reference_datatype) == 'msidata_ref': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
280 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
281 peak_reference = loadRData('$method.methods_conditional.methods_for_reduction.ref_type.peaks_msidata') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
282 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
283 #end if |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
284 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
285 msidata = reduceDimension(msidata, method="peaks", ref=peak_reference, type="$method.methods_conditional.methods_for_reduction.peaks_type") |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
286 #end if |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
287 ############################### QC ########################### |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
288 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
289 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
290 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
291 medint = round(median(spectra(msidata)[], na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
292 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
293 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
294 reduced = c(minmz, maxmz,maxfeatures, medianpeaks, medint) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
295 QC_numbers= cbind(QC_numbers, reduced) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
296 vectorofactions = append(vectorofactions, "reduced") |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
297 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
298 ############################### Transformation ########################### |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
299 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
300 #elif str( $method.methods_conditional.preprocessing_method) == 'Transformation': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
301 print('Transformation') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
302 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
303 #if str( $method.methods_conditional.transf_conditional.trans_type) == 'log2': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
304 print('log2 transformation') |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
305 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
306 spectra(msidata)[][spectra(msidata)[] ==0] = NA |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
307 print(paste0("Number of 0 which were converted into NA:",sum(is.na(spectra(msidata)[])))) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
308 spectra(msidata)[] = log2(spectra(msidata)[]) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
309 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
310 #elif str( $method.methods_conditional.transf_conditional.trans_type) == 'sqrt': |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
311 print('squareroot transformation') |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
312 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
313 spectra(msidata)[] = sqrt(spectra(msidata)[]) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
314 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
315 #end if |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
316 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
317 ############################### QC ########################### |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
318 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
319 maxfeatures = length(features(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
320 medianpeaks = median(colSums(spectra(msidata)[]>0, na.rm=TRUE)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
321 medint = round(median(spectra(msidata)[], na.rm=TRUE), digits=2) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
322 minmz = round(min(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
323 maxmz = round(max(mz(msidata)), digits=2) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
324 transformed = c(minmz, maxmz,maxfeatures, medianpeaks, medint) |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
325 QC_numbers= cbind(QC_numbers, transformed) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
326 vectorofactions = append(vectorofactions, "transformed") |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
327 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
328 #end if |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
329 #end for |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
330 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
331 ############# Outputs: summar matrix, RData, tabular and QC report ############# |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
332 ################################################################################ |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
333 ## optional summarized matrix |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
334 print('Summarized matrix') |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
335 |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
336 ## optional annotation from tabular file to obtain groups over which to apply mean, median or sd (otherwise all pixels are considered to be sample) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
337 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
338 #if str($tabular_annotation.load_annotation) == 'yes_annotation': |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
339 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
340 ## read and extract x,y,annotation information |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
341 input_tabular = read.delim("$tabular_annotation.annotation_file", header = $tabular_annotation.tabular_header, stringsAsFactors = FALSE) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
342 annotation_input = input_tabular[,c($tabular_annotation.column_x, $tabular_annotation.column_y, $tabular_annotation.column_names)] |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
343 colnames(annotation_input) = c("x", "y", "annotation") |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
344 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
345 ## merge with coordinate information of msidata |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
346 msidata_coordinates = cbind(coord(msidata)[,1:2], c(1:ncol(msidata))) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
347 colnames(msidata_coordinates)[3] = "pixel_index" |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
348 merged_annotation = merge(msidata_coordinates, annotation_input, by=c("x", "y"), all.x=TRUE) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
349 merged_annotation[is.na(merged_annotation)] = "NA" |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
350 merged_annotation = merged_annotation[order(merged_annotation\$pixel_index),] |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
351 msidata\$annotation = as.factor(merged_annotation[,4]) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
352 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
353 #end if |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
354 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
355 #if "mean" in str($summary_type).split(","): |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
356 print("mean matrix") |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
357 if (!is.null(levels(msidata\$annotation))){ |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
358 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
359 sample_matrix = matrix(,ncol=0, nrow=nrow(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
360 count = 1 |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
361 for (subsample in levels(msidata\$annotation)){ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
362 subsample_pixels = msidata[,msidata\$annotation == subsample] |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
363 subsample_calc = apply(spectra(subsample_pixels)[],1,mean, na.rm=TRUE) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
364 sample_matrix = cbind(sample_matrix, subsample_calc) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
365 count = count+1 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
366 } |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
367 |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
368 sample_matrix_mean = cbind(mz(msidata),sample_matrix) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
369 sample_matrix_mean = rbind(c("mz", levels(msidata\$annotation)), sample_matrix_mean) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
370 write.table(sample_matrix_mean, file="$summarized_mean", quote = FALSE, row.names = FALSE, col.names=FALSE, sep = "\t") |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
371 }else{ |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
372 full_sample_calc_mean = as.data.frame(apply(spectra(msidata)[],1,mean, na.rm=TRUE)) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
373 full_sample_calc_mean = cbind(mz(msidata),full_sample_calc_mean) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
374 full_sample_calc_mean = rbind(c("mz", "$infile.display_name"), full_sample_calc_mean) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
375 write.table(full_sample_calc_mean, file="$summarized_mean", quote = FALSE, row.names = FALSE, col.names=FALSE, sep = "\t") |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
376 } |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
377 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
378 #end if |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
379 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
380 #if "median" in str($summary_type).split(","): |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
381 print("median matrix") |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
382 if (!is.null(levels(msidata\$annotation))){ |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
383 sample_matrix = matrix(,ncol=0, nrow=nrow(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
384 count = 1 |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
385 for (subsample in levels(msidata\$annotation)){ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
386 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
387 subsample_pixels = msidata[,msidata\$annotation == subsample] ## no idea why it does not work??? NA problem?! |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
388 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
389 subsample_calc = apply(spectra(subsample_pixels)[],1,median, na.rm=TRUE) |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
390 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
391 sample_matrix = cbind(sample_matrix, subsample_calc) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
392 count = count+1 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
393 } |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
394 |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
395 sample_matrix_median = cbind(mz(msidata),sample_matrix) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
396 sample_matrix_median = rbind(c("mz", levels(msidata\$annotation)), sample_matrix_median) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
397 write.table(sample_matrix_median, file="$summarized_median", quote = FALSE, row.names = FALSE, col.names=FALSE, sep = "\t") |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
398 }else{ |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
399 |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
400 full_sample_calc_median = as.data.frame(apply(spectra(msidata)[],1,median, na.rm=TRUE)) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
401 full_sample_calc_median = cbind(mz(msidata),full_sample_calc_median) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
402 full_sample_calc_median = rbind(c("mz", "$infile.display_name"), full_sample_calc_median) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
403 write.table(full_sample_calc_median, file="$summarized_median", quote = FALSE, row.names = FALSE, col.names=FALSE, sep = "\t") |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
404 } |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
405 #end if |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
406 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
407 #if "sd" in str($summary_type).split(","): |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
408 print("sd matrix") |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
409 if (!is.null(levels(msidata\$annotation))){ |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
410 sample_matrix = matrix(,ncol=0, nrow=nrow(msidata)) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
411 count = 1 |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
412 for (subsample in levels(msidata\$annotation)){ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
413 subsample_pixels = msidata[,msidata\$annotation == subsample] |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
414 subsample_calc = apply(spectra(subsample_pixels)[],1,sd, na.rm=TRUE) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
415 sample_matrix = cbind(sample_matrix, subsample_calc) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
416 count = count+1 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
417 } |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
418 |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
419 sample_matrix_sd = cbind(mz(msidata),sample_matrix) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
420 sample_matrix_sd = rbind(c("mz", levels(msidata\$annotation)), sample_matrix_sd) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
421 write.table(sample_matrix_sd, file="$summarized_sd", quote = FALSE, row.names = FALSE, col.names=FALSE, sep = "\t") |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
422 }else{ |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
423 |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
424 full_sample_calc_sd = as.data.frame(apply(spectra(msidata)[],1,sd, na.rm=TRUE)) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
425 full_sample_calc_sd = cbind(mz(msidata),full_sample_calc_sd) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
426 full_sample_calc_sd = rbind(c("mz", "$infile.display_name"), full_sample_calc_sd) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
427 write.table(full_sample_calc_sd, file="$summarized_sd", quote = FALSE, row.names = FALSE, col.names=FALSE, sep = "\t") |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
428 } |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
429 #end if |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
430 print(paste0("Number of NA in output file: ",sum(is.na(spectra(msidata)[])))) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
431 |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
432 ## save as (.RData) |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
433 save(msidata, file="$msidata_preprocessed") |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
434 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
435 ## save output matrix |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
436 #if $output_matrix: |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
437 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
438 if (length(features(msidata))> 0 & length(pixels(msidata)) > 0){ |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
439 spectramatrix = spectra(msidata)[] |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
440 spectramatrix = cbind(mz(msidata),spectramatrix) |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
441 newmatrix = rbind(c("mz", names(pixels(msidata))), spectramatrix) |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
442 write.table(newmatrix, file="$intensity_matrix", quote = FALSE, row.names = FALSE, col.names=FALSE, sep = "\t") |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
443 }else{ |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
444 print("file has no features or pixels left") |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
445 } |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
446 #end if |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
447 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
448 ## save QC report |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
449 |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
450 pdf("Preprocessing.pdf", fonts = "Times", pointsize = 12) |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
451 plot(0,type='n',axes=FALSE,ann=FALSE) |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
452 title(main=paste("Quality control during preprocessing \n", "Filename:", "$infile.display_name")) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
453 rownames(QC_numbers) = c("min m/z", "max mz", "# features", "median\n# peaks", "median\nintensity") |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
454 grid.table(t(QC_numbers)) |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
455 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
456 #if str($tabular_annotation.load_annotation) == 'yes_annotation': |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
457 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
458 ## the more annotation groups a file has the smaller will be the legend |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
459 number_combined = length(levels(msidata\$annotation)) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
460 if (number_combined<20){ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
461 legend_size = 10 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
462 }else if (number_combined>20 && number_combined<40){ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
463 legend_size = 9 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
464 }else if (number_combined>40 && number_combined<60){ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
465 legend_size = 8 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
466 }else if (number_combined>60 && number_combined<100){ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
467 legend_size = 7 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
468 }else{ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
469 legend_size = 6 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
470 } |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
471 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
472 position_df = cbind(coord(msidata)[,1:2], msidata\$annotation) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
473 colnames(position_df)[3] = "sample_name" |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
474 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
475 combine_plot = ggplot(position_df, aes(x=x, y=y, fill=sample_name))+ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
476 geom_tile() + |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
477 coord_fixed()+ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
478 ggtitle("Spatial orientation of annotated data")+ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
479 theme_bw()+ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
480 theme(plot.title = element_text(hjust = 0.5))+ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
481 theme(text=element_text(family="ArialMT", face="bold", size=12))+ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
482 theme(legend.position="bottom",legend.direction="vertical")+ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
483 theme(legend.key.size = unit(0.2, "line"), legend.text = element_text(size = legend_size))+ |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
484 guides(fill=guide_legend(ncol=5,byrow=TRUE)) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
485 coord_labels = aggregate(cbind(x,y)~sample_name, data=position_df, mean) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
486 coord_labels\$file_number = gsub( "_.*$", "", coord_labels\$sample_name) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
487 for(file_count in 1:nrow(coord_labels)) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
488 {combine_plot = combine_plot + annotate("text",x=coord_labels[file_count,"x"], |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
489 y=coord_labels[file_count,"y"],label=toString(coord_labels[file_count,4]))} |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
490 |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
491 print(combine_plot) |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
492 #end if |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
493 |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
494 dev.off() |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
495 |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
496 }else{ |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
497 print("inputfile has no intensities > 0") |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
498 } |
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
499 |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
500 ]]></configfile> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
501 </configfiles> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
502 <inputs> |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
503 <param name="infile" type="data" format="imzml,rdata,analyze75" |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
504 label="MSI data as imzml, analyze7.5 or Cardinal MSImageSet saved as RData" |
1
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
505 help="load imzml and ibd file by uploading composite datatype imzml"/> |
6
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
506 <conditional name="processed_cond"> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
507 <param name="processed_file" type="select" label="Is the input file a processed imzML file "> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
508 <option value="no_processed" selected="True">not a processed imzML</option> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
509 <option value="processed">processed imzML</option> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
510 </param> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
511 <when value="no_processed"/> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
512 <when value="processed"> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
513 <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"/> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
514 <param name="units" display="radio" type="select" label="Unit of the mass accuracy" help="either m/z or ppm"> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
515 <option value="mz" >mz</option> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
516 <option value="ppm" selected="True" >ppm</option> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
517 </param> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
518 </when> |
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
519 </conditional> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
520 <repeat name="methods" title="Preprocessing" min="1" max="50"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
521 <conditional name="methods_conditional"> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
522 <param name="preprocessing_method" type="select" label="Preprocessing methods"> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
523 <option value="Normalization" selected="True">Normalization to TIC</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
524 <option value="Baseline_reduction">Baseline Reduction</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
525 <option value="Smoothing">Peak smoothing</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
526 <option value="Peak_picking">Peak picking</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
527 <option value="Peak_alignment">Peak alignment</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
528 <option value="Peak_filtering">Peak filtering</option> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
529 <option value="Data_reduction">Data reduction</option> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
530 <option value="Transformation">Transformation</option> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
531 </param> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
532 <when value="Normalization"/> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
533 <when value="Baseline_reduction"> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
534 <param name="blocks_baseline" type="integer" value="500" |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
535 label="Blocks"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
536 <param name="spar_baseline" type="float" value="1.0" label="Spar value" |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
537 help = "Smoothing parameter for the spline smoothing |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
538 applied to the spectrum in order to decide the cutoffs |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
539 for throwing away false noise spikes that might occur inside peaks"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
540 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
541 <when value="Smoothing"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
542 <conditional name="methods_for_smoothing"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
543 <param name="smoothing_method" type="select" label="Smoothing method"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
544 <option value="gaussian" selected="True">gaussian</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
545 <option value="sgolay">Savitsky-Golay</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
546 <option value="ma">moving average</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
547 </param> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
548 <when value="gaussian"> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
549 <param name="sd_gaussian" type="float" value="2" |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
550 label="The standard deviation for the Gaussian kernel (window/sd)"/> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
551 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
552 <when value="sgolay"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
553 <param name="order_of_filters" type="integer" value="3" |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
554 label="The order of the smoothing filter, must be smaller than window size"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
555 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
556 <when value="ma"> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
557 <param name="coefficients_ma_filter" type="float" value="1" |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
558 label="The coefficients for the moving average filter"/> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
559 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
560 </conditional> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
561 <param name="window_smoothing" type="float" value="8" |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
562 label="Window size"/> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
563 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
564 <when value="Peak_picking"> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
565 <param name="SNR_picking_method" type="integer" value="6" |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
566 label="Signal to noise ratio" |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
567 help="The minimal signal to noise ratio for peaks to be considered as a valid peak."/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
568 <param name="blocks_picking" type="integer" value="100" label = "Number of blocks" |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
569 help="Number of blocks in which to divide mass spectrum to calculate noise"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
570 <param name="window_picking" type="float" value="5" label= "Window size" help="Window width for seeking local maxima"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
571 <conditional name="methods_for_picking"> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
572 <param name="picking_method" type="select" label="Peak picking method" help="only simple works for processed imzML files"> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
573 <option value="adaptive" selected="True">adaptive</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
574 <option value="limpic">limpic</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
575 <option value="simple">simple</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
576 </param> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
577 <when value="adaptive"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
578 <param name="spar_picking" type="float" value="1.0" |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
579 label="Spar value" |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
580 help = "Smoothing parameter for the spline smoothing |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
581 applied to the spectrum in order to decide the cutoffs |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
582 for throwing away false noise spikes that might occur inside peaks"/> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
583 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
584 <when value="limpic"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
585 <param name="tresh_picking" type="float" value="0.75" |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
586 label="thresh value" help="The thresholding quantile to use when comparing slopes in order to throw away peaks that are too flat"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
587 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
588 <when value="simple"/> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
589 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
590 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
591 <when value="Peak_alignment"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
592 <conditional name="methods_for_alignment"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
593 <param name="alignment_method" type="select" label="Alignment method"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
594 <option value="diff" selected="True">diff</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
595 <option value="DP">DP</option> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
596 </param> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
597 <when value="diff"> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
598 <param name="value_diffalignment" type="float" value="200" |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
599 label="diff.max" help="Peaks that differ less than this value will be aligned together"/> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
600 <param name="units_diffalignment" type="select" display = "radio" optional = "False" |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
601 label="units"> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
602 <option value="ppm" selected="True">ppm</option> |
6
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
603 <option value="Da">m/z</option> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
604 </param> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
605 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
606 <when value="DP"> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
607 <param name="gap_DPalignment" type="float" value="0" |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
608 label="Gap" help="The gap penalty for the dynamic programming sequence alignment"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
609 </when> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
610 </conditional> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
611 <conditional name="align_ref_type"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
612 <param name="align_reference_datatype" type="select" label="Choose reference"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
613 <option value="align_noref" selected="True">no reference</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
614 <option value="align_table" >tabular file as reference</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
615 <option value="align_msidata_ref">msidata file as reference</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
616 </param> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
617 <when value="align_noref"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
618 <when value="align_table"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
619 <param name="align_peaks_table" type="data" format="tabular" |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
620 label="Reference m/z values to use for alignment - only these will be kept" help="One column with m/z values (without empty cells or letters)"/> |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
621 <param name="align_mass_column" data_ref="align_peaks_table" label="Column with reference m/z" type="data_column"/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
622 </when> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
623 <when value="align_msidata_ref"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
624 <param name="align_peaks_msidata" type="data" format="rdata," label="Picked and aligned Cardinal MSImageSet saved as RData"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
625 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
626 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
627 </when> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
628 <when value="Peak_filtering"> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
629 <param name="frequ_filtering" type="integer" value="1000" |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
630 label="Freq.min" help="Peaks that occur in the dataset fewer times than this will be removed. Number should be between 1 (no filtering) and number of spectra (pixel)"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
631 </when> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
632 <when value="Data_reduction"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
633 <conditional name="methods_for_reduction"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
634 <param name="reduction_method" type="select" label="Reduction method"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
635 <option value="bin" selected="True">bin</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
636 <option value="resample">resample</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
637 <option value="peaks">peaks</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
638 </param> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
639 <when value="bin"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
640 <param name="bin_width" type="float" value="1" |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
641 label="The width of a bin in m/z or ppm" help="Width must be greater than range of m/z values divided by number of m/z features"/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
642 <param name="bin_units" type="select" display="radio" |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
643 label="Unit for bin"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
644 <option value="mz" selected="True">mz</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
645 <option value="ppm">ppm</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
646 </param> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
647 <param name="bin_fun" type="select" display="radio" |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
648 label="Calculate sum or mean intensity for ions of the same bin"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
649 <option value="mean" selected="True">mean</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
650 <option value="sum">sum</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
651 </param> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
652 </when> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
653 <when value="resample"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
654 <param name="resample_step" type="float" value="1" |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
655 label="The step size in m/z" help="Step size must be greater than range of m/z values divided by number of m/z features"/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
656 </when> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
657 <when value="peaks"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
658 <param name="peaks_type" type="select" display="radio" |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
659 label="Should the peak height or area under the curve be taken as the intensity value?"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
660 <option value="height" selected="True">height</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
661 <option value="area">area</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
662 </param> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
663 <conditional name="ref_type"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
664 <param name="reference_datatype" type="select" label="Choose reference datatype"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
665 <option value="table" selected="True">tabular file</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
666 <option value="msidata_ref">msidata file</option> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
667 </param> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
668 <when value="table"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
669 <param name="peaks_table" type="data" format="tabular" |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
670 label="Reference m/z values to use to reduce the dimension" help="One column with m/z values (without empty cells or letters, m/z outside m/z range are not used for filtering)"/> |
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
671 <param name="mass_column" data_ref="peaks_table" label="Column with reference m/z" type="data_column"/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
672 </when> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
673 <when value="msidata_ref"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
674 <param name="peaks_msidata" type="data" format="rdata," label="Picked and aligned Cardinal MSImageSet saved as RData"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
675 </when> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
676 </conditional> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
677 </when> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
678 </conditional> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
679 </when> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
680 <when value="Transformation"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
681 <conditional name="transf_conditional"> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
682 <param name="trans_type" type="select" label="Intensity transformations" help="logarithm base 2 (log2) or squareroot (sqrt)"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
683 <option value="log2" selected="True">log2</option> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
684 <option value="sqrt">sqrt</option> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
685 </param> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
686 <when value="log2"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
687 <when value="sqrt"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
688 </conditional> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
689 </when> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
690 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
691 </repeat> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
692 <param name="summary_type" type="select" display="checkboxes" multiple="true" label="Summarize all pixels of a sample and calculate the mean, median or standard deviation"> |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
693 <option value="mean">mean</option> |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
694 <option value="median">median</option> |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
695 <option value="sd">standard deviation</option> |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
696 </param> |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
697 <conditional name="tabular_annotation"> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
698 <param name="load_annotation" type="select" label="Use pixel annotations from tabular file to summarize pixel"> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
699 <option value="no_annotation" selected="True">summarize over all pixels</option> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
700 <option value="yes_annotation">summarize over categories from annotation file</option> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
701 </param> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
702 <when value="yes_annotation"> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
703 <param name="annotation_file" type="data" format="tabular" label="Use annotations from tabular file to summarize pixel" |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
704 help="Tabular file with three columns: x values, y values and pixel annotations"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
705 <param name="column_x" data_ref="annotation_file" label="Column with x values" type="data_column"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
706 <param name="column_y" data_ref="annotation_file" label="Column with y values" type="data_column"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
707 <param name="column_names" data_ref="annotation_file" label="Column with pixel annotations" type="data_column"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
708 <param name="tabular_header" type="boolean" label="Tabular file contains a header line" truevalue="TRUE" falsevalue="FALSE"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
709 </when> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
710 <when value="no_annotation"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
711 </conditional> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
712 <param name="output_matrix" type="boolean" label="Intensity matrix output"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
713 </inputs> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
714 <outputs> |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
715 <data format="rdata" name="msidata_preprocessed" label="$infile.display_name preprocessed"/> |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
716 <data format="pdf" name="QC_overview" from_work_dir="Preprocessing.pdf" label = "$infile.display_name preprocessed_QC"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
717 <data format="tabular" name="summarized_mean" label="$infile.display_name preprocessed_mean"> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
718 <filter>summary_type and "mean" in summary_type</filter> |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
719 </data> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
720 <data format="tabular" name="summarized_median" label="$infile.display_name preprocessed_median"> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
721 <filter>summary_type and "median" in summary_type</filter> |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
722 </data> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
723 <data format="tabular" name="summarized_sd" label="$infile.display_name preprocessed_sd"> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
724 <filter>summary_type and "sd" in summary_type</filter> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
725 </data> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
726 <data format="tabular" name="intensity_matrix" label="$infile.display_name preprocessed_matrix"> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
727 <filter>output_matrix</filter> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
728 </data> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
729 </outputs> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
730 <tests> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
731 <test expect_num_outputs="3"> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
732 <param name="infile" value="" ftype="imzml"> |
1
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
733 <composite_data value="Example_Continuous.imzML"/> |
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
734 <composite_data value="Example_Continuous.ibd"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
735 </param> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
736 <repeat name="methods"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
737 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
738 <param name="preprocessing_method" value="Normalization"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
739 </conditional> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
740 </repeat> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
741 <repeat name="methods"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
742 <conditional name="methods_conditional"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
743 <param name="preprocessing_method" value="Smoothing"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
744 <conditional name="methods_for_smoothing"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
745 <param name="smoothing_method" value="gaussian"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
746 <param name="sd_gaussian" value="4"/> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
747 </conditional> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
748 <param name="window_smoothing" value="9"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
749 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
750 </repeat> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
751 <repeat name="methods"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
752 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
753 <param name="preprocessing_method" value="Peak_picking"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
754 <conditional name="methods_for_picking"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
755 <param name="picking_method" value="adaptive"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
756 </conditional> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
757 <param name="blocks_picking" value="3"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
758 <param name="window_picking" value="3"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
759 <param name="SNR_picking_method" value="3"/> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
760 </conditional> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
761 </repeat> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
762 <repeat name="methods"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
763 <conditional name="methods_conditional"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
764 <param name="preprocessing_method" value="Peak_alignment"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
765 <conditional name="methods_for_alignment"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
766 <param name="alignment_method" value="diff"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
767 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
768 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
769 </repeat> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
770 <repeat name="methods"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
771 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
772 <param name="preprocessing_method" value="Peak_filtering"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
773 <param name="frequ_filtering" value="2"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
774 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
775 </repeat> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
776 <repeat name="methods"> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
777 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
778 <param name="preprocessing_method" value="Transformation"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
779 <conditional name="transf_conditional"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
780 <param name="trans_type" value="sqrt"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
781 </conditional> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
782 </conditional> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
783 </repeat> |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
784 <conditional name="tabular_annotation"> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
785 <param name="load_annotation" value="no_annotation"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
786 </conditional> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
787 <param name="output_matrix" value="True"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
788 <output name="msidata_preprocessed" file="preprocessing_results1.RData" compare="sim_size"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
789 <output name="intensity_matrix" file="preprocessing_results1.txt"/> |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
790 <output name="QC_overview" file="preprocessing_results1.pdf" compare="sim_size"/> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
791 </test> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
792 <test expect_num_outputs="4"> |
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
793 <param name="infile" value="123_combined.RData" ftype="rdata"/> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
794 <repeat name="methods"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
795 <conditional name="methods_conditional"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
796 <param name="preprocessing_method" value="Peak_picking"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
797 <param name="blocks_picking" value="3"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
798 <param name="window_picking" value="5"/> |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
799 <param name="SNR_picking_method" value="2"/> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
800 <conditional name="methods_for_picking"> |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
801 <param name="picking_method" value="adaptive"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
802 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
803 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
804 </repeat> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
805 <repeat name="methods"> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
806 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
807 <param name="preprocessing_method" value="Peak_alignment"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
808 <conditional name="methods_for_alignment"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
809 <param name="alignment_method" value="DP"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
810 </conditional> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
811 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
812 </repeat> |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
813 <conditional name="tabular_annotation"> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
814 <param name="load_annotation" value="yes_annotation"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
815 <param name="annotation_file" value="pixel_annotations.tabular"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
816 <param name="column_x" value="1"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
817 <param name="column_y" value="2"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
818 <param name="column_names" value="3"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
819 <param name="tabular_header" value="FALSE"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
820 </conditional> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
821 <param name="summary_type" value="median,sd"/> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
822 <output name="msidata_preprocessed" file="preprocessing_results2.RData" compare="sim_size"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
823 <output name="summarized_median" file="preprocessing_median2.txt" lines_diff="2"/> |
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
824 <output name="summarized_sd" file="preprocessing_sd2.txt" lines_diff="2"/> |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
825 <output name="QC_overview" file="preprocessing_results2.pdf" compare="sim_size"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
826 </test> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
827 <test expect_num_outputs="3"> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
828 <param name="infile" value="" ftype="analyze75"> |
1
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
829 <composite_data value="Analyze75.hdr"/> |
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
830 <composite_data value="Analyze75.img"/> |
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
831 <composite_data value="Analyze75.t2m"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
832 </param> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
833 <repeat name="methods"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
834 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
835 <param name="preprocessing_method" value="Normalization"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
836 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
837 </repeat> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
838 <repeat name="methods"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
839 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
840 <param name="preprocessing_method" value="Peak_picking"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
841 <param name="blocks_picking" value="100"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
842 <param name="window_picking" value="5"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
843 <param name="SNR_picking_method" value="3"/> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
844 <param name="picking_method" value="limpic"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
845 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
846 </repeat> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
847 <repeat name="methods"> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
848 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
849 <param name="preprocessing_method" value="Peak_alignment"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
850 <conditional name="methods_for_alignment"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
851 <param name="alignment_method" value="diff"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
852 </conditional> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
853 </conditional> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
854 </repeat> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
855 <param name="summary_type" value="mean"/> |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
856 <conditional name="tabular_annotation"> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
857 <param name="load_annotation" value="no_annotation"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
858 </conditional> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
859 <output name="msidata_preprocessed" file="preprocessing_results3.RData" compare="sim_size"/> |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
860 <output name="QC_overview" file="preprocessing_results3.pdf" compare="sim_size"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
861 <output name="summarized_mean" file="preprocessing_mean3.txt" lines_diff="2"/> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
862 </test> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
863 <test expect_num_outputs="3"> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
864 <param name="infile" value="" ftype="analyze75"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
865 <composite_data value="Analyze75.hdr"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
866 <composite_data value="Analyze75.img"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
867 <composite_data value="Analyze75.t2m"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
868 </param> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
869 <repeat name="methods"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
870 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
871 <param name="preprocessing_method" value="Normalization"/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
872 </conditional> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
873 </repeat> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
874 <repeat name="methods"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
875 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
876 <param name="preprocessing_method" value="Data_reduction"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
877 <param name="bin_width" value="0.1"/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
878 </conditional> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
879 </repeat> |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
880 <conditional name="tabular_annotation"> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
881 <param name="load_annotation" value="no_annotation"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
882 </conditional> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
883 <param name="output_matrix" value="True"/> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
884 <output name="msidata_preprocessed" file="preprocessing_results4.RData" compare="sim_size"/> |
10
df8d7f6f210b
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit e87eea03505ab1ba067e192bbbcdc6197dc4b42e
galaxyp
parents:
9
diff
changeset
|
885 <output name="intensity_matrix" file="preprocessing_results4.txt"/> |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
886 <output name="QC_overview" file="preprocessing_results4.pdf" compare="sim_size"/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
887 </test> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
888 <test expect_num_outputs="2"> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
889 <param name="infile" value="" ftype="imzml"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
890 <composite_data value="Example_Continuous.imzML"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
891 <composite_data value="Example_Continuous.ibd"/> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
892 </param> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
893 <repeat name="methods"> |
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
894 <conditional name="methods_conditional"> |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
895 <param name="preprocessing_method" value="Data_reduction"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
896 <conditional name="methods_for_reduction"> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
897 <param name="reduction_method" value="resample"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
898 <param name="step_width" value="0.1"/> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
899 </conditional> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
900 </conditional> |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
901 </repeat> |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
902 <conditional name="tabular_annotation"> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
903 <param name="load_annotation" value="no_annotation"/> |
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
904 </conditional> |
5
2fccfd11360d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 37da74ed68228b16efbdbde776e7c38cc06eb5d5
galaxyp
parents:
4
diff
changeset
|
905 <output name="msidata_preprocessed" file="preprocessing_results5.RData" compare="sim_size"/> |
7
1a3d477bc54a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 8087490eb4dcaf4ead0f03eae4126780d21e5503
galaxyp
parents:
6
diff
changeset
|
906 <output name="QC_overview" file="preprocessing_results5.pdf" compare="sim_size"/> |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
907 </test> |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
908 </tests> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
909 <help> |
1
c4abf42419c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit a8eebad4ad469908f64c25e1e2c705eb637e3cae
galaxyp
parents:
0
diff
changeset
|
910 <![CDATA[ |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
911 |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
912 Cardinal is an R package that implements statistical & computational tools for analyzing mass spectrometry imaging datasets. `More information on Cardinal <http://cardinalmsi.org//>`_ |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
913 |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
914 This tool provides provides multiple Cardinal functions to preprocess mass spectrometry imaging data. |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
915 |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
916 Input data: 3 types of MSI data can be used: |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
917 |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
918 - imzml file (upload imzml and ibd file via the "composite" function) `Introduction to the imzml format <https://ms-imaging.org/wp/imzml/>`_ |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
919 - Analyze7.5 (upload hdr, img and t2m file via the "composite" function) |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
920 - Cardinal "MSImageSet" data (with variable name "msidata", saved as .RData) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
921 - Coordinates stored as decimals rather than integers will be rounded to obtain a regular pixel grid. This might lead to duplicated coordinates which will be automatically removed before peak picking. |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
922 - optional: tabular file with pixel annotations: x and y values in separate columns and the corresponding annotation in a third column |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
923 |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
924 Options: |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
925 |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
926 - Normalization: Normalization of intensities to total ion current (TIC) |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
927 - Baseline reduction: Baseline reduction removes background intensity generated by chemical noise (common in MALDI datasets) |
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
928 - Smoothing: Smoothing of the peaks reduces noise and improves peak detection |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
929 - Peak picking: relevant peaks are picked while noise-peaks are removed (needs peak alignment afterwards) |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
930 - Peak alignment: only possible after peak picking, m/z inaccuracies are removed by alignment of same peaks to a common m/z value |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
931 - Peak filtering: works only on centroided data (after peak picking and alignment or data reduction with peak filtering), removes peaks that occur only in a small proportion of pixels. If not sure which cutoff to chose run qualitycontrol first and decide according to the zero value plot. |
2
50ba097d03e0
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 06c2b45d8644b1d7fc01622a5c59dcbf8886d0f1
galaxyp
parents:
1
diff
changeset
|
932 - Data reduction: binning, resampling or peak filtering to reduce data |
6
d3fd539f477e
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 6d877681b6188999b4f5abb1843b420078b71b92
galaxyp
parents:
5
diff
changeset
|
933 - Transformation: log2 or squareroot transformation of all intensities; when using log2 transformation zero intensities will become NA, this can lead to compatibility problems. |
4
42580292d381
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit a7be47698f53eb4f00961192327d93e8989276a7
galaxyp
parents:
3
diff
changeset
|
934 |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
935 |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
936 Output: |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
937 |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
938 - imzML file, preprocessed |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
939 - pdf with key values after each processing step, in case of loaded annotations file overview plot of pixel annotations |
9
4d5578b57a77
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
galaxyp
parents:
8
diff
changeset
|
940 - optional: intensity matrix as tabular file (m/z in rows and pixel in columns, filled with intensity values) |
8
d77c5228fd1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 5bceedc3a11c950790692a4c64bbb83d46897bee
galaxyp
parents:
7
diff
changeset
|
941 - optional: summarized intensity matrix: mean, median or standard deviation for each m/z feature; in case pixel annotations are provided the intensity values are summarized for each pixel group |
3
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
942 |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
943 Tip: |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
944 |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
945 - Peak alignment works only after peak picking |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
946 - Peak filtering works only on centroided data (peak picking and alignment or Data reduction peaks) |
b9523950e79d
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_preprocessing commit 1c808d60243bb1eeda0cd26cb4b0a17ab05de2c0
galaxyp
parents:
2
diff
changeset
|
947 |
0
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
948 ]]> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
949 </help> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
950 <citations> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
951 <citation type="doi">10.1093/bioinformatics/btv146</citation> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
952 </citations> |
74fcb3c95a53
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/msi_preprocessing commit c4e490c83537b39418b5f09d624f7d4da3f3ad55
galaxyp
parents:
diff
changeset
|
953 </tool> |