Add bioproject2srr and srr2sam Galaxy tools for NCBI metadata retrieval#1
Open
crashfrog wants to merge 2 commits into
Open
Add bioproject2srr and srr2sam Galaxy tools for NCBI metadata retrieval#1crashfrog wants to merge 2 commits into
crashfrog wants to merge 2 commits into
Conversation
…Projects Retrieves SRR accessions and biosample metadata from NCBI BioProjects using Entrez E-utilities API. Recursively follows links to subprojects and biosamples. Outputs: - accessions.txt: deduplicated list of SRR accessions - metadata.tsv: full metadata table joining biosample attributes with SRA runs Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Adds complementary tool that retrieves BioSample metadata from a list of SRR accessions. Performs reverse operation of bio2srr by traversing NCBI Entrez from SRA to BioSample. Output: tabular file with SRR accession as first column followed by all BioSample metadata fields. Also adds CLAUDE.md documentation covering both tools' architecture, testing, and constraints. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or 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
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.
Summary
bioproject2srr
Recursively follows links from BioProject → subprojects → BioSamples → SRA runs.
Outputs:
accessions.txt: deduplicated list of SRR accessionsmetadata.tsv: full metadata table with biosample attributes joined to SRA run informationsrr2sam
Traverses from SRR → SRA → BioSample to retrieve metadata.
Output:
output.tsv: tabular file with SRR accession as first column, followed by all BioSample metadata fieldsTesting
Documentation
Includes CLAUDE.md with architecture details, testing commands, and API usage patterns.
🤖 Generated with Claude Code