workflow-to-galaxy 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +3 -0
- data/README +3 -3
- data/Rakefile +4 -4
- data/doc/rdoc/CHANGES.html +93 -91
- data/doc/rdoc/LICENSE.html +81 -84
- data/doc/rdoc/README.html +112 -114
- data/doc/rdoc/String.html +148 -161
- data/doc/rdoc/WorkflowToGalaxy.html +122 -148
- data/doc/rdoc/WorkflowToGalaxy/GalaxyTool.html +203 -229
- data/doc/rdoc/WorkflowToGalaxy/Workflows.html +115 -125
- data/doc/rdoc/created.rid +7 -7
- data/doc/rdoc/images/add.png +0 -0
- data/doc/rdoc/images/delete.png +0 -0
- data/doc/rdoc/images/tag_blue.png +0 -0
- data/doc/rdoc/images/transparent.png +0 -0
- data/doc/rdoc/index.html +108 -90
- data/doc/rdoc/js/darkfish.js +99 -62
- data/doc/rdoc/js/jquery.js +15 -29
- data/doc/rdoc/js/navigation.js +142 -0
- data/doc/rdoc/js/search.js +94 -0
- data/doc/rdoc/js/search_index.js +1 -0
- data/doc/rdoc/js/searcher.js +228 -0
- data/doc/rdoc/rdoc.css +119 -339
- data/doc/rdoc/table_of_contents.html +103 -0
- metadata +44 -42
- data/doc/rdoc/Generator.html +0 -262
- data/doc/rdoc/Object.html +0 -161
- data/doc/rdoc/js/quicksearch.js +0 -114
- data/doc/rdoc/js/thickbox-compressed.js +0 -10
- data/doc/rdoc/lib/generator_rb.html +0 -54
- data/doc/rdoc/lib/workflow-to-galaxy/constants_rb.html +0 -52
- data/doc/rdoc/lib/workflow-to-galaxy/galaxy_rb.html +0 -58
- data/doc/rdoc/lib/workflow-to-galaxy/generator_rb.html +0 -58
- data/doc/rdoc/lib/workflow-to-galaxy_rb.html +0 -56
- data/doc/rdoc/lib/workflow_to_galaxy_rb.html +0 -60
data/doc/rdoc/README.html
CHANGED
@@ -1,107 +1,105 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
1
|
+
<!DOCTYPE html>
|
4
2
|
|
5
|
-
<html
|
3
|
+
<html>
|
6
4
|
<head>
|
7
|
-
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
8
6
|
|
9
|
-
|
7
|
+
<title>README - workflow-to-galaxy Docs</title>
|
10
8
|
|
11
|
-
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
12
21
|
|
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
22
|
|
23
23
|
<body class="file">
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
|
80
|
-
</div>
|
81
|
-
</div>
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="./CHANGES.html">CHANGES</a>
|
53
|
+
|
54
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a>
|
55
|
+
|
56
|
+
<li class="file"><a href="./README.html">README</a>
|
57
|
+
|
58
|
+
</ul>
|
59
|
+
</nav>
|
60
|
+
|
61
|
+
<nav id="classindex-section" class="section project-section">
|
62
|
+
<h3 class="section-header">Class and Module Index</h3>
|
63
|
+
|
64
|
+
<ul class="link-list">
|
65
|
+
|
66
|
+
<li><a href="./WorkflowToGalaxy.html">WorkflowToGalaxy</a>
|
67
|
+
|
68
|
+
<li><a href="./WorkflowToGalaxy/GalaxyTool.html">WorkflowToGalaxy::GalaxyTool</a>
|
69
|
+
|
70
|
+
<li><a href="./WorkflowToGalaxy/Workflows.html">WorkflowToGalaxy::Workflows</a>
|
71
|
+
|
72
|
+
<li><a href="./String.html">String</a>
|
73
|
+
|
74
|
+
</ul>
|
75
|
+
</nav>
|
82
76
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<
|
87
|
-
|
88
|
-
<
|
89
|
-
|
90
|
-
<
|
91
|
-
<p>
|
92
|
-
</
|
93
|
-
<
|
94
|
-
<p
|
95
|
-
</
|
96
|
-
<
|
77
|
+
</div>
|
78
|
+
</nav>
|
79
|
+
|
80
|
+
<div id="documentation" class="description">
|
81
|
+
|
82
|
+
<h1 id="label-workflow-to-galaxy+tool+generator">workflow-to-galaxy tool generator</h1>
|
83
|
+
<dl class="rdoc-list note-list"><dt>Authors
|
84
|
+
<dd>
|
85
|
+
<p>Konstantinos Karasavvas, Finn Bacall</p>
|
86
|
+
</dd><dt>Gem Version
|
87
|
+
<dd>
|
88
|
+
<p>0.3.4</p>
|
89
|
+
</dd><dt>Contact
|
90
|
+
<dd>
|
91
|
+
<p><a href="mailto:r.m.van_schouwen@lumc.nl">r.m.van_schouwen@lumc.nl</a>, <a
|
92
|
+
href="mailto:finn.bacall@cs.man.ac.uk">finn.bacall@cs.man.ac.uk</a></p>
|
93
|
+
</dd><dt>Licence
|
94
|
+
<dd>
|
97
95
|
<p>MIT (See LICENCE or <a
|
98
96
|
href="http://www.opensource.org/licenses/mit-license">www.opensource.org/licenses/mit-license</a>)</p>
|
99
|
-
</
|
100
|
-
<
|
97
|
+
</dd><dt>Copyright
|
98
|
+
<dd>
|
101
99
|
<p>© 2010 Netherlands Bioinformatics Centre, The Netherlands</p>
|
102
|
-
</
|
100
|
+
</dd></dl>
|
103
101
|
|
104
|
-
<h2>Synopsis</h2>
|
102
|
+
<h2 id="label-Synopsis">Synopsis</h2>
|
105
103
|
|
106
104
|
<p>This script requires a Taverna2 workflow URL as input and generates a
|
107
105
|
Galaxy tool (a UI XML definition plus a script) that will enable the
|
@@ -114,11 +112,11 @@ its REST API but a workflow description from a file is also supported.</p>
|
|
114
112
|
is possible that it will support other workflow management systems in the
|
115
113
|
future.</p>
|
116
114
|
|
117
|
-
<h2>Installation</h2>
|
115
|
+
<h2 id="label-Installation">Installation</h2>
|
118
116
|
|
119
117
|
<pre>[sudo] gem install workflow-to-galaxy</pre>
|
120
118
|
|
121
|
-
<h2>Usage</h2>
|
119
|
+
<h2 id="label-Usage">Usage</h2>
|
122
120
|
|
123
121
|
<p>workflow_to_galaxy [options] <myExperiement-workflow> |
|
124
122
|
<t2flow-file></p>
|
@@ -135,7 +133,7 @@ options are:</p>
|
|
135
133
|
|
136
134
|
-t, --t2flow The workflow is a t2flow file.</pre>
|
137
135
|
|
138
|
-
<h2>Example</h2>
|
136
|
+
<h2 id="label-Example">Example</h2>
|
139
137
|
|
140
138
|
<p>Let’s say we want to install the taverna2 workflow <a
|
141
139
|
href="http://www.myexperiment.org/workflows/74.html">www.myexperiment.org/workflows/74.html</a>
|
@@ -143,34 +141,34 @@ from myExperiment repository:</p>
|
|
143
141
|
|
144
142
|
<pre>$ workflow_to_galaxy -s http://localhost:8980/taverna-server http://www.myexperiment.org/workflows/74/download/bioaid_proteindiscovery_781733.t2flow?version=5</pre>
|
145
143
|
|
146
|
-
<h2>References</h2>
|
147
|
-
<
|
148
|
-
<
|
144
|
+
<h2 id="label-References">References</h2>
|
145
|
+
<dl class="rdoc-list note-list"><dt>Taverna-Galaxy
|
146
|
+
<dd>
|
149
147
|
<p><a
|
150
148
|
href="https://trac.nbic.nl/elabfactory/wiki/eGalaxy">trac.nbic.nl/elabfactory/wiki/eGalaxy</a></p>
|
151
|
-
</
|
152
|
-
<
|
149
|
+
</dd><dt>Galaxy
|
150
|
+
<dd>
|
153
151
|
<p><a href="http://galaxy.psu.edu">galaxy.psu.edu</a></p>
|
154
|
-
</
|
155
|
-
<
|
152
|
+
</dd><dt>Taverna2
|
153
|
+
<dd>
|
156
154
|
<p><a href="http://www.taverna.org.uk">www.taverna.org.uk</a></p>
|
157
|
-
</
|
158
|
-
<
|
155
|
+
</dd><dt>myExperiment
|
156
|
+
<dd>
|
159
157
|
<p><a href="http://www.myexperiment.org">www.myexperiment.org</a></p>
|
160
|
-
</
|
158
|
+
</dd></dl>
|
161
159
|
|
162
|
-
<h2>Semantic Versioning</h2>
|
160
|
+
<h2 id="label-Semantic+Versioning">Semantic Versioning</h2>
|
163
161
|
|
164
162
|
<p>This module uses semantic versioning concepts from <a
|
165
163
|
href="http://semver.org/.">semver.org/.</a></p>
|
166
164
|
|
167
|
-
|
165
|
+
</div>
|
168
166
|
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
</
|
174
|
-
</
|
175
|
-
</
|
167
|
+
|
168
|
+
|
169
|
+
<footer id="validator-badges">
|
170
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
171
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
172
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
173
|
+
</footer>
|
176
174
|
|
data/doc/rdoc/String.html
CHANGED
@@ -1,203 +1,190 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
5
4
|
<head>
|
6
|
-
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class String - workflow-to-galaxy Docs</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
7
10
|
|
8
|
-
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
9
14
|
|
10
|
-
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
11
21
|
|
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
22
|
|
17
|
-
</head>
|
18
23
|
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/workflow-to-galaxy.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
19
53
|
|
20
|
-
|
21
|
-
|
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_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
-
class="thickbox" title="lib/workflow-to-galaxy.rb">lib/workflow-to-galaxy.rb</a></li>
|
39
|
-
|
40
|
-
</ul>
|
41
|
-
</div>
|
42
|
-
</div>
|
54
|
+
|
55
|
+
</div>
|
43
56
|
|
44
|
-
|
45
|
-
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link">Object
|
63
|
+
|
64
|
+
</nav>
|
46
65
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<nav id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list">
|
72
|
+
|
73
|
+
<li><a href="#method-i-to_filename">#to_filename</a>
|
74
|
+
|
75
|
+
</ul>
|
76
|
+
</nav>
|
57
77
|
|
58
|
-
|
78
|
+
</div>
|
59
79
|
|
60
|
-
|
80
|
+
<div id="project-metadata">
|
81
|
+
<nav id="fileindex-section" class="section project-section">
|
82
|
+
<h3 class="section-header">Pages</h3>
|
61
83
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
<li class="file"><a href="./README.html">README</a></li>
|
89
|
-
|
90
|
-
</ul>
|
91
|
-
</div>
|
92
|
-
|
93
|
-
|
94
|
-
<div id="classindex-section" class="section project-section">
|
95
|
-
<h3 class="section-header">Class/Module Index
|
96
|
-
<span class="search-toggle"><img src="./images/find.png"
|
97
|
-
height="16" width="16" alt="[+]"
|
98
|
-
title="show/hide quicksearch" /></span></h3>
|
99
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
100
|
-
<fieldset>
|
101
|
-
<legend>Quicksearch</legend>
|
102
|
-
<input type="text" name="quicksearch" value=""
|
103
|
-
class="quicksearch-field" />
|
104
|
-
</fieldset>
|
105
|
-
</form>
|
106
|
-
|
107
|
-
<ul class="link-list">
|
108
|
-
|
109
|
-
<li><a href="./WorkflowToGalaxy.html">WorkflowToGalaxy</a></li>
|
110
|
-
|
111
|
-
<li><a href="./WorkflowToGalaxy/GalaxyTool.html">WorkflowToGalaxy::GalaxyTool</a></li>
|
112
|
-
|
113
|
-
<li><a href="./WorkflowToGalaxy/Workflows.html">WorkflowToGalaxy::Workflows</a></li>
|
114
|
-
|
115
|
-
<li><a href="./String.html">String</a></li>
|
116
|
-
|
117
|
-
</ul>
|
118
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
119
|
-
</div>
|
84
|
+
<ul>
|
85
|
+
|
86
|
+
<li class="file"><a href="./CHANGES.html">CHANGES</a>
|
87
|
+
|
88
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a>
|
89
|
+
|
90
|
+
<li class="file"><a href="./README.html">README</a>
|
91
|
+
|
92
|
+
</ul>
|
93
|
+
</nav>
|
94
|
+
|
95
|
+
<nav id="classindex-section" class="section project-section">
|
96
|
+
<h3 class="section-header">Class and Module Index</h3>
|
97
|
+
|
98
|
+
<ul class="link-list">
|
99
|
+
|
100
|
+
<li><a href="./WorkflowToGalaxy.html">WorkflowToGalaxy</a>
|
101
|
+
|
102
|
+
<li><a href="./WorkflowToGalaxy/GalaxyTool.html">WorkflowToGalaxy::GalaxyTool</a>
|
103
|
+
|
104
|
+
<li><a href="./WorkflowToGalaxy/Workflows.html">WorkflowToGalaxy::Workflows</a>
|
105
|
+
|
106
|
+
<li><a href="./String.html">String</a>
|
107
|
+
|
108
|
+
</ul>
|
109
|
+
</nav>
|
120
110
|
|
121
|
-
|
122
|
-
</div>
|
123
111
|
</div>
|
112
|
+
</nav>
|
124
113
|
|
125
|
-
|
126
|
-
|
114
|
+
<div id="documentation">
|
115
|
+
<h1 class="class">class String</h1>
|
127
116
|
|
128
|
-
|
129
|
-
|
117
|
+
<div id="description" class="description">
|
118
|
+
|
130
119
|
<p>Add methods to the <a href="String.html">String</a> class to operate on
|
131
120
|
file paths.</p>
|
132
121
|
|
133
|
-
|
122
|
+
</div><!-- description -->
|
134
123
|
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
135
128
|
|
136
|
-
<div id="5Buntitled-5D" class="documentation-section">
|
137
|
-
|
138
|
-
|
139
|
-
|
140
129
|
|
141
|
-
|
130
|
+
|
142
131
|
|
143
|
-
|
132
|
+
|
144
133
|
|
145
|
-
|
146
|
-
|
147
|
-
<div id="public-instance-method-details" class="method-section section">
|
148
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
134
|
+
|
149
135
|
|
150
|
-
|
151
|
-
|
152
|
-
|
136
|
+
<!-- Methods -->
|
137
|
+
|
138
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
139
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
153
140
|
|
141
|
+
|
142
|
+
<div id="method-i-to_filename" class="method-detail ">
|
143
|
+
|
144
|
+
|
145
|
+
<div class="method-heading">
|
146
|
+
<span class="method-callseq">
|
147
|
+
to_filename → string
|
148
|
+
</span>
|
154
149
|
|
150
|
+
<span class="method-click-advice">click to toggle source</span>
|
155
151
|
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
<span class="method-click-advice">click to toggle source</span>
|
160
|
-
|
161
|
-
</div>
|
162
|
-
|
163
|
-
|
152
|
+
</div>
|
153
|
+
|
154
|
+
|
164
155
|
|
165
|
-
|
166
|
-
|
167
|
-
|
156
|
+
<div class="method-description">
|
157
|
+
|
158
|
+
<p>Returns a new <a href="String.html">String</a> with spaces substituted by
|
168
159
|
underscores and removes all special characters.</p>
|
169
|
-
|
160
|
+
|
170
161
|
|
171
|
-
|
172
|
-
|
173
|
-
<pre>
|
174
|
-
<span class="ruby-comment"># File lib/workflow-to-galaxy.rb, line 17</span>
|
162
|
+
|
163
|
+
<div class="method-source-code" id="to_filename-source">
|
164
|
+
<pre><span class="ruby-comment"># File lib/workflow-to-galaxy.rb, line 17</span>
|
175
165
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_filename</span>
|
176
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp"
|
166
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r /</span>, <span class="ruby-string">'_'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r[^A-Za-z0-9_]/</span>, <span class="ruby-string">''</span>)
|
177
167
|
<span class="ruby-keyword">end</span></pre>
|
178
|
-
|
179
|
-
|
180
|
-
</div>
|
181
|
-
|
168
|
+
</div><!-- to_filename-source -->
|
182
169
|
|
170
|
+
</div>
|
183
171
|
|
184
|
-
|
185
|
-
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
</div><!-- to_filename-method -->
|
186
176
|
|
187
|
-
|
188
|
-
</div><!-- public-instance-method-details -->
|
189
177
|
|
190
|
-
</
|
178
|
+
</section><!-- public-instance-method-details -->
|
191
179
|
|
180
|
+
</section><!-- 5Buntitled-5D -->
|
192
181
|
|
193
|
-
|
182
|
+
</div><!-- documentation -->
|
194
183
|
|
195
|
-
<div id="validator-badges">
|
196
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
197
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
198
|
-
Rdoc Generator</a> 2</small>.</p>
|
199
|
-
</div>
|
200
184
|
|
201
|
-
|
202
|
-
</
|
185
|
+
<footer id="validator-badges">
|
186
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
187
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
188
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
189
|
+
</footer>
|
203
190
|
|