t2-web 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +4 -2
- data/Gemfile +16 -0
- data/Gemfile.lock +52 -0
- data/README +3 -3
- data/Rakefile +2 -2
- data/bin/config.ru +2 -3
- data/bin/log/thin.log +36 -0
- data/bin/t2_webapp.rb +50 -36
- data/public/t2web/tmp/outputs/08620310-4804-4f85-9d49-692504c29efd/SummedSimilarity +2 -0
- data/public/t2web/tmp/outputs/08620310-4804-4f85-9d49-692504c29efd/TopContributingConcepts +20 -0
- data/public/t2web/tmp/outputs/08620310-4804-4f85-9d49-692504c29efd/TopMatchingConcepts +2 -0
- data/public/t2web/tmp/outputs/08620310-4804-4f85-9d49-692504c29efd/contributionTable_xml +2 -0
- data/public/t2web/tmp/outputs/12b9a7b5-1023-47e2-a83d-78b3c6ca32b1/Pathway +1 -0
- data/public/t2web/tmp/outputs/12b9a7b5-1023-47e2-a83d-78b3c6ca32b1/geneList +184 -0
- data/public/t2web/tmp/outputs/12b9a7b5-1023-47e2-a83d-78b3c6ca32b1/image +0 -0
- data/public/t2web/tmp/outputs/12b9a7b5-1023-47e2-a83d-78b3c6ca32b1/url +1 -0
- data/public/t2web/tmp/outputs/5ed0a0a3-ea27-4cdc-854a-37ae23a1022a/SummedSimilarity +2 -0
- data/public/t2web/tmp/outputs/5ed0a0a3-ea27-4cdc-854a-37ae23a1022a/TopContributingConcepts +49 -0
- data/public/t2web/tmp/outputs/5ed0a0a3-ea27-4cdc-854a-37ae23a1022a/TopMatchingConcepts +2 -0
- data/public/t2web/tmp/outputs/5ed0a0a3-ea27-4cdc-854a-37ae23a1022a/contributionTable_xml +34 -0
- data/public/t2web/tmp/outputs/9f15e720-87d0-439d-96c3-09f433435699/Pathway +1 -0
- data/public/t2web/tmp/outputs/9f15e720-87d0-439d-96c3-09f433435699/geneList +184 -0
- data/public/t2web/tmp/outputs/9f15e720-87d0-439d-96c3-09f433435699/image +0 -0
- data/public/t2web/tmp/outputs/9f15e720-87d0-439d-96c3-09f433435699/url +1 -0
- data/public/t2web/tmp/outputs/edf6bf6a-a530-49b9-acdf-52c490ba57c7/SummedSimilarity +2 -0
- data/public/t2web/tmp/outputs/edf6bf6a-a530-49b9-acdf-52c490ba57c7/TopContributingConcepts +20 -0
- data/public/t2web/tmp/outputs/edf6bf6a-a530-49b9-acdf-52c490ba57c7/TopMatchingConcepts +2 -0
- data/public/t2web/tmp/outputs/edf6bf6a-a530-49b9-acdf-52c490ba57c7/contributionTable_xml +2 -0
- data/public/t2web/tmp/outputs/f5d66ef2-8ca7-436e-aa74-73375121bc5a/SummedSimilarity +2 -0
- data/public/t2web/tmp/outputs/f5d66ef2-8ca7-436e-aa74-73375121bc5a/TopContributingConcepts +20 -0
- data/public/t2web/tmp/outputs/f5d66ef2-8ca7-436e-aa74-73375121bc5a/TopMatchingConcepts +2 -0
- data/public/t2web/tmp/outputs/f5d66ef2-8ca7-436e-aa74-73375121bc5a/contributionTable_xml +2 -0
- metadata +31 -4
data/CHANGES
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
= Changes log for the Taverna via the Web Gem
|
|
2
2
|
|
|
3
|
-
== Version 0.1.
|
|
4
|
-
*
|
|
3
|
+
== Version 0.1.4
|
|
4
|
+
* Workflow results are now stored in the public_folder
|
|
5
|
+
* We now support image results (not list of images in one taverna output yet)
|
|
6
|
+
* Added /t2web in route to check the workflow execution status in taverna (was /runs/...)
|
|
5
7
|
|
|
6
8
|
== Version 0.1.2
|
|
7
9
|
* Moved everything in /public into /public/t2web to be able to redirect from apache et al.
|
data/Gemfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
source 'http://rubygems.org'
|
|
2
|
+
|
|
3
|
+
gem 'sinatra', '~> 1.3.2'
|
|
4
|
+
gem 'thin', '~> 1.2.11'
|
|
5
|
+
gem 'haml', '~> 3.1.2'
|
|
6
|
+
gem 'rest-client', '~> 1.6.3'
|
|
7
|
+
gem 't2-server', '~> 0.6.1'
|
|
8
|
+
gem 'myexperiment-rest', '~> 0.3.3'
|
|
9
|
+
|
|
10
|
+
group :development do
|
|
11
|
+
gem 'rdoc'
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
group :test do
|
|
15
|
+
gem 'webrat'
|
|
16
|
+
end
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: http://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
daemons (1.1.8)
|
|
5
|
+
eventmachine (0.12.10)
|
|
6
|
+
haml (3.1.4)
|
|
7
|
+
hirb (0.6.2)
|
|
8
|
+
json (1.6.6)
|
|
9
|
+
libxml-ruby (2.2.2)
|
|
10
|
+
mime-types (1.18)
|
|
11
|
+
myexperiment-rest (0.3.3)
|
|
12
|
+
libxml-ruby (~> 2.2.2)
|
|
13
|
+
rest-client (~> 1.6.3)
|
|
14
|
+
nokogiri (1.5.2)
|
|
15
|
+
rack (1.4.1)
|
|
16
|
+
rack-protection (1.2.0)
|
|
17
|
+
rack
|
|
18
|
+
rack-test (0.6.1)
|
|
19
|
+
rack (>= 1.0)
|
|
20
|
+
rdoc (3.12)
|
|
21
|
+
json (~> 1.4)
|
|
22
|
+
rest-client (1.6.3)
|
|
23
|
+
mime-types (>= 1.16)
|
|
24
|
+
sinatra (1.3.2)
|
|
25
|
+
rack (~> 1.3, >= 1.3.6)
|
|
26
|
+
rack-protection (~> 1.2)
|
|
27
|
+
tilt (~> 1.3, >= 1.3.3)
|
|
28
|
+
t2-server (0.6.1)
|
|
29
|
+
hirb (>= 0.4.0)
|
|
30
|
+
libxml-ruby (>= 1.1.4)
|
|
31
|
+
thin (1.2.11)
|
|
32
|
+
daemons (>= 1.0.9)
|
|
33
|
+
eventmachine (>= 0.12.6)
|
|
34
|
+
rack (>= 1.0.0)
|
|
35
|
+
tilt (1.3.3)
|
|
36
|
+
webrat (0.7.3)
|
|
37
|
+
nokogiri (>= 1.2.0)
|
|
38
|
+
rack (>= 1.0)
|
|
39
|
+
rack-test (>= 0.5.3)
|
|
40
|
+
|
|
41
|
+
PLATFORMS
|
|
42
|
+
ruby
|
|
43
|
+
|
|
44
|
+
DEPENDENCIES
|
|
45
|
+
haml (~> 3.1.2)
|
|
46
|
+
myexperiment-rest (~> 0.3.3)
|
|
47
|
+
rdoc
|
|
48
|
+
rest-client (~> 1.6.3)
|
|
49
|
+
sinatra (~> 1.3.2)
|
|
50
|
+
t2-server (~> 0.6.1)
|
|
51
|
+
thin (~> 1.2.11)
|
|
52
|
+
webrat
|
data/README
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
Authors:: Konstantinos Karasavvas
|
|
5
|
-
Gem Version:: 0.1.
|
|
5
|
+
Gem Version:: 0.1.4
|
|
6
6
|
Contact:: mailto:kostas.karasavvas@nbic.nl
|
|
7
7
|
Licence:: MIT (See LICENCE or http://www.opensource.org/licenses/mit-license)
|
|
8
8
|
Copyright:: (c) 2012 Netherlands Bioinformatics Centre, The Netherlands
|
|
@@ -12,7 +12,7 @@ Copyright:: (c) 2012 Netherlands Bioinformatics Centre, The Netherlands
|
|
|
12
12
|
|
|
13
13
|
This web application accepts a myExperiment workflow identifier and constructs
|
|
14
14
|
a web form to allow end-users to configure and execute that workflow via a web
|
|
15
|
-
browser with no other dependencies
|
|
15
|
+
browser with no other dependencies. The web form interface is as good as the
|
|
16
16
|
description provided in the workflow itself in myExperiment.
|
|
17
17
|
|
|
18
18
|
|
|
@@ -23,7 +23,7 @@ description provided in the workflow itself in myExperiment.
|
|
|
23
23
|
|
|
24
24
|
== Usage
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
thin -p 9494 start
|
|
27
27
|
|
|
28
28
|
Run the above from the webapp's root directory to start the web application at port 9494 and wait for incoming requests. Uses rack's config.ru file.
|
|
29
29
|
|
data/Rakefile
CHANGED
|
@@ -12,14 +12,14 @@ require 'rdoc/task'
|
|
|
12
12
|
|
|
13
13
|
spec = Gem::Specification.new do |s|
|
|
14
14
|
s.name = 't2-web'
|
|
15
|
-
s.version = '0.1.
|
|
15
|
+
s.version = '0.1.4'
|
|
16
16
|
s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES']
|
|
17
17
|
s.summary = 'Web application that generates a Web UI form for a Taverna2 workflow, given its myExperiment id, for ease of execution. The only requirement for the user is a web browser.'
|
|
18
18
|
s.description = s.summary
|
|
19
19
|
s.author = 'Kostas Karasavvas'
|
|
20
20
|
s.email = 'kostas.karasavvas@nbic.nl'
|
|
21
21
|
#s.executables = ['t2_webapp.rb']
|
|
22
|
-
s.files = %w(LICENSE README CHANGES Rakefile) + Dir.glob("{bin,lib,doc,spec,public,views}/**/*")
|
|
22
|
+
s.files = %w(LICENSE README CHANGES Rakefile Gemfile Gemfile.lock) + Dir.glob("{bin,lib,doc,spec,public,views}/**/*")
|
|
23
23
|
s.require_path = "lib"
|
|
24
24
|
s.bindir = "bin"
|
|
25
25
|
s.add_dependency 'sinatra', '~> 1.3.0'
|
data/bin/config.ru
CHANGED
data/bin/log/thin.log
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
>> Writing PID to tmp/pids/thin.pid
|
|
2
|
+
>> Using rack adapter
|
|
3
|
+
>> Thin web server (v1.2.11 codename Bat-Shit Crazy)
|
|
4
|
+
>> Maximum connections set to 1024
|
|
5
|
+
>> Listening on 0.0.0.0:3000, CTRL+C to stop
|
|
6
|
+
>> Exiting!
|
|
7
|
+
/home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_tcp_server': no acceptor (RuntimeError)
|
|
8
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_server'
|
|
9
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/lib/thin/backends/tcp_server.rb:16:in `connect'
|
|
10
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/lib/thin/backends/base.rb:53:in `start'
|
|
11
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call'
|
|
12
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
|
|
13
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
|
|
14
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/lib/thin/backends/base.rb:61:in `start'
|
|
15
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/lib/thin/server.rb:159:in `start'
|
|
16
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/lib/thin/controllers/controller.rb:86:in `start'
|
|
17
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/lib/thin/runner.rb:185:in `send'
|
|
18
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/lib/thin/runner.rb:185:in `run_command'
|
|
19
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/lib/thin/runner.rb:151:in `run!'
|
|
20
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/gems/thin-1.2.11/bin/thin:6
|
|
21
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/bin/thin:19:in `load'
|
|
22
|
+
from /home/kostas/.rvm/gems/ruby-1.8.7-p358@t2web/bin/thin:19
|
|
23
|
+
>> Writing PID to tmp/pids/thin.pid
|
|
24
|
+
>> Using rack adapter
|
|
25
|
+
>> Thin web server (v1.2.11 codename Bat-Shit Crazy)
|
|
26
|
+
>> Maximum connections set to 1024
|
|
27
|
+
>> Listening on 0.0.0.0:9494, CTRL+C to stop
|
|
28
|
+
>> Waiting for 6 connection(s) to finish, can take up to 30 sec, CTRL+C to stop now
|
|
29
|
+
>> Exiting!
|
|
30
|
+
>> Writing PID to tmp/pids/thin.pid
|
|
31
|
+
>> Using rack adapter
|
|
32
|
+
>> Thin web server (v1.2.11 codename Bat-Shit Crazy)
|
|
33
|
+
>> Maximum connections set to 1024
|
|
34
|
+
>> Listening on 0.0.0.0:9494, CTRL+C to stop
|
|
35
|
+
>> Waiting for 1 connection(s) to finish, can take up to 30 sec, CTRL+C to stop now
|
|
36
|
+
>> Exiting!
|
data/bin/t2_webapp.rb
CHANGED
|
@@ -9,20 +9,20 @@ require 't2-server'
|
|
|
9
9
|
require 'myexperiment-rest'
|
|
10
10
|
require 'cgi'
|
|
11
11
|
require 'stringio'
|
|
12
|
-
#require "t2-web"
|
|
12
|
+
#require "t2-web"
|
|
13
13
|
|
|
14
|
-
# TODO:
|
|
14
|
+
# TODO: move whole of T2WebApp in lib
|
|
15
|
+
# TODO: add constants.rb file in lib for all constants (e.g. myExp user URL,
|
|
16
|
+
# TMP_UPLOAD_PATH, other URLs -- consider adding those in rack config.ru
|
|
15
17
|
|
|
16
|
-
class
|
|
18
|
+
class T2WebApp < Sinatra::Base
|
|
17
19
|
|
|
18
20
|
WEB_APP_NAME = "t2web"
|
|
19
|
-
# TODO: const for TMP_UPLOAD_PATH ? - need to read from config file?
|
|
20
21
|
|
|
21
|
-
#set :port, 9494 set from: rackup -p 9494
|
|
22
22
|
set :views, File.dirname(__FILE__) + '/../views'
|
|
23
23
|
set :public_folder, File.dirname(__FILE__) + '/../public'
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# Can be used from routes and views (haml) -- not public methods
|
|
26
26
|
helpers do
|
|
27
27
|
|
|
28
28
|
# Used before we sent the workflow inputs to the taverna server. Just converts
|
|
@@ -32,10 +32,8 @@ class WebT2App < Sinatra::Base
|
|
|
32
32
|
ex = string.gsub('"', "'")
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
#
|
|
36
35
|
# Deletes last new line of file if it exists! It is needed for t2 workflows that
|
|
37
36
|
# do not sanitize properly, i.e. via a user-provided beanshell script
|
|
38
|
-
#
|
|
39
37
|
def chomp_last_newline(file)
|
|
40
38
|
|
|
41
39
|
if File.file?(file) and File.size(file) > 1
|
|
@@ -49,7 +47,6 @@ class WebT2App < Sinatra::Base
|
|
|
49
47
|
|
|
50
48
|
# Construct the complete or partial URL as MyExperimentRest lib expects it
|
|
51
49
|
# TODO: Maybe update myExperimentREST lib to accept only wid and wkf_version
|
|
52
|
-
# Minor for now
|
|
53
50
|
def get_url_from_wid(wid, wkf_version)
|
|
54
51
|
if wkf_version == "default"
|
|
55
52
|
"/workflows/#{wid}"
|
|
@@ -110,12 +107,6 @@ END
|
|
|
110
107
|
end
|
|
111
108
|
end
|
|
112
109
|
|
|
113
|
-
# TODO: remove 02/04/2012
|
|
114
|
-
# Generates tooltip html text for textarea example
|
|
115
|
-
#def generate_textarea_tooltip(input)
|
|
116
|
-
# "Example: " << CGI::unescapeHTML(input.examples[0])
|
|
117
|
-
#end
|
|
118
|
-
|
|
119
110
|
|
|
120
111
|
# Generates the contents of the data-navigation frame
|
|
121
112
|
def generate_data_navigation_frame(my_exp_wkf, uuid, wid, wkf_version, t2_server, finished_execution)
|
|
@@ -138,15 +129,19 @@ END
|
|
|
138
129
|
end
|
|
139
130
|
|
|
140
131
|
|
|
141
|
-
#
|
|
142
|
-
# Takes list as input -- TODO: rdoc methods properly!
|
|
132
|
+
# Takes string list as input and prepares for HTML
|
|
143
133
|
def generate_html_result(data)
|
|
144
134
|
data.gsub(/[\n]/, '<br>')
|
|
145
135
|
end
|
|
146
136
|
|
|
137
|
+
# Takes image url and prepares for HTML
|
|
138
|
+
def generate_image_result(img)
|
|
139
|
+
"<img src=\"#{img}\" />"
|
|
140
|
+
end
|
|
141
|
+
|
|
147
142
|
|
|
148
|
-
#
|
|
149
|
-
#
|
|
143
|
+
# Takes list as input (or single element), returns as file stream
|
|
144
|
+
# TODO: for images it works when not a list!
|
|
150
145
|
def flatten_list_results(list)
|
|
151
146
|
data = ""
|
|
152
147
|
#p list
|
|
@@ -163,11 +158,16 @@ END
|
|
|
163
158
|
|
|
164
159
|
|
|
165
160
|
|
|
166
|
-
#
|
|
167
|
-
# TODO: make proper rdoc
|
|
161
|
+
# Copies output stream to a tmp file in the specified subdir
|
|
168
162
|
def copy_to_tmp(subdir, filename, out)
|
|
169
|
-
|
|
170
|
-
|
|
163
|
+
|
|
164
|
+
# used to copy them at tmp
|
|
165
|
+
#FileUtils.mkdir_p("/tmp/#{WEB_APP_NAME}/#{subdir}") unless File.exist?("/tmp/#{WEB_APP_NAME}/#{subdir}")
|
|
166
|
+
#tmp_file = File.open("/tmp/#{WEB_APP_NAME}/#{subdir}/#{filename}", "w")
|
|
167
|
+
|
|
168
|
+
# copy at our tmp dir below public folder
|
|
169
|
+
FileUtils.mkdir_p("#{settings.public_folder}/#{WEB_APP_NAME}/tmp/#{subdir}") unless File.exist?("#{settings.public_folder}/#{WEB_APP_NAME}/tmp/#{subdir}")
|
|
170
|
+
tmp_file = File.open("#{settings.public_folder}/#{WEB_APP_NAME}/tmp/#{subdir}/#{filename}", "w")
|
|
171
171
|
FileUtils.copy_stream(out, tmp_file)
|
|
172
172
|
tmp_file.close
|
|
173
173
|
"Successfully copied #{filename}!!"
|
|
@@ -187,11 +187,11 @@ END
|
|
|
187
187
|
@t2_server = params[:server] || "http://test.mybiobank.org/taverna-server"
|
|
188
188
|
|
|
189
189
|
# Get myExperiment workflow object
|
|
190
|
-
# TODO: catch exception
|
|
190
|
+
# TODO: catch exception
|
|
191
191
|
@my_exp_wkf = MyExperimentREST::Workflow.from_id_and_version(@wid, @wkf_version)
|
|
192
192
|
|
|
193
193
|
# Get myExperiment user object
|
|
194
|
-
# TODO: catch exception
|
|
194
|
+
# TODO: catch exception
|
|
195
195
|
@my_exp_usr = MyExperimentREST::User.from_uri(@my_exp_wkf.uploader_uri)
|
|
196
196
|
|
|
197
197
|
haml :form
|
|
@@ -215,7 +215,6 @@ END
|
|
|
215
215
|
# Get myExperiment user object (TODO: session!, exceptions)
|
|
216
216
|
@my_exp_usr = MyExperimentREST::User.from_uri(@my_exp_wkf.uploader_uri)
|
|
217
217
|
|
|
218
|
-
|
|
219
218
|
# use the uri reference to download the workflow locally
|
|
220
219
|
#wkf_file = URI.parse(@my_exp_wkf.content_uri)
|
|
221
220
|
wkf = open(@my_exp_wkf.content_uri).read
|
|
@@ -234,7 +233,7 @@ END
|
|
|
234
233
|
@my_exp_wkf.inputs.each do |input|
|
|
235
234
|
if params[:"upload-checkbox-#{input.name}"] == "yes"
|
|
236
235
|
filename = params[:"#{input.name}-file"]
|
|
237
|
-
tmp_filename = "
|
|
236
|
+
tmp_filename = "#{settings.public_folder}/#{WEB_APP_NAME}/tmp/#{filename}"
|
|
238
237
|
|
|
239
238
|
# make sure that the file is uploaded completely, i.e. all it's
|
|
240
239
|
# connections are closed
|
|
@@ -282,7 +281,7 @@ END
|
|
|
282
281
|
# Get output ports from t2 server and store in tmp folder
|
|
283
282
|
# TODO: TMP folder constant from config!
|
|
284
283
|
# TODO: that gets the whole output.. request client lib to support partial
|
|
285
|
-
#
|
|
284
|
+
# download if result too large!
|
|
286
285
|
run.get_output_ports.each do |t2_output|
|
|
287
286
|
begin
|
|
288
287
|
data_lists = run.get_output(t2_output, false)
|
|
@@ -293,7 +292,7 @@ END
|
|
|
293
292
|
# flatten the results
|
|
294
293
|
data_stream = flatten_list_results(data_lists)
|
|
295
294
|
|
|
296
|
-
# copy results to tmp
|
|
295
|
+
# copy results to our app's tmp
|
|
297
296
|
copy_to_tmp("outputs/#{@run_uuid}", t2_output, data_stream)
|
|
298
297
|
end
|
|
299
298
|
|
|
@@ -303,23 +302,37 @@ END
|
|
|
303
302
|
|
|
304
303
|
|
|
305
304
|
# Get results for specified run and output (stored locally from tmp)
|
|
306
|
-
# display it in data-display div
|
|
305
|
+
# and display it in data-display div
|
|
307
306
|
# Cross-domain AJAX to get result from T2
|
|
308
307
|
get "/#{WEB_APP_NAME}/run/:uuid/output/:out" do
|
|
309
308
|
|
|
309
|
+
# change public only for this route so that /tmp/t2web can be accessed
|
|
310
|
+
# unfortunately contrary to an article the following does not work
|
|
311
|
+
#set :public_folder, "./tmp/#{WEB_APP_NAME}"
|
|
312
|
+
|
|
310
313
|
run_uuid = params[:uuid]
|
|
311
314
|
t2_output = params[:out]
|
|
312
315
|
|
|
313
|
-
|
|
314
|
-
|
|
316
|
+
data = File.open("#{settings.public_folder}/#{WEB_APP_NAME}/tmp/outputs/#{run_uuid}/#{t2_output}", "r").read
|
|
317
|
+
|
|
318
|
+
# Add HTML tags to display properly
|
|
315
319
|
|
|
316
|
-
|
|
320
|
+
# Check what kind of file it is. for now use system 'file' -- note that it will only
|
|
321
|
+
# work with one image since flatten_list_results only deals with multi-line strings
|
|
322
|
+
# and single strings or single images (indirectly!)
|
|
323
|
+
mime_type = %x( file --mime-type #{settings.public_folder}/#{WEB_APP_NAME}/tmp/outputs/#{run_uuid}/#{t2_output} )
|
|
324
|
+
if mime_type.include?("image/")
|
|
325
|
+
generate_image_result("/#{WEB_APP_NAME}/tmp/outputs/#{run_uuid}/#{t2_output}")
|
|
326
|
+
else
|
|
327
|
+
generate_html_result(data)
|
|
328
|
+
end
|
|
317
329
|
end
|
|
318
330
|
|
|
319
331
|
|
|
320
332
|
# Used from input's upload-form to upload files without refresh (actually
|
|
321
333
|
# a hidden iframe is refreshed).
|
|
322
|
-
# TODO: use copy_to_tmp method!!
|
|
334
|
+
# TODO: use copy_to_tmp method!! Uploads still go to system's tmp and not
|
|
335
|
+
# to our webapp's public tmp
|
|
323
336
|
post "/#{WEB_APP_NAME}/upload" do
|
|
324
337
|
filename = params[:file][:filename]
|
|
325
338
|
tempfile = params[:file][:tempfile]
|
|
@@ -333,5 +346,6 @@ END
|
|
|
333
346
|
end
|
|
334
347
|
|
|
335
348
|
|
|
336
|
-
# Start Web App
|
|
337
|
-
# $
|
|
349
|
+
# Start Web App from the ./bin directory in deamon mode at port 9494
|
|
350
|
+
# $ thin -d -p 9494
|
|
351
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
EZH2
|
|
2
|
+
HDAC1
|
|
3
|
+
histone
|
|
4
|
+
Hdac1l
|
|
5
|
+
Deacetylase
|
|
6
|
+
Transcriptional Repression
|
|
7
|
+
epigene
|
|
8
|
+
chromatin immunoprecipitation
|
|
9
|
+
Repression
|
|
10
|
+
histone deacetylase inhibitor
|
|
11
|
+
candidate disease gene
|
|
12
|
+
all nervous tissue
|
|
13
|
+
Nerve Tissue
|
|
14
|
+
Genes
|
|
15
|
+
Aggressive behavior
|
|
16
|
+
Cell membrane
|
|
17
|
+
carrier of disorder
|
|
18
|
+
lysine
|
|
19
|
+
Lysine
|
|
20
|
+
Methylation
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<ConceptContributionTable><ConceptContribution><conceptName>EZH2</conceptName><contribution>31.88125789165497</contribution><conceptId>3091515</conceptId></ConceptContribution><ConceptContribution><conceptName>HDAC1</conceptName><contribution>22.398044168949127</contribution><conceptId>3092985</conceptId></ConceptContribution><ConceptContribution><conceptName>histone</conceptName><contribution>15.102960169315338</contribution><conceptId>4278518</conceptId></ConceptContribution><ConceptContribution><conceptName>Hdac1l</conceptName><contribution>13.64096999168396</contribution><conceptId>3070448</conceptId></ConceptContribution><ConceptContribution><conceptName>Deacetylase</conceptName><contribution>3.7955906242132187</contribution><conceptId>1333261</conceptId></ConceptContribution><ConceptContribution><conceptName>Transcriptional Repression</conceptName><contribution>1.364685595035553</contribution><conceptId>920533</conceptId></ConceptContribution><ConceptContribution><conceptName>epigene</conceptName><contribution>1.0359483771026134</contribution><conceptId>2900273</conceptId></ConceptContribution><ConceptContribution><conceptName>chromatin immunoprecipitation</conceptName><contribution>0.7878270000219345</contribution><conceptId>1328856</conceptId></ConceptContribution><ConceptContribution><conceptName>Repression</conceptName><contribution>0.7402509450912476</contribution><conceptId>35143</conceptId></ConceptContribution><ConceptContribution><conceptName>histone deacetylase inhibitor</conceptName><contribution>0.6155987735837698</contribution><conceptId>1512474</conceptId></ConceptContribution></ConceptContributionTable>
|
|
2
|
+
<ConceptContributionTable><ConceptContribution><conceptName>candidate disease gene</conceptName><contribution>36.36130690574646</contribution><conceptId>1332838</conceptId></ConceptContribution><ConceptContribution><conceptName>all nervous tissue</conceptName><contribution>5.341833457350731</contribution><conceptId>1762608</conceptId></ConceptContribution><ConceptContribution><conceptName>Nerve Tissue</conceptName><contribution>5.339629203081131</contribution><conceptId>27757</conceptId></ConceptContribution><ConceptContribution><conceptName>Genes</conceptName><contribution>5.2357688546180725</contribution><conceptId>17337</conceptId></ConceptContribution><ConceptContribution><conceptName>Aggressive behavior</conceptName><contribution>3.674016520380974</contribution><conceptId>1807</conceptId></ConceptContribution><ConceptContribution><conceptName>Cell membrane</conceptName><contribution>2.3985113948583603</contribution><conceptId>7603</conceptId></ConceptContribution><ConceptContribution><conceptName>carrier of disorder</conceptName><contribution>2.014324814081192</contribution><conceptId>560175</conceptId></ConceptContribution><ConceptContribution><conceptName>lysine</conceptName><contribution>1.8032535910606384</contribution><conceptId>4275268</conceptId></ConceptContribution><ConceptContribution><conceptName>Lysine</conceptName><contribution>1.8017882481217384</contribution><conceptId>4005689</conceptId></ConceptContribution><ConceptContribution><conceptName>Methylation</conceptName><contribution>1.6273731365799904</contribution><conceptId>25723</conceptId></ConceptContribution></ConceptContributionTable>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
path:hsa05016 Huntington's disease - Homo sapiens (human)
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
100532726
|
|
2
|
+
10105
|
|
3
|
+
10126
|
|
4
|
+
10476
|
|
5
|
+
10488
|
|
6
|
+
10540
|
|
7
|
+
10891
|
|
8
|
+
10975
|
|
9
|
+
1173
|
|
10
|
+
1175
|
|
11
|
+
1211
|
|
12
|
+
1212
|
|
13
|
+
1213
|
|
14
|
+
125965
|
|
15
|
+
126328
|
|
16
|
+
1327
|
|
17
|
+
1329
|
|
18
|
+
1337
|
|
19
|
+
1339
|
|
20
|
+
1340
|
|
21
|
+
1345
|
|
22
|
+
1346
|
|
23
|
+
1347
|
|
24
|
+
1349
|
|
25
|
+
1350
|
|
26
|
+
1351
|
|
27
|
+
1385
|
|
28
|
+
1387
|
|
29
|
+
146754
|
|
30
|
+
148327
|
|
31
|
+
1537
|
|
32
|
+
160
|
|
33
|
+
161
|
|
34
|
+
163
|
|
35
|
+
1639
|
|
36
|
+
170712
|
|
37
|
+
1742
|
|
38
|
+
2033
|
|
39
|
+
23186
|
|
40
|
+
23236
|
|
41
|
+
246721
|
|
42
|
+
25942
|
|
43
|
+
25981
|
|
44
|
+
27019
|
|
45
|
+
27089
|
|
46
|
+
27113
|
|
47
|
+
2776
|
|
48
|
+
2876
|
|
49
|
+
2902
|
|
50
|
+
2904
|
|
51
|
+
291
|
|
52
|
+
2911
|
|
53
|
+
2915
|
|
54
|
+
292
|
|
55
|
+
293
|
|
56
|
+
29796
|
|
57
|
+
3064
|
|
58
|
+
3065
|
|
59
|
+
3066
|
|
60
|
+
3092
|
|
61
|
+
317
|
|
62
|
+
341947
|
|
63
|
+
3708
|
|
64
|
+
374291
|
|
65
|
+
387332
|
|
66
|
+
440567
|
|
67
|
+
4508
|
|
68
|
+
4509
|
|
69
|
+
4512
|
|
70
|
+
4513
|
|
71
|
+
4514
|
|
72
|
+
4519
|
|
73
|
+
4694
|
|
74
|
+
4695
|
|
75
|
+
4696
|
|
76
|
+
4697
|
|
77
|
+
4698
|
|
78
|
+
4700
|
|
79
|
+
4701
|
|
80
|
+
4702
|
|
81
|
+
4704
|
|
82
|
+
4705
|
|
83
|
+
4706
|
|
84
|
+
4707
|
|
85
|
+
4708
|
|
86
|
+
4709
|
|
87
|
+
4710
|
|
88
|
+
4711
|
|
89
|
+
4712
|
|
90
|
+
4713
|
|
91
|
+
4714
|
|
92
|
+
4715
|
|
93
|
+
4716
|
|
94
|
+
4717
|
|
95
|
+
4718
|
|
96
|
+
4719
|
|
97
|
+
4720
|
|
98
|
+
4722
|
|
99
|
+
4723
|
|
100
|
+
4724
|
|
101
|
+
4725
|
|
102
|
+
4726
|
|
103
|
+
4728
|
|
104
|
+
4729
|
|
105
|
+
4731
|
|
106
|
+
4899
|
|
107
|
+
498
|
|
108
|
+
506
|
|
109
|
+
509
|
|
110
|
+
51079
|
|
111
|
+
51164
|
|
112
|
+
513
|
|
113
|
+
514
|
|
114
|
+
515
|
|
115
|
+
516
|
|
116
|
+
517
|
|
117
|
+
518
|
|
118
|
+
522
|
|
119
|
+
5330
|
|
120
|
+
5331
|
|
121
|
+
5332
|
|
122
|
+
539
|
|
123
|
+
54205
|
|
124
|
+
5430
|
|
125
|
+
5431
|
|
126
|
+
5432
|
|
127
|
+
5433
|
|
128
|
+
5434
|
|
129
|
+
5435
|
|
130
|
+
5436
|
|
131
|
+
5437
|
|
132
|
+
5438
|
|
133
|
+
5439
|
|
134
|
+
5440
|
|
135
|
+
5441
|
|
136
|
+
54539
|
|
137
|
+
5468
|
|
138
|
+
548644
|
|
139
|
+
55081
|
|
140
|
+
55567
|
|
141
|
+
55967
|
|
142
|
+
56901
|
|
143
|
+
581
|
|
144
|
+
5978
|
|
145
|
+
627
|
|
146
|
+
6389
|
|
147
|
+
6390
|
|
148
|
+
6391
|
|
149
|
+
6392
|
|
150
|
+
64446
|
|
151
|
+
64764
|
|
152
|
+
6647
|
|
153
|
+
6648
|
|
154
|
+
6667
|
|
155
|
+
6874
|
|
156
|
+
6875
|
|
157
|
+
6908
|
|
158
|
+
7019
|
|
159
|
+
7052
|
|
160
|
+
7157
|
|
161
|
+
7350
|
|
162
|
+
7381
|
|
163
|
+
7384
|
|
164
|
+
7385
|
|
165
|
+
7386
|
|
166
|
+
7388
|
|
167
|
+
7416
|
|
168
|
+
7417
|
|
169
|
+
7419
|
|
170
|
+
7802
|
|
171
|
+
8218
|
|
172
|
+
83447
|
|
173
|
+
83544
|
|
174
|
+
836
|
|
175
|
+
841
|
|
176
|
+
842
|
|
177
|
+
84699
|
|
178
|
+
84701
|
|
179
|
+
9001
|
|
180
|
+
90993
|
|
181
|
+
9167
|
|
182
|
+
9377
|
|
183
|
+
9519
|
|
184
|
+
9586
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
http://soap.genome.jp/tmp/mark_pathway_www_api.133459237222169/hsa05016.png
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Set of ErrorDocumentS to follow.
|
|
2
|
+
ErrorDocument 1
|
|
3
|
+
Set of ErrorDocumentS to follow.
|
|
4
|
+
ErrorDocument 1
|
|
5
|
+
Set of ErrorDocumentS to follow.
|
|
6
|
+
ErrorDocument 1
|
|
7
|
+
Set of ErrorDocumentS to follow.
|
|
8
|
+
ErrorDocument 1
|
|
9
|
+
java.lang.NullPointerException
|
|
10
|
+
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
|
|
11
|
+
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
|
|
12
|
+
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
|
|
13
|
+
org.apache.xerces.parsers.AbstractSAXParser.endElement(unknown file)
|
|
14
|
+
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(unknown file)
|
|
15
|
+
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(unknown file)
|
|
16
|
+
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(unknown file)
|
|
17
|
+
org.apache.xerces.parsers.XML11Configuration.parse(unknown file)
|
|
18
|
+
org.apache.xerces.parsers.XML11Configuration.parse(unknown file)
|
|
19
|
+
org.apache.xerces.parsers.XMLParser.parse(unknown file)
|
|
20
|
+
org.apache.xerces.parsers.AbstractSAXParser.parse(unknown file)
|
|
21
|
+
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(unknown file)
|
|
22
|
+
javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
|
|
23
|
+
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
|
|
24
|
+
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
|
|
25
|
+
org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
|
|
26
|
+
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
|
|
27
|
+
org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
|
|
28
|
+
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
|
|
29
|
+
org.apache.axis.client.Call.invoke(Call.java:2767)
|
|
30
|
+
org.apache.axis.client.Call.invoke(Call.java:1910)
|
|
31
|
+
net.sf.taverna.wsdl.soap.WSDLSOAPInvoker.invokeCall(WSDLSOAPInvoker.java:198)
|
|
32
|
+
net.sf.taverna.wsdl.soap.WSDLSOAPInvoker.invoke(WSDLSOAPInvoker.java:139)
|
|
33
|
+
net.sf.taverna.t2.activities.wsdl.T2WSDLSOAPInvoker.invoke(T2WSDLSOAPInvoker.java:265)
|
|
34
|
+
net.sf.taverna.t2.activities.wsdl.WSDLActivity$1.run(WSDLActivity.java:289)
|
|
35
|
+
java.lang.Thread.run(Thread.java:636)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
serotonin
|
|
41
|
+
candidate disease gene
|
|
42
|
+
Genetic Polymorphism
|
|
43
|
+
Genotype
|
|
44
|
+
Genes
|
|
45
|
+
Cell membrane
|
|
46
|
+
Mental Depression
|
|
47
|
+
BDNF
|
|
48
|
+
all nervous tissue
|
|
49
|
+
Nerve Tissue
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Set of ErrorDocumentS to follow.
|
|
2
|
+
ErrorDocument 1
|
|
3
|
+
Set of ErrorDocumentS to follow.
|
|
4
|
+
ErrorDocument 1
|
|
5
|
+
java.lang.NullPointerException
|
|
6
|
+
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
|
|
7
|
+
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
|
|
8
|
+
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
|
|
9
|
+
org.apache.xerces.parsers.AbstractSAXParser.endElement(unknown file)
|
|
10
|
+
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(unknown file)
|
|
11
|
+
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(unknown file)
|
|
12
|
+
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(unknown file)
|
|
13
|
+
org.apache.xerces.parsers.XML11Configuration.parse(unknown file)
|
|
14
|
+
org.apache.xerces.parsers.XML11Configuration.parse(unknown file)
|
|
15
|
+
org.apache.xerces.parsers.XMLParser.parse(unknown file)
|
|
16
|
+
org.apache.xerces.parsers.AbstractSAXParser.parse(unknown file)
|
|
17
|
+
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(unknown file)
|
|
18
|
+
javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
|
|
19
|
+
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
|
|
20
|
+
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
|
|
21
|
+
org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
|
|
22
|
+
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
|
|
23
|
+
org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
|
|
24
|
+
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
|
|
25
|
+
org.apache.axis.client.Call.invoke(Call.java:2767)
|
|
26
|
+
org.apache.axis.client.Call.invoke(Call.java:1910)
|
|
27
|
+
net.sf.taverna.wsdl.soap.WSDLSOAPInvoker.invokeCall(WSDLSOAPInvoker.java:198)
|
|
28
|
+
net.sf.taverna.wsdl.soap.WSDLSOAPInvoker.invoke(WSDLSOAPInvoker.java:139)
|
|
29
|
+
net.sf.taverna.t2.activities.wsdl.T2WSDLSOAPInvoker.invoke(T2WSDLSOAPInvoker.java:265)
|
|
30
|
+
net.sf.taverna.t2.activities.wsdl.WSDLActivity$1.run(WSDLActivity.java:289)
|
|
31
|
+
java.lang.Thread.run(Thread.java:636)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
<ConceptContributionTable><ConceptContribution><conceptName>serotonin</conceptName><contribution>27.518025040626526</contribution><conceptId>4274509</conceptId></ConceptContribution><ConceptContribution><conceptName>candidate disease gene</conceptName><contribution>12.319853156805038</contribution><conceptId>1332838</conceptId></ConceptContribution><ConceptContribution><conceptName>Genetic Polymorphism</conceptName><contribution>5.391879379749298</contribution><conceptId>32529</conceptId></ConceptContribution><ConceptContribution><conceptName>Genotype</conceptName><contribution>4.17584702372551</contribution><conceptId>17431</conceptId></ConceptContribution><ConceptContribution><conceptName>Genes</conceptName><contribution>3.701891750097275</contribution><conceptId>17337</conceptId></ConceptContribution><ConceptContribution><conceptName>Cell membrane</conceptName><contribution>2.4947386234998703</contribution><conceptId>7603</conceptId></ConceptContribution><ConceptContribution><conceptName>Mental Depression</conceptName><contribution>1.722344383597374</contribution><conceptId>11570</conceptId></ConceptContribution><ConceptContribution><conceptName>BDNF</conceptName><contribution>1.4445194974541664</contribution><conceptId>3105912</conceptId></ConceptContribution><ConceptContribution><conceptName>all nervous tissue</conceptName><contribution>1.235499046742916</contribution><conceptId>1762608</conceptId></ConceptContribution><ConceptContribution><conceptName>Nerve Tissue</conceptName><contribution>1.2348570860922337</contribution><conceptId>27757</conceptId></ConceptContribution></ConceptContributionTable>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
path:hsa05016 Huntington's disease - Homo sapiens (human)
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
100532726
|
|
2
|
+
10105
|
|
3
|
+
10126
|
|
4
|
+
10476
|
|
5
|
+
10488
|
|
6
|
+
10540
|
|
7
|
+
10891
|
|
8
|
+
10975
|
|
9
|
+
1173
|
|
10
|
+
1175
|
|
11
|
+
1211
|
|
12
|
+
1212
|
|
13
|
+
1213
|
|
14
|
+
125965
|
|
15
|
+
126328
|
|
16
|
+
1327
|
|
17
|
+
1329
|
|
18
|
+
1337
|
|
19
|
+
1339
|
|
20
|
+
1340
|
|
21
|
+
1345
|
|
22
|
+
1346
|
|
23
|
+
1347
|
|
24
|
+
1349
|
|
25
|
+
1350
|
|
26
|
+
1351
|
|
27
|
+
1385
|
|
28
|
+
1387
|
|
29
|
+
146754
|
|
30
|
+
148327
|
|
31
|
+
1537
|
|
32
|
+
160
|
|
33
|
+
161
|
|
34
|
+
163
|
|
35
|
+
1639
|
|
36
|
+
170712
|
|
37
|
+
1742
|
|
38
|
+
2033
|
|
39
|
+
23186
|
|
40
|
+
23236
|
|
41
|
+
246721
|
|
42
|
+
25942
|
|
43
|
+
25981
|
|
44
|
+
27019
|
|
45
|
+
27089
|
|
46
|
+
27113
|
|
47
|
+
2776
|
|
48
|
+
2876
|
|
49
|
+
2902
|
|
50
|
+
2904
|
|
51
|
+
291
|
|
52
|
+
2911
|
|
53
|
+
2915
|
|
54
|
+
292
|
|
55
|
+
293
|
|
56
|
+
29796
|
|
57
|
+
3064
|
|
58
|
+
3065
|
|
59
|
+
3066
|
|
60
|
+
3092
|
|
61
|
+
317
|
|
62
|
+
341947
|
|
63
|
+
3708
|
|
64
|
+
374291
|
|
65
|
+
387332
|
|
66
|
+
440567
|
|
67
|
+
4508
|
|
68
|
+
4509
|
|
69
|
+
4512
|
|
70
|
+
4513
|
|
71
|
+
4514
|
|
72
|
+
4519
|
|
73
|
+
4694
|
|
74
|
+
4695
|
|
75
|
+
4696
|
|
76
|
+
4697
|
|
77
|
+
4698
|
|
78
|
+
4700
|
|
79
|
+
4701
|
|
80
|
+
4702
|
|
81
|
+
4704
|
|
82
|
+
4705
|
|
83
|
+
4706
|
|
84
|
+
4707
|
|
85
|
+
4708
|
|
86
|
+
4709
|
|
87
|
+
4710
|
|
88
|
+
4711
|
|
89
|
+
4712
|
|
90
|
+
4713
|
|
91
|
+
4714
|
|
92
|
+
4715
|
|
93
|
+
4716
|
|
94
|
+
4717
|
|
95
|
+
4718
|
|
96
|
+
4719
|
|
97
|
+
4720
|
|
98
|
+
4722
|
|
99
|
+
4723
|
|
100
|
+
4724
|
|
101
|
+
4725
|
|
102
|
+
4726
|
|
103
|
+
4728
|
|
104
|
+
4729
|
|
105
|
+
4731
|
|
106
|
+
4899
|
|
107
|
+
498
|
|
108
|
+
506
|
|
109
|
+
509
|
|
110
|
+
51079
|
|
111
|
+
51164
|
|
112
|
+
513
|
|
113
|
+
514
|
|
114
|
+
515
|
|
115
|
+
516
|
|
116
|
+
517
|
|
117
|
+
518
|
|
118
|
+
522
|
|
119
|
+
5330
|
|
120
|
+
5331
|
|
121
|
+
5332
|
|
122
|
+
539
|
|
123
|
+
54205
|
|
124
|
+
5430
|
|
125
|
+
5431
|
|
126
|
+
5432
|
|
127
|
+
5433
|
|
128
|
+
5434
|
|
129
|
+
5435
|
|
130
|
+
5436
|
|
131
|
+
5437
|
|
132
|
+
5438
|
|
133
|
+
5439
|
|
134
|
+
5440
|
|
135
|
+
5441
|
|
136
|
+
54539
|
|
137
|
+
5468
|
|
138
|
+
548644
|
|
139
|
+
55081
|
|
140
|
+
55567
|
|
141
|
+
55967
|
|
142
|
+
56901
|
|
143
|
+
581
|
|
144
|
+
5978
|
|
145
|
+
627
|
|
146
|
+
6389
|
|
147
|
+
6390
|
|
148
|
+
6391
|
|
149
|
+
6392
|
|
150
|
+
64446
|
|
151
|
+
64764
|
|
152
|
+
6647
|
|
153
|
+
6648
|
|
154
|
+
6667
|
|
155
|
+
6874
|
|
156
|
+
6875
|
|
157
|
+
6908
|
|
158
|
+
7019
|
|
159
|
+
7052
|
|
160
|
+
7157
|
|
161
|
+
7350
|
|
162
|
+
7381
|
|
163
|
+
7384
|
|
164
|
+
7385
|
|
165
|
+
7386
|
|
166
|
+
7388
|
|
167
|
+
7416
|
|
168
|
+
7417
|
|
169
|
+
7419
|
|
170
|
+
7802
|
|
171
|
+
8218
|
|
172
|
+
83447
|
|
173
|
+
83544
|
|
174
|
+
836
|
|
175
|
+
841
|
|
176
|
+
842
|
|
177
|
+
84699
|
|
178
|
+
84701
|
|
179
|
+
9001
|
|
180
|
+
90993
|
|
181
|
+
9167
|
|
182
|
+
9377
|
|
183
|
+
9519
|
|
184
|
+
9586
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
http://soap.genome.jp/tmp/mark_pathway_www_api.133465606115487/hsa05016.png
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
EZH2
|
|
2
|
+
HDAC1
|
|
3
|
+
histone
|
|
4
|
+
Hdac1l
|
|
5
|
+
Deacetylase
|
|
6
|
+
Transcriptional Repression
|
|
7
|
+
epigene
|
|
8
|
+
chromatin immunoprecipitation
|
|
9
|
+
Repression
|
|
10
|
+
histone deacetylase inhibitor
|
|
11
|
+
candidate disease gene
|
|
12
|
+
all nervous tissue
|
|
13
|
+
Nerve Tissue
|
|
14
|
+
Genes
|
|
15
|
+
Aggressive behavior
|
|
16
|
+
Cell membrane
|
|
17
|
+
carrier of disorder
|
|
18
|
+
lysine
|
|
19
|
+
Lysine
|
|
20
|
+
Methylation
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<ConceptContributionTable><ConceptContribution><conceptName>EZH2</conceptName><contribution>31.88125789165497</contribution><conceptId>3091515</conceptId></ConceptContribution><ConceptContribution><conceptName>HDAC1</conceptName><contribution>22.398044168949127</contribution><conceptId>3092985</conceptId></ConceptContribution><ConceptContribution><conceptName>histone</conceptName><contribution>15.102960169315338</contribution><conceptId>4278518</conceptId></ConceptContribution><ConceptContribution><conceptName>Hdac1l</conceptName><contribution>13.64096999168396</contribution><conceptId>3070448</conceptId></ConceptContribution><ConceptContribution><conceptName>Deacetylase</conceptName><contribution>3.7955906242132187</contribution><conceptId>1333261</conceptId></ConceptContribution><ConceptContribution><conceptName>Transcriptional Repression</conceptName><contribution>1.364685595035553</contribution><conceptId>920533</conceptId></ConceptContribution><ConceptContribution><conceptName>epigene</conceptName><contribution>1.0359483771026134</contribution><conceptId>2900273</conceptId></ConceptContribution><ConceptContribution><conceptName>chromatin immunoprecipitation</conceptName><contribution>0.7878270000219345</contribution><conceptId>1328856</conceptId></ConceptContribution><ConceptContribution><conceptName>Repression</conceptName><contribution>0.7402509450912476</contribution><conceptId>35143</conceptId></ConceptContribution><ConceptContribution><conceptName>histone deacetylase inhibitor</conceptName><contribution>0.6155987735837698</contribution><conceptId>1512474</conceptId></ConceptContribution></ConceptContributionTable>
|
|
2
|
+
<ConceptContributionTable><ConceptContribution><conceptName>candidate disease gene</conceptName><contribution>36.36130690574646</contribution><conceptId>1332838</conceptId></ConceptContribution><ConceptContribution><conceptName>all nervous tissue</conceptName><contribution>5.341833457350731</contribution><conceptId>1762608</conceptId></ConceptContribution><ConceptContribution><conceptName>Nerve Tissue</conceptName><contribution>5.339629203081131</contribution><conceptId>27757</conceptId></ConceptContribution><ConceptContribution><conceptName>Genes</conceptName><contribution>5.2357688546180725</contribution><conceptId>17337</conceptId></ConceptContribution><ConceptContribution><conceptName>Aggressive behavior</conceptName><contribution>3.674016520380974</contribution><conceptId>1807</conceptId></ConceptContribution><ConceptContribution><conceptName>Cell membrane</conceptName><contribution>2.3985113948583603</contribution><conceptId>7603</conceptId></ConceptContribution><ConceptContribution><conceptName>carrier of disorder</conceptName><contribution>2.014324814081192</contribution><conceptId>560175</conceptId></ConceptContribution><ConceptContribution><conceptName>lysine</conceptName><contribution>1.8032535910606384</contribution><conceptId>4275268</conceptId></ConceptContribution><ConceptContribution><conceptName>Lysine</conceptName><contribution>1.8017882481217384</contribution><conceptId>4005689</conceptId></ConceptContribution><ConceptContribution><conceptName>Methylation</conceptName><contribution>1.6273731365799904</contribution><conceptId>25723</conceptId></ConceptContribution></ConceptContributionTable>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
EZH2
|
|
2
|
+
HDAC1
|
|
3
|
+
histone
|
|
4
|
+
Hdac1l
|
|
5
|
+
Deacetylase
|
|
6
|
+
Transcriptional Repression
|
|
7
|
+
epigene
|
|
8
|
+
chromatin immunoprecipitation
|
|
9
|
+
Repression
|
|
10
|
+
histone deacetylase inhibitor
|
|
11
|
+
candidate disease gene
|
|
12
|
+
all nervous tissue
|
|
13
|
+
Nerve Tissue
|
|
14
|
+
Genes
|
|
15
|
+
Aggressive behavior
|
|
16
|
+
Cell membrane
|
|
17
|
+
carrier of disorder
|
|
18
|
+
lysine
|
|
19
|
+
Lysine
|
|
20
|
+
Methylation
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<ConceptContributionTable><ConceptContribution><conceptName>EZH2</conceptName><contribution>31.88125789165497</contribution><conceptId>3091515</conceptId></ConceptContribution><ConceptContribution><conceptName>HDAC1</conceptName><contribution>22.398044168949127</contribution><conceptId>3092985</conceptId></ConceptContribution><ConceptContribution><conceptName>histone</conceptName><contribution>15.102960169315338</contribution><conceptId>4278518</conceptId></ConceptContribution><ConceptContribution><conceptName>Hdac1l</conceptName><contribution>13.64096999168396</contribution><conceptId>3070448</conceptId></ConceptContribution><ConceptContribution><conceptName>Deacetylase</conceptName><contribution>3.7955906242132187</contribution><conceptId>1333261</conceptId></ConceptContribution><ConceptContribution><conceptName>Transcriptional Repression</conceptName><contribution>1.364685595035553</contribution><conceptId>920533</conceptId></ConceptContribution><ConceptContribution><conceptName>epigene</conceptName><contribution>1.0359483771026134</contribution><conceptId>2900273</conceptId></ConceptContribution><ConceptContribution><conceptName>chromatin immunoprecipitation</conceptName><contribution>0.7878270000219345</contribution><conceptId>1328856</conceptId></ConceptContribution><ConceptContribution><conceptName>Repression</conceptName><contribution>0.7402509450912476</contribution><conceptId>35143</conceptId></ConceptContribution><ConceptContribution><conceptName>histone deacetylase inhibitor</conceptName><contribution>0.6155987735837698</contribution><conceptId>1512474</conceptId></ConceptContribution></ConceptContributionTable>
|
|
2
|
+
<ConceptContributionTable><ConceptContribution><conceptName>candidate disease gene</conceptName><contribution>36.36130690574646</contribution><conceptId>1332838</conceptId></ConceptContribution><ConceptContribution><conceptName>all nervous tissue</conceptName><contribution>5.341833457350731</contribution><conceptId>1762608</conceptId></ConceptContribution><ConceptContribution><conceptName>Nerve Tissue</conceptName><contribution>5.339629203081131</contribution><conceptId>27757</conceptId></ConceptContribution><ConceptContribution><conceptName>Genes</conceptName><contribution>5.2357688546180725</contribution><conceptId>17337</conceptId></ConceptContribution><ConceptContribution><conceptName>Aggressive behavior</conceptName><contribution>3.674016520380974</contribution><conceptId>1807</conceptId></ConceptContribution><ConceptContribution><conceptName>Cell membrane</conceptName><contribution>2.3985113948583603</contribution><conceptId>7603</conceptId></ConceptContribution><ConceptContribution><conceptName>carrier of disorder</conceptName><contribution>2.014324814081192</contribution><conceptId>560175</conceptId></ConceptContribution><ConceptContribution><conceptName>lysine</conceptName><contribution>1.8032535910606384</contribution><conceptId>4275268</conceptId></ConceptContribution><ConceptContribution><conceptName>Lysine</conceptName><contribution>1.8017882481217384</contribution><conceptId>4005689</conceptId></ConceptContribution><ConceptContribution><conceptName>Methylation</conceptName><contribution>1.6273731365799904</contribution><conceptId>25723</conceptId></ConceptContribution></ConceptContributionTable>
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: t2-web
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.1.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Kostas Karasavvas
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-04-
|
|
18
|
+
date: 2012-04-17 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: sinatra
|
|
@@ -112,12 +112,39 @@ files:
|
|
|
112
112
|
- README
|
|
113
113
|
- CHANGES
|
|
114
114
|
- Rakefile
|
|
115
|
+
- Gemfile
|
|
116
|
+
- Gemfile.lock
|
|
115
117
|
- bin/config.ru
|
|
118
|
+
- bin/log/thin.log
|
|
116
119
|
- bin/t2_webapp.rb
|
|
117
120
|
- public/t2web/scripts/results.js
|
|
118
121
|
- public/t2web/scripts/form.js
|
|
119
122
|
- public/t2web/scripts/jquery-1.6.1.js
|
|
120
123
|
- public/t2web/scripts/jquery.tipsy.js
|
|
124
|
+
- public/t2web/tmp/outputs/f5d66ef2-8ca7-436e-aa74-73375121bc5a/contributionTable_xml
|
|
125
|
+
- public/t2web/tmp/outputs/f5d66ef2-8ca7-436e-aa74-73375121bc5a/TopContributingConcepts
|
|
126
|
+
- public/t2web/tmp/outputs/f5d66ef2-8ca7-436e-aa74-73375121bc5a/TopMatchingConcepts
|
|
127
|
+
- public/t2web/tmp/outputs/f5d66ef2-8ca7-436e-aa74-73375121bc5a/SummedSimilarity
|
|
128
|
+
- public/t2web/tmp/outputs/12b9a7b5-1023-47e2-a83d-78b3c6ca32b1/image
|
|
129
|
+
- public/t2web/tmp/outputs/12b9a7b5-1023-47e2-a83d-78b3c6ca32b1/url
|
|
130
|
+
- public/t2web/tmp/outputs/12b9a7b5-1023-47e2-a83d-78b3c6ca32b1/Pathway
|
|
131
|
+
- public/t2web/tmp/outputs/12b9a7b5-1023-47e2-a83d-78b3c6ca32b1/geneList
|
|
132
|
+
- public/t2web/tmp/outputs/9f15e720-87d0-439d-96c3-09f433435699/image
|
|
133
|
+
- public/t2web/tmp/outputs/9f15e720-87d0-439d-96c3-09f433435699/url
|
|
134
|
+
- public/t2web/tmp/outputs/9f15e720-87d0-439d-96c3-09f433435699/Pathway
|
|
135
|
+
- public/t2web/tmp/outputs/9f15e720-87d0-439d-96c3-09f433435699/geneList
|
|
136
|
+
- public/t2web/tmp/outputs/5ed0a0a3-ea27-4cdc-854a-37ae23a1022a/contributionTable_xml
|
|
137
|
+
- public/t2web/tmp/outputs/5ed0a0a3-ea27-4cdc-854a-37ae23a1022a/TopContributingConcepts
|
|
138
|
+
- public/t2web/tmp/outputs/5ed0a0a3-ea27-4cdc-854a-37ae23a1022a/TopMatchingConcepts
|
|
139
|
+
- public/t2web/tmp/outputs/5ed0a0a3-ea27-4cdc-854a-37ae23a1022a/SummedSimilarity
|
|
140
|
+
- public/t2web/tmp/outputs/08620310-4804-4f85-9d49-692504c29efd/contributionTable_xml
|
|
141
|
+
- public/t2web/tmp/outputs/08620310-4804-4f85-9d49-692504c29efd/TopContributingConcepts
|
|
142
|
+
- public/t2web/tmp/outputs/08620310-4804-4f85-9d49-692504c29efd/TopMatchingConcepts
|
|
143
|
+
- public/t2web/tmp/outputs/08620310-4804-4f85-9d49-692504c29efd/SummedSimilarity
|
|
144
|
+
- public/t2web/tmp/outputs/edf6bf6a-a530-49b9-acdf-52c490ba57c7/contributionTable_xml
|
|
145
|
+
- public/t2web/tmp/outputs/edf6bf6a-a530-49b9-acdf-52c490ba57c7/TopContributingConcepts
|
|
146
|
+
- public/t2web/tmp/outputs/edf6bf6a-a530-49b9-acdf-52c490ba57c7/TopMatchingConcepts
|
|
147
|
+
- public/t2web/tmp/outputs/edf6bf6a-a530-49b9-acdf-52c490ba57c7/SummedSimilarity
|
|
121
148
|
- public/t2web/css/results.css
|
|
122
149
|
- public/t2web/css/results_header.css
|
|
123
150
|
- public/t2web/css/tipsy.css
|