Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
panacota
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amandine PERRIN
panacota
Commits
78a0f72a
Commit
78a0f72a
authored
5 years ago
by
Amandine PERRIN
Browse files
Options
Downloads
Patches
Plain Diff
force to give outdir when called with --norefseq
parent
d07468a2
No related branches found
No related tags found
No related merge requests found
Pipeline
#19225
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
PanACoTA/subcommands/prepare.py
+6
-0
6 additions, 0 deletions
PanACoTA/subcommands/prepare.py
with
6 additions
and
0 deletions
PanACoTA/subcommands/prepare.py
+
6
−
0
View file @
78a0f72a
...
@@ -389,6 +389,12 @@ def check_args(parser, args):
...
@@ -389,6 +389,12 @@ def check_args(parser, args):
"
Specify NCBI_taxid and/or NCBI_species to download, or add one of
"
"
Specify NCBI_taxid and/or NCBI_species to download, or add one of
"
"
the 2 options (--norefseq or -M) if you want to skip the
'
download step
'
.
"
)
"
the 2 options (--norefseq or -M) if you want to skip the
'
download step
'
.
"
)
# If norefseq, give output directory
# - folder containing Database_init, with all sequences
# - or new folder where you want to put the new results
if
args
.
no_refseq
and
not
args
.
outdir
:
parser
.
error
(
"
You must provide an output directory, where your results will be saved.
"
)
# If user wants only mash steps, check that he gave info file
# If user wants only mash steps, check that he gave info file
if
args
.
only_mash
and
not
args
.
from_info
:
if
args
.
only_mash
and
not
args
.
from_info
:
parser
.
error
(
"
If you want to run only Mash filtering steps, please give the
"
parser
.
error
(
"
If you want to run only Mash filtering steps, please give the
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment