workflow-to-galaxy 0.2.7 → 0.2.8
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 +6 -2
- data/README +11 -10
- data/Rakefile +7 -6
- data/doc/rdoc/CHANGES.html +105 -0
- data/doc/rdoc/Generator.html +262 -0
- data/doc/rdoc/LICENSE.html +115 -0
- data/doc/rdoc/README.html +167 -0
- data/doc/rdoc/WorkflowToGalaxy.html +135 -0
- data/doc/rdoc/created.rid +6 -1
- data/doc/rdoc/images/brick.png +0 -0
- data/doc/rdoc/images/brick_link.png +0 -0
- data/doc/rdoc/images/bug.png +0 -0
- data/doc/rdoc/images/bullet_black.png +0 -0
- data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
- data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
- data/doc/rdoc/images/date.png +0 -0
- data/doc/rdoc/images/find.png +0 -0
- data/doc/rdoc/images/loadingAnimation.gif +0 -0
- data/doc/rdoc/images/macFFBgHack.png +0 -0
- data/doc/rdoc/images/package.png +0 -0
- data/doc/rdoc/images/page_green.png +0 -0
- data/doc/rdoc/images/page_white_text.png +0 -0
- data/doc/rdoc/images/page_white_width.png +0 -0
- data/doc/rdoc/images/plugin.png +0 -0
- data/doc/rdoc/images/ruby.png +0 -0
- data/doc/rdoc/images/tag_green.png +0 -0
- data/doc/rdoc/images/wrench.png +0 -0
- data/doc/rdoc/images/wrench_orange.png +0 -0
- data/doc/rdoc/images/zoom.png +0 -0
- data/doc/rdoc/index.html +140 -20
- data/doc/rdoc/js/darkfish.js +116 -0
- data/doc/rdoc/js/jquery.js +32 -0
- data/doc/rdoc/js/quicksearch.js +114 -0
- data/doc/rdoc/js/thickbox-compressed.js +10 -0
- data/doc/rdoc/lib/workflow-to-galaxy/generator_rb.html +55 -0
- data/doc/rdoc/lib/workflow-to-galaxy_rb.html +54 -0
- data/doc/rdoc/rdoc.css +763 -0
- metadata +52 -14
- data/doc/rdoc/classes/Generator.html +0 -215
- data/doc/rdoc/classes/WorkflowToGalaxy.html +0 -105
- data/doc/rdoc/files/LICENSE.html +0 -133
- data/doc/rdoc/files/README.html +0 -192
- data/doc/rdoc/files/lib/workflow-to-galaxy/generator_rb.html +0 -108
- data/doc/rdoc/files/lib/workflow-to-galaxy_rb.html +0 -108
- data/doc/rdoc/fr_class_index.html +0 -28
- data/doc/rdoc/fr_file_index.html +0 -30
- data/doc/rdoc/fr_method_index.html +0 -28
- data/doc/rdoc/rdoc-style.css +0 -208
data/CHANGES
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
= Changes log for the Taverna-Galaxy Gem
|
2
2
|
|
3
|
-
== Version 0.2.
|
3
|
+
== Version 0.2.8
|
4
|
+
* Clean up of documentation
|
5
|
+
* Added rubyzip dependency to gemspec
|
6
|
+
|
4
7
|
|
5
|
-
|
8
|
+
== Version 0.2.7
|
9
|
+
* A Galaxy tool can now also be created by providing a t2flow file with the --t2flow flag.
|
6
10
|
|
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
Authors:: Konstantinos Karasavvas
|
5
|
-
Gem Version:: 0.2.
|
5
|
+
Gem Version:: 0.2.8
|
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) 2010 Netherlands Bioinformatics Centre, The Netherlands
|
@@ -18,12 +18,12 @@ is used to access workflow information via its REST API but a workflow descripti
|
|
18
18
|
from a file is also supported.
|
19
19
|
|
20
20
|
The name is workflow-to-galaxy rather than t2-workflow-to-galaxy because it is
|
21
|
-
possible that it will support other workflow management
|
21
|
+
possible that it will support other workflow management systems in the future.
|
22
22
|
|
23
23
|
|
24
24
|
== Installation
|
25
25
|
|
26
|
-
[sudo] gem install workflow-to-galaxy
|
26
|
+
[sudo] gem install workflow-to-galaxy
|
27
27
|
|
28
28
|
|
29
29
|
== Usage
|
@@ -36,11 +36,11 @@ the full URL of the workflow in the myExperiment website. Alternatively
|
|
36
36
|
a t2flow file can be passed for workflows not in myExperiment. Available
|
37
37
|
options are:
|
38
38
|
|
39
|
-
-o OUTPUT, --output=OUTPUT The file name(s) of the generated tool. If it is not specified then the workflow's name will be used.
|
39
|
+
-o OUTPUT, --output=OUTPUT The file name(s) of the generated tool. If it is not specified then the workflow's name will be used.
|
40
40
|
|
41
|
-
-s SERVER, --server=SERVER The taverna server that the script will request execution from. If it is not specified then "http://localhost:8980/taverna-server" will be used.
|
41
|
+
-s SERVER, --server=SERVER The taverna server that the script will request execution from. If it is not specified then "http://localhost:8980/taverna-server" will be used.
|
42
42
|
|
43
|
-
-t, --t2flow The workflow is a t2flow file.
|
43
|
+
-t, --t2flow The workflow is a t2flow file.
|
44
44
|
|
45
45
|
|
46
46
|
== Example
|
@@ -48,13 +48,14 @@ options are:
|
|
48
48
|
Let's say we want to install the taverna2 workflow http://www.myexperiment.org/workflows/74.html
|
49
49
|
from myExperiment repository:
|
50
50
|
|
51
|
-
|
51
|
+
$ workflow_to_galaxy -s http://localhost:8980/taverna-server http://www.myexperiment.org/workflows/74/download/bioaid_proteindiscovery_781733.t2flow?version=5
|
52
52
|
|
53
53
|
|
54
54
|
|
55
55
|
== References
|
56
56
|
|
57
|
-
Galaxy::
|
58
|
-
|
59
|
-
|
57
|
+
Taverna-Galaxy:: https://trac.nbic.nl/elabfactory/wiki/eGalaxy
|
58
|
+
Galaxy:: http://galaxy.psu.edu
|
59
|
+
Taverna2:: http://www.taverna.org.uk
|
60
|
+
myExperiment:: http://www.myexperiment.org
|
60
61
|
|
data/Rakefile
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
require 'rubygems'
|
7
7
|
require 'rake'
|
8
8
|
require 'rake/clean'
|
9
|
-
require 'rake/gempackagetask'
|
10
|
-
require 'rake/rdoctask'
|
11
9
|
require 'rake/testtask'
|
10
|
+
require 'rubygems/package_task'
|
11
|
+
require 'rdoc/task'
|
12
12
|
|
13
13
|
spec = Gem::Specification.new do |s|
|
14
14
|
s.name = 'workflow-to-galaxy'
|
15
|
-
s.version = '0.2.
|
15
|
+
s.version = '0.2.8'
|
16
16
|
s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES']
|
17
17
|
s.summary = 'This script acquires information for a taverna 2 workflow from myExperiment (or from a file) and generates a Galaxy tool (.xml and .rb files).'
|
18
18
|
s.description = s.summary
|
@@ -25,16 +25,17 @@ spec = Gem::Specification.new do |s|
|
|
25
25
|
s.add_dependency 'myexperiment-rest', '>= 0.2.6'
|
26
26
|
s.add_dependency 'taverna-t2flow', '>= 0.2.0'
|
27
27
|
s.add_dependency 't2-server', '>= 0.5.3'
|
28
|
+
s.add_dependency 'rubyzip', '>= 0.9.4'
|
28
29
|
end
|
29
30
|
|
30
|
-
|
31
|
+
Gem::PackageTask.new(spec) do |p|
|
31
32
|
p.gem_spec = spec
|
32
33
|
p.need_tar = true
|
33
34
|
p.need_zip = true
|
34
35
|
end
|
35
36
|
|
36
|
-
|
37
|
-
files =['README', 'LICENSE', 'lib/**/*.rb']
|
37
|
+
RDoc::Task.new do |rdoc|
|
38
|
+
files =['README', 'LICENSE', 'CHANGES', 'lib/**/*.rb']
|
38
39
|
rdoc.rdoc_files.add(files)
|
39
40
|
rdoc.main = "README" # page to start on
|
40
41
|
rdoc.title = "workflow-to-galaxy Docs"
|
@@ -0,0 +1,105 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: CHANGES [workflow-to-galaxy Docs]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./CHANGES.html">CHANGES</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="./README.html">README</a></li>
|
47
|
+
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
<div id="classindex-section" class="section project-section">
|
53
|
+
<h3 class="section-header">Class Index
|
54
|
+
<span class="search-toggle"><img src="./images/find.png"
|
55
|
+
height="16" width="16" alt="[+]"
|
56
|
+
title="show/hide quicksearch" /></span></h3>
|
57
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
58
|
+
<fieldset>
|
59
|
+
<legend>Quicksearch</legend>
|
60
|
+
<input type="text" name="quicksearch" value=""
|
61
|
+
class="quicksearch-field" />
|
62
|
+
</fieldset>
|
63
|
+
</form>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="./Generator.html">Generator</a></li>
|
68
|
+
|
69
|
+
<li><a href="./WorkflowToGalaxy.html">WorkflowToGalaxy</a></li>
|
70
|
+
|
71
|
+
</ul>
|
72
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="documentation">
|
80
|
+
|
81
|
+
<h1>Changes log for the Taverna-Galaxy Gem</h1>
|
82
|
+
|
83
|
+
<h2>Version 0.2.8</h2>
|
84
|
+
<ul><li>
|
85
|
+
<p>Clean up of documentation</p>
|
86
|
+
</li><li>
|
87
|
+
<p>Added rubyzip dependency to gemspec</p>
|
88
|
+
</li></ul>
|
89
|
+
|
90
|
+
<h2>Version 0.2.7</h2>
|
91
|
+
<ul><li>
|
92
|
+
<p>A Galaxy tool can now also be created by providing a t2flow file with the
|
93
|
+
–t2flow flag.</p>
|
94
|
+
</li></ul>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<div id="validator-badges">
|
99
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
100
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
101
|
+
Rdoc Generator</a> 2</small>.</p>
|
102
|
+
</div>
|
103
|
+
</body>
|
104
|
+
</html>
|
105
|
+
|
@@ -0,0 +1,262 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Module: Generator</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
13
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
14
|
+
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
15
|
+
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body id="top" class="module">
|
19
|
+
|
20
|
+
<div id="metadata">
|
21
|
+
<div id="home-metadata">
|
22
|
+
<div id="home-section" class="section">
|
23
|
+
<h3 class="section-header">
|
24
|
+
<a href="./index.html">Home</a>
|
25
|
+
<a href="./index.html#classes">Classes</a>
|
26
|
+
<a href="./index.html#methods">Methods</a>
|
27
|
+
</h3>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div id="file-metadata">
|
32
|
+
<div id="file-list-section" class="section">
|
33
|
+
<h3 class="section-header">In Files</h3>
|
34
|
+
<div class="section-body">
|
35
|
+
<ul>
|
36
|
+
|
37
|
+
<li><a href="./lib/workflow-to-galaxy/generator_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
+
class="thickbox" title="lib/workflow-to-galaxy/generator.rb">lib/workflow-to-galaxy/generator.rb</a></li>
|
39
|
+
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div id="class-metadata">
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<!-- Method Quickref -->
|
56
|
+
<div id="method-list-section" class="section">
|
57
|
+
<h3 class="section-header">Methods</h3>
|
58
|
+
<ul class="link-list">
|
59
|
+
|
60
|
+
<li><a href="#method-i-generate_script">#generate_script</a></li>
|
61
|
+
|
62
|
+
<li><a href="#method-i-generate_xml">#generate_xml</a></li>
|
63
|
+
|
64
|
+
</ul>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div id="project-metadata">
|
72
|
+
|
73
|
+
|
74
|
+
<div id="fileindex-section" class="section project-section">
|
75
|
+
<h3 class="section-header">Files</h3>
|
76
|
+
<ul>
|
77
|
+
|
78
|
+
<li class="file"><a href="./CHANGES.html">CHANGES</a></li>
|
79
|
+
|
80
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
81
|
+
|
82
|
+
<li class="file"><a href="./README.html">README</a></li>
|
83
|
+
|
84
|
+
</ul>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
|
88
|
+
<div id="classindex-section" class="section project-section">
|
89
|
+
<h3 class="section-header">Class/Module Index
|
90
|
+
<span class="search-toggle"><img src="./images/find.png"
|
91
|
+
height="16" width="16" alt="[+]"
|
92
|
+
title="show/hide quicksearch" /></span></h3>
|
93
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
94
|
+
<fieldset>
|
95
|
+
<legend>Quicksearch</legend>
|
96
|
+
<input type="text" name="quicksearch" value=""
|
97
|
+
class="quicksearch-field" />
|
98
|
+
</fieldset>
|
99
|
+
</form>
|
100
|
+
|
101
|
+
<ul class="link-list">
|
102
|
+
|
103
|
+
<li><a href="./Generator.html">Generator</a></li>
|
104
|
+
|
105
|
+
<li><a href="./WorkflowToGalaxy.html">WorkflowToGalaxy</a></li>
|
106
|
+
|
107
|
+
</ul>
|
108
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div id="documentation">
|
116
|
+
<h1 class="module">Generator</h1>
|
117
|
+
|
118
|
+
<div id="description" class="description">
|
119
|
+
|
120
|
+
<p>The <a href="Generator.html">Generator</a> module contains two public
|
121
|
+
methods that generate a Galaxy’s tool XML and script files</p>
|
122
|
+
|
123
|
+
</div><!-- description -->
|
124
|
+
|
125
|
+
|
126
|
+
<div id="5Buntitled-5D" class="documentation-section">
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
<!-- Methods -->
|
136
|
+
|
137
|
+
<div id="public-instance-method-details" class="method-section section">
|
138
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
139
|
+
|
140
|
+
|
141
|
+
<div id="generate_script-method" class="method-detail ">
|
142
|
+
<a name="method-i-generate_script"></a>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
<div class="method-heading">
|
147
|
+
<span class="method-callseq">generate_script(my_exp_rest, t2_server, script_file) → nil</span>
|
148
|
+
|
149
|
+
<span class="method-click-advice">click to toggle source</span>
|
150
|
+
|
151
|
+
</div>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<div class="method-description">
|
156
|
+
|
157
|
+
<p>Generates the Galaxy tool’s script file responsible for talking to the
|
158
|
+
taverna server</p>
|
159
|
+
<dl class="rdoc-list"><dt><tt>my_exp_rest</tt></dt>
|
160
|
+
<dd>
|
161
|
+
<p>a <em>Workflow</em> object as returned from
|
162
|
+
<em>MyExperimentREST.ReadWorkflow.new(url)</em></p>
|
163
|
+
</dd><dt><tt>t2_server</tt></dt>
|
164
|
+
<dd>
|
165
|
+
<p>a string containing the URL of the taverna 2 server</p>
|
166
|
+
</dd><dt><tt>script_out</tt></dt>
|
167
|
+
<dd>
|
168
|
+
<p>the file handler to write the generated script code</p>
|
169
|
+
</dd></dl>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
<div class="method-source-code" id="generate_script-source">
|
174
|
+
<pre>
|
175
|
+
<span class="ruby-comment"># File lib/workflow-to-galaxy/generator.rb, line 487</span>
|
176
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">generate_script</span>(<span class="ruby-identifier">t2_workflow</span>, <span class="ruby-identifier">t2_server</span>, <span class="ruby-identifier">script_out</span>)
|
177
|
+
<span class="ruby-identifier">script_preample</span>(<span class="ruby-identifier">script_out</span>)
|
178
|
+
<span class="ruby-identifier">script_util_methods</span>(<span class="ruby-identifier">script_out</span>)
|
179
|
+
<span class="ruby-identifier">script_create_t2_run</span>(<span class="ruby-identifier">script_out</span>, <span class="ruby-identifier">t2_workflow</span>, <span class="ruby-identifier">t2_server</span>)
|
180
|
+
<span class="ruby-identifier">script_init_inputs</span>(<span class="ruby-identifier">script_out</span>, <span class="ruby-identifier">t2_workflow</span>)
|
181
|
+
<span class="ruby-identifier">script_start_run</span>(<span class="ruby-identifier">script_out</span>)
|
182
|
+
<span class="ruby-identifier">script_get_outputs</span>(<span class="ruby-identifier">script_out</span>, <span class="ruby-identifier">t2_workflow</span>)
|
183
|
+
<span class="ruby-identifier">script_finish_run</span>(<span class="ruby-identifier">script_out</span>)
|
184
|
+
<span class="ruby-keyword">end</span></pre>
|
185
|
+
</div><!-- generate_script-source -->
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
</div><!-- generate_script-method -->
|
193
|
+
|
194
|
+
|
195
|
+
<div id="generate_xml-method" class="method-detail ">
|
196
|
+
<a name="method-i-generate_xml"></a>
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
<div class="method-heading">
|
201
|
+
<span class="method-callseq">generate_xml(my_exp_rest, xml_file) → nil</span>
|
202
|
+
|
203
|
+
<span class="method-click-advice">click to toggle source</span>
|
204
|
+
|
205
|
+
</div>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
<div class="method-description">
|
210
|
+
|
211
|
+
<p>Generates the Galaxy tool’s xml file responsible for the UI.</p>
|
212
|
+
<dl class="rdoc-list"><dt><tt>t2_workflow</tt></dt>
|
213
|
+
<dd>
|
214
|
+
<p>a <em>Workflow</em> object as returned from
|
215
|
+
<em>MyExperimentREST::Workflows.new.read(url)</em></p>
|
216
|
+
</dd><dt><tt>xml_file</tt></dt>
|
217
|
+
<dd>
|
218
|
+
<p>a string containing the name of the generated XML file</p>
|
219
|
+
</dd><dt><tt>xml_out</tt></dt>
|
220
|
+
<dd>
|
221
|
+
<p>the file handler to write the generated XML tags</p>
|
222
|
+
</dd></dl>
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
<div class="method-source-code" id="generate_xml-source">
|
227
|
+
<pre>
|
228
|
+
<span class="ruby-comment"># File lib/workflow-to-galaxy/generator.rb, line 468</span>
|
229
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">generate_xml</span>(<span class="ruby-identifier">t2_workflow</span>, <span class="ruby-identifier">xml_file</span>, <span class="ruby-identifier">xml_out</span>)
|
230
|
+
<span class="ruby-identifier">tool_begin_tag</span>(<span class="ruby-identifier">xml_out</span>, <span class="ruby-identifier">t2_workflow</span>.<span class="ruby-identifier">title</span>)
|
231
|
+
<span class="ruby-identifier">command_tag</span>(<span class="ruby-identifier">xml_out</span>, <span class="ruby-identifier">t2_workflow</span>, <span class="ruby-identifier">xml_file</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-string">'.xml'</span>, <span class="ruby-string">'.rb'</span>))
|
232
|
+
<span class="ruby-identifier">inputs_tag</span>(<span class="ruby-identifier">xml_out</span>, <span class="ruby-identifier">t2_workflow</span>.<span class="ruby-identifier">inputs</span>)
|
233
|
+
<span class="ruby-identifier">outputs_tag</span>(<span class="ruby-identifier">xml_out</span>, <span class="ruby-identifier">t2_workflow</span>.<span class="ruby-identifier">outputs</span>)
|
234
|
+
<span class="ruby-identifier">help_tag</span>(<span class="ruby-identifier">xml_out</span>, <span class="ruby-identifier">t2_workflow</span>)
|
235
|
+
<span class="ruby-identifier">tool_end_tag</span>(<span class="ruby-identifier">xml_out</span>)
|
236
|
+
<span class="ruby-keyword">end</span></pre>
|
237
|
+
</div><!-- generate_xml-source -->
|
238
|
+
|
239
|
+
</div>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
</div><!-- generate_xml-method -->
|
245
|
+
|
246
|
+
|
247
|
+
</div><!-- public-instance-method-details -->
|
248
|
+
|
249
|
+
</div><!-- 5Buntitled-5D -->
|
250
|
+
|
251
|
+
|
252
|
+
</div><!-- documentation -->
|
253
|
+
|
254
|
+
<div id="validator-badges">
|
255
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
256
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
257
|
+
Rdoc Generator</a> 2</small>.</p>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
</body>
|
261
|
+
</html>
|
262
|
+
|
@@ -0,0 +1,115 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: LICENSE [workflow-to-galaxy Docs]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./CHANGES.html">CHANGES</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="./README.html">README</a></li>
|
47
|
+
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
<div id="classindex-section" class="section project-section">
|
53
|
+
<h3 class="section-header">Class Index
|
54
|
+
<span class="search-toggle"><img src="./images/find.png"
|
55
|
+
height="16" width="16" alt="[+]"
|
56
|
+
title="show/hide quicksearch" /></span></h3>
|
57
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
58
|
+
<fieldset>
|
59
|
+
<legend>Quicksearch</legend>
|
60
|
+
<input type="text" name="quicksearch" value=""
|
61
|
+
class="quicksearch-field" />
|
62
|
+
</fieldset>
|
63
|
+
</form>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="./Generator.html">Generator</a></li>
|
68
|
+
|
69
|
+
<li><a href="./WorkflowToGalaxy.html">WorkflowToGalaxy</a></li>
|
70
|
+
|
71
|
+
</ul>
|
72
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="documentation">
|
80
|
+
|
81
|
+
<h2>workflow-to-galaxy</h2>
|
82
|
+
|
83
|
+
<p>The MIT License</p>
|
84
|
+
|
85
|
+
<p>Copyright © 2010 - Netherlands Bioinformatics Centre</p>
|
86
|
+
|
87
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
88
|
+
copy of this software and associated documentation files (the
|
89
|
+
“Software”), to deal in the Software without restriction, including
|
90
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
91
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
92
|
+
persons to whom the Software is furnished to do so, subject to the
|
93
|
+
following conditions:</p>
|
94
|
+
|
95
|
+
<p>The above copyright notice and this permission notice shall be included in
|
96
|
+
all copies or substantial portions of the Software.</p>
|
97
|
+
|
98
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
99
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
100
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
101
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
102
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
103
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
104
|
+
DEALINGS IN THE SOFTWARE.</p>
|
105
|
+
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<div id="validator-badges">
|
109
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
110
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
111
|
+
Rdoc Generator</a> 2</small>.</p>
|
112
|
+
</div>
|
113
|
+
</body>
|
114
|
+
</html>
|
115
|
+
|