Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
jflow
Commits
163df782
Commit
163df782
authored
Aug 19, 2014
by
Jerome Mariette
Browse files
No commit message
No commit message
parent
2c4106b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/jflow_cli.py
View file @
163df782
...
...
@@ -127,7 +127,7 @@ if __name__ == '__main__':
subparsers
=
parser
.
add_subparsers
(
title
=
'Available sub commands'
)
# Add rerun workflow availability
sub_parser
=
subparsers
.
add_parser
(
"rerun"
,
help
=
"
r
erun a specific workflow"
)
sub_parser
=
subparsers
.
add_parser
(
"rerun"
,
help
=
"
R
erun a specific workflow"
)
sub_parser
.
add_argument
(
"--workflow-id"
,
type
=
str
,
help
=
"Which workflow should be rerun"
,
required
=
True
,
dest
=
"workflow_id"
)
sub_parser
.
set_defaults
(
cmd_object
=
"rerun"
)
...
...
@@ -139,7 +139,7 @@ if __name__ == '__main__':
sub_parser
.
set_defaults
(
cmd_object
=
"execution_graph"
)
# Add status workflow availability
sub_parser
=
subparsers
.
add_parser
(
"status"
,
help
=
"
m
onitor a specific workflow"
)
sub_parser
=
subparsers
.
add_parser
(
"status"
,
help
=
"
M
onitor a specific workflow"
)
sub_parser
.
add_argument
(
"--workflow-id"
,
type
=
str
,
help
=
"Which workflow status should be displayed"
,
default
=
None
,
dest
=
"workflow_id"
)
sub_parser
.
add_argument
(
"--all"
,
action
=
"store_true"
,
help
=
"Display all workflows status"
,
...
...
workflows/alignment/__init__.py
View file @
163df782
...
...
@@ -21,7 +21,7 @@ from jflow.parameter import InputFileList, InputFile
class
Alignment
(
Workflow
):
def
get_description
(
self
):
return
"
a
lign reads against a reference genome"
return
"
A
lign reads against a reference genome"
def
define_parameters
(
self
,
function
=
"process"
):
self
.
add_input_file
(
"read_1"
,
"Which read1 files should be used"
,
required
=
True
,
is_list
=
True
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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