Skip to content

Commit

Permalink
core: Actually expose the --fuzzy-accessions logic built back in 2019…
Browse files Browse the repository at this point in the history
… on the command line

Signed-off-by: Kai Blin <kblin@biosustain.dtu.dk>
  • Loading branch information
kblin committed Apr 18, 2023
1 parent 79b71d3 commit 6e0e48b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ncbi_genome_download/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ def argument_parser(version=None):
help='Only download sequences matching the provided NCBI assembly accession(s). '
'A comma-separated list of accessions is possible, as well as a path to a filename '
'containing one accession per line.')
parser.add_argument('--fuzzy-accessions', dest='fuzzy_accessions', action="store_true",
default=NgdConfig.get_default('fuzzy_accessions'),
help="Use a fuzzy search on the entry accession instead of an exact match.")
parser.add_argument('-R', '--refseq-categories', dest='refseq_categories',
default=NgdConfig.get_default('refseq_categories'),
help='Only download sequences of the provided refseq categories (default: %(default)s)')
Expand Down

0 comments on commit 6e0e48b

Please sign in to comment.