-
Notifications
You must be signed in to change notification settings - Fork 74
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
Fix breaking changes introduced in the NCBI API #102
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
maxulysse
reviewed
Jul 1, 2022
maxulysse
approved these changes
Jul 1, 2022
Closed
To fetch metadata given GEO id, will ffq help: https://github.com/pachterlab/ffq ? Seems that ffq calls esearch utilities first and parse the results to obtain a full meta table. |
An eutils workflow for working with GEO IDs is somewhat described here: https://www.ncbi.nlm.nih.gov/geo/info/geo_paccess.html (updated March 27 2023) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #99
NCBI recently updated their base API URLs which broke the functionality in this pipeline to fetch metadata for SRA and GEO ids.
I can't find a way to obtain GEO metadata using the current APIs so I will strip this functionality out of the pipeline and add it back in when a robust solution exists.
✅ Fixed for SRA ids
I have fixed the base URL for fetching SRA metadata based on the docs here
Old URL
https://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?save=efetch&db=sra&rettype=runinfo&term=SRR14593545
New URL
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?id=SRR14593545&db=sra&rettype=runinfo&retmode=text
❌ Broken for GEO ids
I tried to update the base URL for fetching GEO metadata based on the docs here but it is still broken....
Old URL
https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM4907283&targ=gsm&view=data&form=text
New URL
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?id=GSM4907283&db=gds&rettype=runinfo&retmode=text