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