vimalinx/bio-agent / .claude/skills/ref2pmid
ref2pmid
UnverifiedUse when converting reference citations or identifiers to PubMed IDs (PMIDs) using Entrez Direct utilities.
ref2pmid
Tiny EDirect wrapper around transmute -r2p. It maps citation-style XML or similar reference payloads to PMIDs, but it is only a stdin transformer and does not expose its own help text.
Quick Start
- Command:
ref2pmid - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/ref2pmid - Actual implementation: a one-line shell wrapper calling
transmute -r2p "$@"
When To Use This Tool
- Converting bibliographic references to PubMed IDs
- Part of the Entrez Direct (EDirect) bioconda package for NCBI database queries
- Turning citation XML streams into PMID-enriched output for later EDirect steps
Common Patterns
# 1) Convert a citation XML stream to PMIDs
cat citations.xml | ref2pmid
# 2) Source-comment example using explicit matching options
cat uniprot_citations.xml | ref2pmid -options remote,strict
# 3) Continue into downstream EDirect processing
cat citations.xml | ref2pmid | efetch -db pubmed -format xml
Recommended Workflow
- Start from a real citation-oriented XML stream rather than free-form text.
- Pipe that stream into
ref2pmid. - If you need stricter or remote matching behavior, pass options through to the underlying
transmutelayer. - Feed the resulting PMIDs into later EDirect commands or save them for audit.
Guardrails
ref2pmidhas no standalone help/version implementation. In local tests,-helpand-versionboth fell through totransmuteand failed because no stdin was supplied.- Because the wrapper is literally
transmute -r2p "$@", any extra flags are passed straight through totransmute. - The tool expects input from stdin or a
transmute-compatible file path; calling it empty is not a metadata-safe operation.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |