Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCBI: generate sequence download URL for basket/export #30

Open
nickdos opened this issue Sep 20, 2022 · 2 comments
Open

NCBI: generate sequence download URL for basket/export #30

nickdos opened this issue Sep 20, 2022 · 2 comments
Labels
enhancement New feature or request front-end React

Comments

@nickdos
Copy link
Collaborator

nickdos commented Sep 20, 2022

E.g. using an accession of GCA_022045225.1, the curl command is

curl -OJX GET "https://api.ncbi.nlm.nih.gov/datasets/v1/genome/accession/GCA_022045225.1/download?include_annotation_type=GENOME_GFF,RNA_FASTA,CDS_FASTA,PROT_FASTA&filename=GCA_022045225.1.zip" -H "Accept: application/zip"

@nickdos nickdos added the enhancement New feature or request label Sep 20, 2022
@nickdos
Copy link
Collaborator Author

nickdos commented Oct 25, 2022

Record has
Genetic Accession URI: https://ftp.ncbi.nlm.nih.gov/genomes/all/GCA/022/045/225/GCA_022045225.1_xgHalCrac1.a

but this returns a 403.

@nickdos nickdos added the front-end React label Oct 25, 2022
@nickdos
Copy link
Collaborator Author

nickdos commented Oct 27, 2022

First pass is adding download link on records side-panel view.

nickdos added a commit that referenced this issue Oct 27, 2022
Fixed TODO comments too
nickdos added a commit that referenced this issue Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request front-end React
Projects
None yet
Development

No branches or pull requests

1 participant