Skip to content

Entrez search support? #8

Open
Open
@peterjc

Description

@peterjc

This is outside the current scope of the tool, but would you consider adding NCBI Entrez search support as an alternative to supplying the accessions directly?

e.g. https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=nucleotide&term=opuntia%5BORGN%5D+accD&retmax=10&idtype=acc

(In Biopython, handle = Entrez.esearch(db="nucleotide", retmax=10, term="opuntia[ORGN] accD", idtype="acc") or similar)

This currently gives three accessions, EF590893.1, EF590892.1, HQ620723.1, which I can download with:

$ ncbi-acc-download EF590893.1 EF590892.1 HQ620723.1

I would like to be able to do something this to achieve the same result:

$ ncbi-acc-download -search "opuntia[ORGN] accD" -retmax 10

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions