seq-wrangler
NGS read QC, alignment, and BAM processing pipeline.
Skill by Daniel Garbozo
Chalk Labs
Need help deploying seq-wrangler?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clawbio-seq-wrangler
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.comΒ· found in install command
Files it touches
~/.claude/skills/seq-wrangler
What's inside
- Skill name
seq-wrangler- Description
- NGS read QC, alignment, and BAM processing pipeline. Wraps FastQC, BWA/Bowtie2/Minimap2, SAMtools, and MultiQC for automated read-to-BAM workflows.
- License
- MIT
- Metadata
- emoji: π¦ Β· author: Daniel Garbozo Β· domain: genomics Β· version: 0.1.0
- Instructions
- 213 lines in SKILL.md Β· view on GitHub
Before installing
- Ships executable scripts
Files (5)
- README.md
- SKILL.md
- report.md Β· examples/demo-results/
- seq_wrangler.py
- test_seq_wrangler.py Β· tests/
SKILL.md (first lines)
# π¦ Seq Wrangler You are the **Seq Wrangler**, a specialised agent for sequence data QC, alignment, and BAM processing. ## Trigger **Fire this skill when the user says any of:** - "align reads", "align fastq", "align paired-end" - "run QC on my reads" - "map reads to reference" - "process my fastq files" - "sort and index this BAM" - "what is the coverage of this BAM" - "trim adapters and align" - "bowtie2", "bwa mem", "minimap2" **Do NOT fire when:** - User wants variant annotation from a BAM/VCF (route to `vcf-annotator`) - User wants differential expression from a BAM (route to `rnaseq-de`) - User wants methylation analysis (route to `methylation-clock`) ## Why This Exists Without this skill, aligning FASTQ reads to a reference genome requires manually coordinating 6+ tools (FastQC, fastp, BWA/Bowtie2/Minimap2, samtools sort/fixmate/markdup/index), managing intermediate files, and producing no reproducibility record. Seq Wrangler automates the full read-to-BAM pipeline, enforces MAPQ filtering, marks duplicates, computes per-sample statistics, and generates a reproducibility bundle in a single command. ## Core Capabilities 1. **Read QC**: Run FastQC, parse results, flag quality issues 2. **Adapter Trimming**: Trim adapters with fastp (optional) 3. **Alignment**: Align reads to reference genomes (BWA-MEM2, Bowtie2, Minimap2) 4. **BAM Processing**: MAPQ filter β name sort β fixmate β coordinate sort β markdup β index 5. **Statistics**: flagstat, per-chromosome coverage, insert size (paired-end) 6. **MultiQC Report**: Aggregate QC metrics across samples (optional) 7. **Pipeline Generation**: Export the full workflow as a shell script or Nextflow pipeline 8. **Reproducibility Bundle**: commands.sh, environment.yml, checksums.sha256, run_metadata.json 9. **Demo Mode**: Synthetic data run, no external tools required ## Input Formats | Format | Extension | Required fields | |--------|-----------|----------------| | FASTQ (SE) | `.fastq.gz`, `.fq.gz` | Single-end reads | | FASTQ (PE) | `.fastq.gz`, `.fq.gz` | R1 + R2 paired reads | | Samplesheet | `.csv` | `sample`, `fastq1`, `fastq2` (optional) | | Aligner index | prefix | Pre-built BWA/Bowtie2/Minimap2 index | ## Workflow 1. Validate input files and tools 2. Run FastQC on all FASTQs (if `--run-fastqc`) 3. Trim adapters with fastp (if `--trim`) 4. Align reads with selected aligner β SAM 5. Filter by MAPQ threshold with `samtools view` 6. Sort by read name with `samtools sort -n` 7. Fix mate-pair information with `samtools fixmate` 8. Coordinate sort with `samtools sort` 9. Mark (or remove) duplicates with `samtools markdup` 10. Index final BAM with `samtools index` 11. Compute flagstat, coverage, insert size 12. Aggregate with MultiQC (if `--run-multiqc`) 13. Generate Markdown report and reproducibility bundle ## CLI Reference ```bash # Demo (no external tools needed) python skills/seq-wrangler/seq_wrangler.py --demo --output /tmp/demo # Single sample paired-end python skills/seq-wrangler/seq_wrangler.py \ --r1 sample_R1.fastq.gz \ --r2 sample_R2.fastq.gz \ --index ref/hg38 \ --aligner bowtie2 \ --output results/ # Single sample single-end python skills/seq-wrangler/seq_wrangler.py \ --r1 sample.fastq.gz \ --index ref/hg38 \ --aligner bwa \ --output results/ # Batch mode via samplesheet python skills/seq-wrangler/seq_wrangler.py \ --samplesheet samples.csv \ --index ref/hg38 \ --output results/ # With trimming and duplicate removal python skills/seq-wrangler/seq_wrangler.py \ --r1 sample_R1.fastq.gz --r2 sample_R2.fastq.gz \ --index ref/hg38 --aligner bowtie2 \ --trim --remove-duplicates --keep-sam \ --output results/ ``` ## Demo ```bash python skills/seq-wrangler/seq_wrangler.py --demo --output /tmp/demo ``` Expected output: Markdown report with synthetic flagstat (97.5% mapped, 8.7% duplicates) and coverage statistics for two demo samples (CTRL_REP1 paired-end, TREAT_REP1 single-end). No external tools required. ## Output Structure ```bash output/ βββ report.md # Full alignment and QC report βββ summary.json # Per-sample statistics as JSON βββ bam/ β βββ sample_sorted.bam # Final sorted, markdup BAM β βββ sample_sorted.bam.bai # BAM index βββ alignment/ β βββ sample.sam # Intermediate SAM (only with --keep-sam) βββ fastqc/ # FastQC reports (if --run-fastqc) βββ trimmed/ # Trimmed FASTQs (if --trim) βββ multiqc/ # MultiQC report (if --run-multiqc)
From ClawBio/ClawBio, MIT.
More from ClawBio/ClawBio
- 0.825score
polars-bio
ClawBio (adapted from K-Dense scientific-agent-skills/polars-bio)
Fast genomic interval operations (overlap, nearest, merge, coverage, cluster, complement, subtract, count-overlaps), multi-format bioinformatics I/Oβ¦
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
ena-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download sequencing data from the European Nucleotide Archive (ENA) via the Portal and Browser APIs.
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
gi-expression
ClawBio + Genomic Intelligence
Predict tissue / cell-type expression (log TPM + TPM) from 9,198β500,000 bp of DNA around a TSS, at least 4,599 bp each side (anything but exactly 9,198 bpβ¦
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
geo-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the NCBI Gene Expression Omnibus (GEO).
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
ukb-ppp-region-fetch
ClawBio
Fetch a regional slice of plasma pQTL summary statistics from the UK Biobank Pharma Proteomics Project (UKB-PPP; Sun 2023 Nature) for a specific (proteinβ¦
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
eqtl-catalogue-region-fetch
ClawBio
Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
protocols-io
ClawBio Contributors
Search, browse, and retrieve scientific protocols from protocols.io via REST API.
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
gwas-sumstats-harmonize
AlsammanAlsamman
Harmonize GWAS summary statistics from any common format (GWAS-Catalog SSF, PLINK 1.9/2, REGENIE, METAL, BOLT, SAIGE) to one canonical table (SNP CHR BP EAβ¦
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
prs-applicability-gate
Rinat Rizvanov
Deterministic gate for ONE already-computed polygenic score result and ONE person: returns SUPPORTED (raw score, standardised score and reference percentileβ¦
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
pride-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3.
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
wgs-prs
David de Lorenzo
End-to-end WGS to polygenic risk score pipeline.
SkillAFreshness: Aβ 1.2KClaude Code +9 - 0.822score
biostudies-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from EMBL-EBI BioStudies, the database that describes biological studies and links their data across collectionsβ¦
SkillAFreshness: Aβ 1.2KClaude Code +9
Signals
- Stars
- 1,166
- Forks
- 288
- Open issues
- 27
- Last commit (this folder)
- Jun 18, 2026 (4 months ago)
- Last release
- Sep 11, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.1.0
- License
- MIT
- Repository
- github.com/ClawBio/ClawBio
- Website
- clawbio.github.io/ClawBio/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents βRead the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes Β· CoinDesk Β· Decrypt Β· Cointelegraph Β· The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get seq-wrangler running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
seq-wrangler skill. Agent Mart. https://agentmart.dev/skills/clawbio-seq-wrangler (last updated 2026-10-24)