vimalinx/bio-agent / .claude/skills/exclude-uid-lists
exclude-uid-lists
UnverifiedUse when subtracting one Entrez or NCBI UID file from another and keeping only IDs unique to the first file.
exclude-uid-lists
Quick Start
- Command:
exclude-uid-lists <keep-list> <exclude-list> - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/exclude-uid-lists - Full reference: See
references/help.mdfor detailed options and usage
When To Use This Tool
- Remove already seen or unwanted IDs from a primary UID file.
- Keep only FILE1 entries that do not appear in FILE2.
- Filter out processed, withdrawn, or blacklisted identifiers before a downstream fetch.
- Use this instead of
difference-uid-listswhen direction matters.
Common Patterns
# 1) Remove already processed UIDs from a fresh search result
exclude-uid-lists current.ids processed.ids > todo.ids
# 2) Drop a blacklist from a master UID list
exclude-uid-lists all_hits.ids blacklist.ids > filtered.ids
# 3) Count the remaining UIDs after subtraction
exclude-uid-lists source.ids remove.ids | wc -l
Recommended Workflow
- Put the source IDs in the first file and the IDs to remove in the second file.
- Run
exclude-uid-listsand redirect the output to a new keep-list. - Inspect the count or first few IDs before downstream fetching.
- Feed the filtered list into
efetch,xtract, or another local-archive step.
Guardrails
- The real implementation is
comm -23 <(sort "$1") <(sort "$2") | sort -n, so the result is directional: FILE1 minus FILE2. - The wrapper sorts both inputs internally, so original ordering is lost.
- This command expects exactly two files and has no clean built-in help/version behavior.
- Passing
--helpor--versioncan still triggersort/commerrors because the wrapper interprets them as file arguments.
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: 318k | Updated | Claude CodeCodex | Unverified | 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 |