Skip to content

Accession range support? #16

Open
Open
@peterjc

Description

@peterjc

For a continuous range of accessions, the following range notation is common both in human readable text like data availablitlity sections in papers, and in NCBI cross-references. Could the tool spot this and expand the range automatically? e.g.

$ ncbi-acc-download EF590893-EF590896

Internally expand this to:

$ ncbi-acc-download EF590893 EF590894 EF590895 EF590896

Workaround, handy if you just have a couple of ranges to fetch:

for i in {590893..590896}; do ncbi-acc-download EF${i}; done

(Updated to fix typo, range was not increasing)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions