Mercurial > repos > iuc > pathview
annotate pathview.r @ 0:bd99e8fbde97 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
author | iuc |
---|---|
date | Mon, 26 Aug 2019 14:42:52 -0400 |
parents | |
children | fe154a7af404 |
rev | line source |
---|---|
0
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
1 options( show.error.messages=F, error = function () { cat( geterrmessage(), file=stderr() ); q( "no", 1, F ) } ) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
2 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
3 # we need that to not crash galaxy with an UTF8 error on German LC settings. |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
4 loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8") |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
5 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
6 suppressPackageStartupMessages({ |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
7 library("pathview") |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
8 library("optparse") |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
9 }) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
10 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
11 sessionInfo() |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
12 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
13 option_list <- list( |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
14 make_option(c("--pathway_id"), type="character", default=NULL, help="Path to tabular file with gene data"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
15 make_option(c("--pathway_id_fp"), type="character", default=NULL, help="Path to tabular file with pathway ids"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
16 make_option(c("--pathway_id_header"), type="logical", default=FALSE, help="Header for tabular file with pathway ids"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
17 make_option(c("--species"), type="character", default="hsa", help="KEGG code, scientific name or the common name of the species"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
18 make_option(c("--gene_data"), type="character", default=NULL, help="Path to tabular file with gene data"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
19 make_option(c("--gd_header"), type="logical", default=FALSE, help="Header for the gene data file"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
20 make_option(c("--gene_idtype"), type="character", default="entrez", help="ID type used for the gene data"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
21 make_option(c("--cpd_data"), type="character", default=NULL, help="Path to tabular file with compound data"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
22 make_option(c("--cpd_header"), type="logical", default=FALSE, help="Header for the compound data file"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
23 make_option(c("--cpd_idtype"), type="character", default="kegg", help="ID type used for the compound data"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
24 make_option(c("--multi_state"), type="logical", default=TRUE, help="Are the gene and compound data paired?"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
25 make_option(c("--match_data"), type="logical", default=TRUE, help="Are the gene and compound data paired?"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
26 make_option(c("--kegg_native"), type="logical", default=TRUE, help="Render pathway graph as native KEGG grap? Alternative is the Graphviz layout"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
27 make_option(c("--same_layer"), type="logical", default=TRUE, help="Plot on same layer?"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
28 make_option(c("--map_null"), type="logical", default=TRUE, help="Map the NULL gene or compound data to pathway?"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
29 make_option(c("--split_group"), type="logical", default=FALSE, help="Split node groups into individual nodes?"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
30 make_option(c("--expand_node"), type="logical", default=FALSE, help="Expand multiple-gene nodes into single-gene nodes?"), |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
31 make_option(c("--sign_pos"), type="character", default="bottomright", help="Position of pathview signature") |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
32 ) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
33 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
34 parser <- OptionParser(usage = "%prog [options] file", option_list=option_list) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
35 args = parse_args(parser) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
36 print(args) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
37 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
38 read_table = function(fp, header, rownames=1, colclasses=NA){ |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
39 table = read.table(fp, header=header, sep="\t", row.names=rownames, colClasses=colclasses) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
40 # transform to vector if only one column |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
41 if(dim(table)[2] == 1){ |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
42 names = rownames(table) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
43 table = table[,1] |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
44 names(table) = names |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
45 } |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
46 return(table) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
47 } |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
48 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
49 get_table = function(fp, header){ |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
50 table = NULL |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
51 if(!is.null(fp)){ |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
52 table = read_table(fp, header, rownames=1) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
53 } |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
54 return(table) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
55 } |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
56 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
57 # load gene_data file |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
58 gene_data = get_table(args$gene_data, args$gd_header) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
59 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
60 # load compound data file |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
61 cpd_data = get_table(args$cpd_data, args$cpd_header) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
62 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
63 run_pathview = function(pathway_id){ |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
64 pathview( |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
65 pathway.id=pathway_id, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
66 gene.data=gene_data, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
67 gene.idtype=args$gene_idtype, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
68 cpd.data=cpd_data, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
69 cpd.idtype=args$cpd_idtype, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
70 species=args$species, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
71 multi.state=args$multi_state, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
72 match.data=args$match_data, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
73 kegg.native=args$kegg_native, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
74 same.layer=args$same_layer, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
75 split.group=args$split_group, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
76 expand.node=args$expand_node, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
77 sign.pos=args$sign_pos, |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
78 map.null=args$map_null) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
79 } |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
80 |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
81 # get pathway ids |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
82 if(!is.null(args$pathway_id)){ |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
83 run_pathview(args$pathway_id) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
84 } else { |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
85 pthws = read_table(args$pathway_id_fp, args$pathway_id_header, rownames=NULL, colclasses="character") |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
86 for(p in pthws){ |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
87 run_pathview(p) |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
88 } |
bd99e8fbde97
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pathview commit 438c20a62c01fa4adea6fbb4cb40ae05b4166043"
iuc
parents:
diff
changeset
|
89 } |