tox-paper-extractor

Extract toxicity and peptide data from open-access literature via Europe PMC.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/cihebi2/codex_skills --skill tox-paper-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tox-paper-extractor
Source: https://github.com/cihebi2/codex_skills/tree/main/tox-paper-extractor
Command: npx skills add https://github.com/cihebi2/codex_skills --skill tox-paper-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, requests, PyMuPDF, and includes scripts (resource) components.

What problem does it solve?

This Skill automates an end-to-end open-access (OA) literature workflow for toxicity/peptide data, from candidate discovery to downloaded OA full texts and auditable extractions, enabling faster, repeatable data gathering for training and analysis.

Core Features & Use Cases

  • End-to-end OA literature pipeline: discovery via Europe PMC, OA downloads (PDF/XML and supplements), and audit-ready extraction of raw records and tables.
  • Training-readiness screening: flags for sequences, units, censoring, and structured readiness (train_ready_strict/relaxed) to support model development.
  • Monitoring and reproducibility: generates monitoring reports, per-paper provenance, and audit-friendly outputs (raw_extractions.csv, raw_experimental_records.csv, extracted_tables).

Quick Start

Run the tox-paper-extractor on a set of publications using the provided pipeline script, for example:

  • python scripts/run_tox_paper_pipeline.py --query '<your query>' --max-results 50 --min-score 5 --out-root runs

Frequently Asked Questions about tox-paper-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate toxicity data extraction from open-access literature?

You can automate toxicity data extraction by running a pipeline script that queries Europe PMC, downloads OA full texts, and outputs auditable CSV files and extracted tables. This streamlines gathering toxicity and peptide endpoint data for analysis.

How do I extract experimental records and tables from JATS XML and PDF publications?

To extract experimental records from publications, a deterministic pipeline processes downloaded JATS XML and PDF files, parsing the content into raw_extractions.csv, raw_experimental_records.csv, and structured extracted_tables for reproducible data gathering.

Can I use this pipeline to find and download peptide toxicity papers from Europe PMC?

Yes, you can discover and download peptide toxicity papers from Europe PMC by passing a search query to the pipeline script. It handles candidate discovery, retrieves OA full texts, and screens the literature for training readiness.

What is the best way to prepare toxicity literature datasets for machine learning model training?

The best way to prepare toxicity literature for model training is using a pipeline that flags sequences, units, and censoring, generating train_ready_strict and train_ready_relaxed outputs to ensure your extracted datasets meet structured readiness criteria.

Do I need pandas and PyMuPDF to run the toxicity literature extraction pipeline?

Yes, you need pandas, requests, and PyMuPDF installed, as the pipeline relies on these dependencies to handle API calls, process PDF full texts, and structure the extracted toxicity data into auditable CSV outputs.