annotate combineAnnotations.R @ 15:a2ba12977060 draft default tip

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
author tomnl
date Wed, 27 Nov 2019 12:35:23 +0000
parents 3ec3f8ba33e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
1 library(optparse)
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
2 library(msPurity)
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
3 print(sessionInfo())
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
4
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
5 # Get the parameter
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
6 option_list <- list(
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
7 make_option(c("-s","--sm_resultPth"),type="character"),
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
8 make_option(c("-m","--metfrag_resultPth"),type="character"),
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
9 make_option(c("-c","--sirius_csi_resultPth"),type="character"),
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
10 make_option(c("-p","--probmetab_resultPth"),type="character"),
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
11 make_option(c("-l","--ms1_lookup_resultPth"),type="character"),
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
13 make_option("--ms1_lookup_checkAdducts", action="store_true"),
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
14 make_option("--ms1_lookup_keepAdducts", type="character", default=NA),
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
15 make_option("--ms1_lookup_dbSource", type="character", default="hmdb"),
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
16
15
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
17 make_option("--sm_weight", type="numeric"),
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
18 make_option("--metfrag_weight", type="numeric"),
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
19 make_option("--sirius_csi_weight", type="numeric"),
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
20 make_option("--probmetab_weight", type="numeric"),
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
21 make_option("--ms1_lookup_weight", type="numeric"),
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
22 make_option("--biosim_weight", type="numeric"),
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
23
0
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
24 make_option("--create_new_database", action="store_true"),
15
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
25 make_option("--outdir", type="character", default="."),
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
26
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
27 make_option("--compoundDbType", type="character", default="sqlite"),
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
28 make_option("--compoundDbPth", type="character", default=NA),
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
29 make_option("--compoundDbHost", type="character", default=NA)
0
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
30 )
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
31 opt <- parse_args(OptionParser(option_list=option_list))
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
32
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
33 print(opt)
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
34
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
35 if (!is.null(opt$create_new_database)){
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
36 sm_resultPth <- file.path(opt$outdir, 'combined_annotations.sqlite')
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
37 file.copy(opt$sm_resultPth, sm_resultPth)
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
38 }else{
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
39 sm_resultPth <- opt$sm_resultPth
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
40 }
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
41
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
42 if (is.null(opt$ms1_lookup_checkAdducts)){
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
43 opt$ms1_lookup_checkAdducts <- FALSE
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
44 }
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
45 if (!is.null(opt$ms1_lookup_keepAdducts)){
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
46 opt$ms1_lookup_keepAdducts <- gsub("__ob__", "[", opt$ms1_lookup_keepAdducts)
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
47 opt$ms1_lookup_keepAdducts <- gsub("__cb__", "]", opt$ms1_lookup_keepAdducts)
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
48 ms1_lookup_keepAdducts <- strsplit(opt$ms1_lookup_keepAdducts, ",")[[1]]
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
49 }
0
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
50
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
51 weights <-list('sm'=opt$sm_weight,
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
52 'metfrag'=opt$metfrag_weight,
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
53 'sirius_csifingerid'= opt$sirius_csi_weight,
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
54 'probmetab'=opt$probmetab_weight,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
55 'ms1_lookup'=opt$ms1_lookup_weight,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
56 'biosim'=opt$biosim_weight
0
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
57 )
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
58 print(weights)
0
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
59 if (round(!sum(unlist(weights),0)==1)){
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
60
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
61 stop(paste0('The weights should sum to 1 not ', sum(unlist(weights))))
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
62 }
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
63
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
64 if (opt$compoundDbType=='local_config'){
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
65 # load in compound config
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
66 # Soure local function taken from workflow4metabolomics
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
67 source_local <- function(fname){ argv <- commandArgs(trailingOnly=FALSE); base_dir <- dirname(substring(argv[grep("--file=", argv)], 8)); source(paste(base_dir, fname, sep="/")) }
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
68 source_local("dbconfig.R")
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
69 }else{
15
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
70 compoundDbPth = opt$compoundDbPth
a2ba12977060 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
tomnl
parents: 13
diff changeset
71 compoundDbType = opt$compoundDbType
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
72 compoundDbName = NA
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
73 compoundDbHost = NA
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
74 compoundDbPort = NA
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
75 compoundDbUser = NA
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
76 compoundDbPass = NA
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
77 }
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
78
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
79
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
80
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
81 summary_output <- msPurity::combineAnnotations(
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
82 sm_resultPth = sm_resultPth,
13
3ec3f8ba33e8 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 4f88143938cc198436c2691443832c87e2c31cd0
tomnl
parents: 12
diff changeset
83 compoundDbPth = compoundDbPth,
12
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
84 metfrag_resultPth = opt$metfrag_resultPth,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
85 sirius_csi_resultPth = opt$sirius_csi_resultPth,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
86 probmetab_resultPth = opt$probmetab_resultPth,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
87 ms1_lookup_resultPth = opt$ms1_lookup_resultPth,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
88 ms1_lookup_keepAdducts = ms1_lookup_keepAdducts,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
89 ms1_lookup_checkAdducts = opt$ms1_lookup_checkAdducts,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
90
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
91 compoundDbType = compoundDbType,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
92 compoundDbName = compoundDbName,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
93 compoundDbHost = compoundDbHost,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
94 compoundDbPort = compoundDbPort,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
95 compoundDbUser = compoundDbUser,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
96 compoundDbPass = compoundDbPass,
a62b102788eb planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit bbbcc75d51c020446fd00d76f908a6250266cfea
tomnl
parents: 5
diff changeset
97 weights = weights)
0
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
98
cdf48fd76e98 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 2948ce35fa7fffe5a64711cb30be971031e79019-dirty
tomnl
parents:
diff changeset
99 write.table(summary_output, file.path(opt$outdir, 'combined_annotations.tsv'), sep = '\t', row.names = FALSE)
4
db5eeca67f38 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit e05cb49ba56d359fec34f132d1c9ace582e5b483-dirty
tomnl
parents: 0
diff changeset
100
db5eeca67f38 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit e05cb49ba56d359fec34f132d1c9ace582e5b483-dirty
tomnl
parents: 0
diff changeset
101
db5eeca67f38 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit e05cb49ba56d359fec34f132d1c9ace582e5b483-dirty
tomnl
parents: 0
diff changeset
102 closeAllConnections()
db5eeca67f38 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit e05cb49ba56d359fec34f132d1c9ace582e5b483-dirty
tomnl
parents: 0
diff changeset
103