Parse scientific literature (PDFs, URLs, DOIs) to extract GEO accessions, metadata, and datasets. Use when users provide a paper and want to automatically extract data sources for downstream omics analysis.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills- --skill literature --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Literature?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/mdbabumiamssm-literature-llms-universal-life-science-an)More formats (shields.io, HTML) on the badges page.
---
name: literature
description: >-
Parse scientific literature (PDFs, URLs, DOIs) to extract GEO accessions,
metadata, and datasets. Use when users provide a paper and want to
automatically extract data sources for downstream omics analysis.
version: 0.1.0
author: OmicsClaw
license: MIT
tags: [literature, pdf-parsing, geo, pubmed, data-download]
metadata:
omicsclaw:
domain: literature
requires:
bins:
- python3
env: []
config: []
emoji: "📄"
homepage: https://github.com/OmicsClaw/OmicsClaw
os: [macos, linux, windows]
install:
- kind: pip
package: pypdf
bins: []
trigger_keywords:
- parse paper
- literature
- GEO accession
- download dataset
- PDF extract
- PubMed
- DOI
---
# Literature Parsing Skill
## Purpose
Parse scientific literature (PDFs, URLs, DOIs) to extract GEO accessions and metadata, then download datasets for downstream omics analysis.
## Methodology
### 1. Input Processing
Accepts multiple input types:
- **URL**: PubMed, bioRxiv, journal article links
- **DOI**: Digital Object Identifier (e.g., 10.1038/s41586-021-03569-1)
- **PubMed ID**: PMID (e.g., 33234567)
- **PDF**: Uploaded scientific paper
- **Text**: Raw text containing GEO references
### 2. Metadata Extraction
Extracts structured information:
- **GEO Accessions**: GSE (study-level), GSM (sample-level)
- **Organism**: Species (e.g., Homo sapiens, Mus musculus)
- **Tissue**: Tissue type or organ
- **Cell Type**: Cell type if specified
- **Technology**: Sequencing platform (10x, Visium, etc.)
### 3. Data Download
Downloads datasets from GEO:
- Resolves GSE to find all associated GSM samples
- Downloads expression matrices (.h5ad, .mtx, .csv)
- Organizes files by accession: `data/GSE123456/`
- Generates metadata.json with extracted information
### 4. Error Handling
- **Retry with fallbacks**: PDF parsing → text extraction → manual patterns
- **Partial results**: Returns successfully extracted data even if some downloads fail
- **Logging**: Detailed logs for debugging
## Output
- **data/GSE*/**: Downloaded datasets organized by accession
- **output/literature-parse_*/report.md**: Extraction report
- **output/literature-parse_*/metadata.json**: Structured metadata
## Usage
```bash
# Parse from URL
python skills/literature/literature_parse.py \
--input "https://pubmed.ncbi.nlm.nih.gov/12345" \
--output output/literature_results
# Parse from DOI
python skills/literature/literature_parse.py \
--input "10.1038/s41586-021-03569-1" \
--input-type doi \
--output output/literature_results
# Parse PDF
python skills/literature/literature_parse.py \
--input paper.pdf \
--input-type file \
--output output/literature_results
```
## Integration
After extraction, the bot automatically suggests appropriate analysis skills based on:
- Data type (spatial, single-cell, bulk)
- Organism and tissue
- Available files
## Dependencies
- pypdf: PDF text extraction
- requests: HTTP requests
- beautifulsoup4: HTML parsing
- GEOparse: GEO data access (optional, fallback to direct API)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!