Skip to content
Snippets Groups Projects
Commit 78a0f72a authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

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
...@@ -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 "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment