vimalinx/bio-agent / .claude/skills/combine-uid-lists
combine-uid-lists
VerifiedUse when unioning multiple Entrez or NCBI UID files into one deduplicated numeric-sorted list.
combine-uid-lists
Quick Start
- Command:
combine-uid-lists FILE1 FILE2 ... - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/combine-uid-lists - Full reference: See references/help.md
When To Use This Tool
- Merge several one-UID-per-line files into a single union list.
- Deduplicate repeated PubMed, PMC, taxonomy, or other Entrez IDs before downstream fetches.
- Normalize multiple EDirect search results into one numerically sorted file.
- Use this when you want a quick set-union step without writing a custom
sort | uniqcommand.
Common Patterns
# 1) Combine two Entrez UID lists into one unique union
combine-uid-lists cohort_a.ids cohort_b.ids > union.ids
# 2) Merge several partial search results before efetch
combine-uid-lists day1.ids day2.ids day3.ids > merged.ids
# 3) Check how many unique IDs remain after the merge
combine-uid-lists a.ids b.ids c.ids | wc -l
Recommended Workflow
- Save each upstream UID set as one ID per line.
- Run
combine-uid-listson all source files you want to union. - Redirect the result to a new file or pipe it directly into a downstream EDirect step.
- Check the merged count before using the result in expensive downstream fetches.
Guardrails
- The real implementation is a tiny wrapper around
sort -nu "$@"; it always numeric-sorts and deduplicates. --helpand--versioncome from GNUsort, not from custom EDirect documentation.- This command expects file arguments, not two streams on stdin.
- Locale can affect sorting behavior in general
sortusage; useLC_ALL=Cif you need fully reproducible collation.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |