Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
jflow
Commits
a646088a
Commit
a646088a
authored
Mar 31, 2016
by
Jerome Mariette
Browse files
add application class
parent
d33a7eba
Changes
1
Show whitespace changes
Inline
Side-by-side
workflows/quickstart/__init__.py
View file @
a646088a
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
from
jflow
.workflow
import
Workflow
from
jflow
app.application
import
Application
class
QuickStart
(
Workflow
):
class
QuickStart
(
Application
):
def
get_description
(
self
):
def
get_description
(
self
):
return
"Align reads against a reference genome"
return
"Align reads against a reference genome"
...
@@ -33,3 +33,5 @@ class QuickStart (Workflow):
...
@@ -33,3 +33,5 @@ class QuickStart (Workflow):
# align reads against the indexed genome
# align reads against the indexed genome
bwamem
=
self
.
add_component
(
"BWAmem"
,
[
bwaindex
.
databank
,
self
.
reads
])
bwamem
=
self
.
add_component
(
"BWAmem"
,
[
bwaindex
.
databank
,
self
.
reads
])
def
define_results
(
self
):
self
.
add_result_table
(
"rna_table"
,
[[
"aaaaa"
,
"ffffff"
,
"sdsdsd"
],
[
1
,
2
,
3
],
[
1
,
"qqqqqqqq"
,
3
],
[
1
,
2
,
"ppppp"
]])
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment