Fetch genes by assembly ID OR fetch genome annotation report using the CLI
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 559
- Forks
- 70
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
Use case: I maintain an archive of genomes of interest, which includes sequence data from the NCBI FTP archives, assembly metadata, and gene/protein annotations and metadata. I currently use the following REST API endpoints:
-
https://api.ncbi.nlm.nih.gov/datasets/v2/genome/accession//dataset_report
-
https://api.ncbi.nlm.nih.gov/datasets/v2/genome/accession//annotation_report
I can get the dataset report using the datasets CLI and would like to be able to do the same for the annotation report.
Describe the solution you'd like
a CLI equivalent of the annotation_report endpoint that allows users to supply a list of NCBI assembly accessions to retrieve annotation data for those assemblies. Alternatively, being able to retrieve gene reports by assembly accession (retrieval by taxon already exists) would be great.
Thank you
Thank you for the datasets command line tool - it is extremely useful and much quicker than using the API!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the existing datasets CLI command that retrieves the dataset report and compare its request and response handling with the annotation_report endpoint. Done means a CLI path accepts one or more assembly accessions and retrieves annotation data, or implements the requested assembly-based gene report.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100