vimalinx/bio-agent / .claude/skills/archive-nmcds
archive-nmcds
VerifiedUse when building or refreshing a local RefSeq NM CDS archive for offline accession and coding-sequence lookups.
archive-nmcds
Quick Start
- Command:
archive-nmcds [-index|-clean|-scrub|-scour|-erase|-zap] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/archive-nmcds - Full reference: See
references/help.mdfor complete documentation
When To Use This Tool
- Build a local RefSeq NM mRNA/CDS archive for offline accession-driven sequence work.
- Generate the master accession list and CDS offset table that EDirect uses during local archive population.
- Refresh local RefSeq source records, then rebuild index and posting layers for offline lookups.
- Repair or reset broken archive state with the staged cleanup levels when a rebuild is required.
Common Patterns
# 1) Download RefSeq mRNA files and rebuild the local archive content
export EDIRECT_LOCAL_ARCHIVE=/data/edirect
archive-nmcds
# 2) Force HTTPS transfer instead of the default FTP / Aspera path
archive-nmcds -https
# 3) Rebuild incremental index, invert, merge, and postings layers
archive-nmcds -index
Recommended Workflow
- Set
EDIRECT_LOCAL_ARCHIVEand confirm the archive root is writable. - Ensure the supporting EDirect helper commands are present before starting a rebuild.
- Run
archive-nmcdsto stage source files, generate accession/CDS tables, and populate the archive. - Use
-indexas a separate follow-up step when you need refreshed search/posting structures. - Reach for
-clean,-scrub,-scour,-erase, or-zaponly when you truly need to tear down stale layers before rebuilding.
Guardrails
--helpand--versionare not metadata switches here; they still walk through setup, download, and generation code paths.- The script needs
EDIRECT_LOCAL_ARCHIVE,pm-setup, andpm-prepareto be available. - Cleanup levels are hierarchical and destructive:
-cleanremoves incremental/index state, while-zapremoves the source records and the remaining archive tree. - Cleaning and indexing must be separate invocations.
- Archive generation creates accession and CDS-offset side tables, so allow time and disk space beyond the raw downloads.
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: 193k | 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: 193k | 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: 193k | Updated | Claude CodeCodex | Verified | Install |