<< All versions

Skill v1.0.0

currentAutomated scan100/100
mdhewei/bioinfor-claw/preprint-tracker
──Details
PublishedOctober 27, 2026 at 04:13 AM
Content Hashsha256:fc8b288f56ba915b...
Git SHA3097da428405
──Files
Files (1 file, 7.3 KB)
SKILL.md7.3 KBactive
SKILL.md · 155 lines · 7.3 KB

version: "1.0.0" name: preprint-tracker description: Search and track recent preprints from bioRxiv and medRxiv on a given topic. Retrieves preprint metadata, abstracts, and author information via the bioRxiv/medRxiv API. Identifies trending topics, prolific authors, and generates a digest report.


Preprint Tracker

Purpose

Monitor emerging research trends by searching recent preprints on bioRxiv (life sciences) and medRxiv (medical/clinical research). Identifies trending topics, most active authors, and generates formatted reports to stay ahead of published literature.

When to Use / When NOT to Use

Use when:

  • You want to track the very latest research before peer review and formal publication
  • Monitoring a field for rapid developments (e.g., new treatments, emerging pathogens)
  • Identifying prolific authors and research groups in a specific area
  • Building a curated digest of preprints on a topic for a journal club or group
  • Finding cutting-edge methods before they appear in peer-reviewed journals

Do NOT use when:

  • You need established, peer-reviewed evidence (use pubmed-search instead)
  • You want to cite papers (preprints are not peer-reviewed; use published versions)
  • You need papers older than 3-6 months (bioRxiv/medRxiv archive is limited)
  • Your focus is on validating conclusions (preprints lack peer review filtering)

Expected Inputs & Outputs

Inputs:

  • --query STRING — Search keywords (required; searches title and abstract)
  • --server — Source: biorxiv, medrxiv, or both (default: both)
  • --date-from STR — Start date (YYYY-MM-DD; default: 30 days ago)
  • --date-to STR — End date (YYYY-MM-DD; default: today)
  • --max-results INT — Maximum preprints to retrieve (default: 100)
  • --category STR — bioRxiv category filter (e.g., "genomics", "bioinformatics", "cancer biology")
  • --sort-by — Sort by: date (default, newest first) or relevance
  • --output-format — Choices: tsv, markdown (default: markdown)

Outputs (in --outdir):

  • preprints.tsv — Tabular results: doi, title, authors, category, date, word_count, abstract_preview
  • trending_topics.tsv — Top keywords with frequency and top 3 papers using each keyword
  • digest_report.md — Formatted preprint summaries with full metadata
  • category_distribution.png — Bar chart of preprints by bioRxiv category
  • timeline.png — Preprints published per week (bar chart)
  • topic_frequency.png — Bar chart of top 20 keywords
  • prolific_authors.tsv — Authors ranked by number of preprints
  • search_log.txt — Processing notes and summary statistics

Procedure

  1. Query bioRxiv/medRxiv API
  • Call https://api.biorxiv.org/details/<server>/<date_from>/<date_to>/<cursor>/json
  • Paginate through results (cursor: 0, 100, 200, etc.)
  • Extract: doi, title, authors, category, abstract, date, jatsxml
  1. Filter by Keywords
  • Search title and abstract text for --query keywords (case-insensitive)
  • Apply --category filter if provided
  1. Extract Metadata
  • Parse author list (first, last, affiliations where available)
  • Count word count in abstract
  • Parse publication date and category
  1. Analyze Trending Topics
  • Tokenize all abstracts and titles
  • Remove stopwords
  • Calculate word frequency
  • Identify top 20 keywords
  1. Identify Prolific Authors
  • Count papers per author (both first author and all authors)
  • Rank by publication count
  1. Generate Outputs
  • TSV: machine-readable tabular format
  • Markdown: human-readable formatted preprint list
  • Visualizations: publication timeline, category distribution, keyword frequency
  • Author rankings for identifying key researchers

Key Execution Patterns

Track latest preprints in a topic:

bash
python preprint_tracker.py --query "CRISPR cancer" --max-results 100 --outdir ./latest

Monitor bioRxiv only for computational methods:

bash
python preprint_tracker.py --query "deep learning genomics" --server biorxiv \
--category bioinformatics --outdir ./compbio

Track medical preprints from last week:

bash
python preprint_tracker.py --query "treatment COVID-19" --server medrxiv \
--date-from 2024-03-01 --date-to 2024-03-07 --outdir ./weekly

Find preprints from a specific timeframe:

bash
python preprint_tracker.py --query "gene therapy" \
--date-from 2024-01-01 --date-to 2024-03-31 --outdir ./q1_2024

Export as TSV for spreadsheet analysis:

bash
python preprint_tracker.py --query "immunotherapy cancer" --output-format tsv \
--max-results 200 --outdir ./analysis

Parameter Decision Guide

ParameterWhen to UseExample
--queryAlways required; use specific keywords for best results--query "CRISPR off-target effects"
--server biorxivFor life sciences and biology topics--server biorxiv
--server medrxivFor clinical, medical, and health topics--server medrxiv
--server bothWhen topic spans biomedical research--server both (default)
--date-fromNarrow timeframe for emerging topics--date-from 2024-02-01 for last month
--max-resultsUse 50-100 for quick digest, 200+ for comprehensive analysis--max-results 200
--categoryFilter to specific bioRxiv category (genomics, bioinformatics, cancer biology, etc.)--category genomics
--sort-by dateGet newest preprints first (default)--sort-by date
--output-format markdownFor reading and sharing digests--output-format markdown
--output-format tsvFor data analysis or spreadsheet import--output-format tsv

Failure Modes & Recovery

ErrorCauseSolution
"No preprints found"Query too specific or keywords too rareBroaden query terms, try single keywords
"API timeout"bioRxiv/medRxiv server slow or unreachableRetry in 1-2 minutes, reduce --max-results
"Invalid date format"Dates not in YYYY-MM-DD formatUse correct format, e.g., 2024-03-15
"Category not recognized"Invalid bioRxiv category stringUse valid category (genomics, bioinformatics, etc.)
"Memory error on large results"Fetching too many preprints at onceReduce --max-results or narrow date range
"Empty abstracts"Some preprints lack full abstract in APIExpected; keywords still match titles
"Duplicate preprints"Same preprint revised multiple times on serverExpected; manually filter if needed

Special Notes

bioRxiv categories include: genomics, bioinformatics, cancer biology, cell biology, computational biology, synthetic biology, systems biology, evolutionary biology, genetics, immunology, microbiology, neuroscience, molecular biology, plant biology, and many others.

medRxiv categories include: epidemiology, clinical practice, infectious diseases, oncology, cardiology, psychiatry, and others.

API Rate Limits: bioRxiv/medRxiv APIs are generally unrestricted, but large batch requests (>500 results) may see delays.

Requirements

See requirements.txt for exact versions. Core dependencies:

  • requests — HTTP API calls to bioRxiv/medRxiv
  • pandas — Data organization and TSV export
  • matplotlib — Visualization of trends and distributions
  • json — Metadata serialization (stdlib)
  • re — Regular expressions for text processing (stdlib)
  • datetime — Date handling (stdlib)
All versions