vimalinx/bio-agent / .claude/skills/download-flatfile
download-flatfile
VerifiedUse when mirroring consolidated NCBI GenBank flatfile divisions into the current directory or verifying existing downloaded flatfiles.
download-flatfile
Quick Start
- Command:
download-flatfile [-ftp|-https] [-verify] division... - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/download-flatfile - Full reference: See
references/help.md
When To Use This Tool
- Download one or more GenBank flatfile divisions as
.seq.gzarchives. - Re-check previously downloaded GenBank flatfiles and remove corrupt or empty files with
-verify. - Build a local flatfile mirror for downstream XML conversion or archive indexing.
Common Patterns
# 1) Download bacterial and viral GenBank flatfiles via the default FTP mode
download-flatfile BCT VRL
# 2) Use HTTPS explicitly if FTP routing is unreliable
download-flatfile -https PLN INV
# 3) Validate existing flatfiles and delete broken or empty downloads
download-flatfile -verify BCT VRL
Recommended Workflow
- Start in a dedicated download directory because all
.seq.gzfiles are written to the current working directory. - Download the divisions you need, choosing
-httpsif FTP is flaky in your environment. - Re-run with
-verifybefore downstream processing when download integrity matters. - Convert or inspect the flatfiles only after the validation pass is clean.
Guardrails
-verifyis destructive by design: it removes empty or invalid.seq.gzfiles so they can be re-downloaded.- The local wrapper validates content by decompressing and checking parsed records, so verification can be expensive on large downloads.
- Output is written into the current directory, and large GenBank divisions consume substantial disk space.
- The wrapper retries failed downloads, but persistent network or content failures still leave you with deleted files that must be fetched again later.
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 |