Skip to content

Accession range support? #16

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions