search-gsa
Skill4 starsChanged 12 days agoMITView on GitHub
Search CNCB Genome Sequence Archive (GSA) for sequencing runs, experiments, studies, and samples deposited at the China National Center for Bioinformation.
In this repository56 other files it gives its agents.
- bioinformatics-env-setupSkill
- design-thermostable-mutationsSkill
- download-gdcSkill
- download-geoSkill
- download-sraSkill
- source-summarizerSkill
- genome-alignment-qcSkill
- genome-read-alignmentSkill
- genome-variant-annotationSkill
- genome-variant-callingSkill
- genome-variant-filteringSkill
- metagenome-assemblySkill
- metagenome-binningSkill
- metagenome-functional-profilingSkill
- metagenome-host-removalSkill
- metagenome-taxonomic-profilingSkill
- ncbi-eutilities-assistantSkill
- ngs-quality-controlSkill
- ngs-read-preprocessingSkill
- paper-to-briefSkill
- predict-protein-heat-stabilitySkill
- researchSkill
- rnaseq-alignment-qcSkill
- rnaseq-differential-expressionSkill
- rnaseq-functional-enrichmentSkill
- rnaseq-read-alignmentSkill
- rnaseq-read-countingSkill
- rnaseq-transcript-quantificationSkill
- rpsblast-assistantSkill
- scrnaseq-cellranger-countSkill
- scrnaseq-cell-type-annotationSkill
- scrnaseq-clusteringSkill
- scrnaseq-differential-expressionSkill
- scrnaseq-integrationSkill
- scrnaseq-quality-controlSkill
- scrnaseq-trajectory-analysisSkill
- search-enaSkill
- search-geoSkill
- search-ncbi-datasetsSkill
- search-sraSkill
- stat-analyze-distributionSkill
- stat-assess-data-qualitySkill
- stat-bayesian-estimationSkill
- stat-cluster-samplesSkill
- stat-compare-multiple-groupsSkill
- stat-compare-two-groupsSkill
- stat-fit-glmSkill
- stat-fit-linear-modelSkill
- stat-learn-bayesian-networkSkill
- stat-logistic-regressionSkill
- stat-nonlinear-embeddingSkill
- stat-pairwise-correlationSkill
- stat-pcaSkill
- stat-survival-analysisSkill
- structured-intelligence-skill-creatorSkill
- <skill-id>Skill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Keyword search: use the GSA search API endpoint:
- Distinctive: line 40
Programmatic metadata fetch: use the GSA data API:
- Distinctive: line 54
Search or fetch request URL used
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Search GSA
Use When
- A user wants to find sequencing data deposited in the CNCB Genome Sequence Archive (GSA) at ngdc.cncb.ac.cn.
- A user needs to look up GSA accessions: CRA (project), CRX (experiment), CRR (run), CRS (sample), or SAMC (biosample).
- A user wants to retrieve run-level metadata (read count, file size, platform, library strategy) for data in GSA.
- A user wants to search GSA by organism, tissue, disease, keyword, or data type.
- A user wants to list all runs belonging to a GSA project (CRA accession).
- A user needs the download URL or FASP path for CRR files from CNCB.
Inputs
- Required:
- one of: free-text search query, GSA accession (CRA/CRX/CRR/CRS/SAMC), organism name, or NCBI taxonomy ID
- Optional:
- data type filter:
Genome,Transcriptome,Metagenome,Epigenome,Variation,Proteome - library strategy filter (e.g.,
RNA-Seq,WGS,ChIP-Seq,ATAC-Seq) - sequencing platform (e.g.,
Illumina,PacBio,ONT) - organism filter (scientific name or taxonomy ID)
- output format:
jsonortsv - maximum results (
size, default 20) - output directory
- data type filter:
Workflow
- Determine the access method:
- Direct accession lookup: construct the CNCB accession detail URL:
https://ngdc.cncb.ac.cn/gsa/browse/<CRA-accession>for projectshttps://ngdc.cncb.ac.cn/gsa/run/<CRR-accession>for individual runs
- Keyword search: use the GSA search API endpoint:
GET https://ngdc.cncb.ac.cn/gsa/search?searchTerm=<query>&page=1&pageSize=20 - Programmatic metadata fetch: use the GSA data API:
GET https://ngdc.cncb.ac.cn/gsa/api/v1/project/<CRA> GET https://ngdc.cncb.ac.cn/gsa/api/v1/run/<CRR>
- Direct accession lookup: construct the CNCB accession detail URL:
- Parse the response to extract: accession, title, organism, submission date, run count, total bases, platform, and library strategy.
- For project-level queries, enumerate all CRR runs and collect per-run metadata.
- Construct download URLs for CRR files:
- FTP:
ftp://download.cncb.ac.cn/gsa/<CRA>/<CRX>/<CRR>/ - HTTPS:
https://download.cncb.ac.cn/gsa/<CRA>/<CRX>/<CRR>/
- FTP:
- Report a summary table and the accession list.
Output Contract
- Search or fetch request URL used
- Number of matching projects or runs
- Summary table with columns: Accession (CRR/CRA), Title, Organism, Platform, Strategy, Spots, Bases, Size, Submission Date
- Download URL(s) for CRR files
- Accession list saved to
accessions.txtwhen an output directory is provided - Optional
metadata.jsonormetadata.tsvwith full per-run fields
Limits
- GSA web API is subject to change; confirm endpoint availability with a test request if needed.
- Some datasets in GSA are access-controlled and require registration at ngdc.cncb.ac.cn before download.
- GSA accessions follow CNCB conventions (CRA/CRX/CRR/CRS) distinct from NCBI (SRP/SRX/SRR/SRS); do not mix them.
- CNSA (China National Sequence Archive, for assembled genomes) is a separate archive also at CNCB; GSA is specifically for raw sequencing data.
- The FTP server may be slow for users outside mainland China; HTTPS is generally preferred.
- Common failure cases:
- confusing CRA (project) with CRR (run) accession types
- attempting to use NCBI E-utilities with GSA accessions (they are not indexed by NCBI)
- missing authentication cookie when accessing controlled-access datasets
- constructing download paths without the correct CRA/CRX/CRR hierarchy
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

