Bio Alignment Amplicon Clipping

Trim PCR primers from aligned reads in amplicon-panel BAMs using samtools ampliconclip. Use when processing SARS-CoV-2 ARTIC, hereditary cancer panels, ctDNA hot-spot panels, or any amplicon assay where primer-derived bases would falsely confirm reference at primer footprints.

9 stars 3 forksOther Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add hackernoon/cuttlefish-agent-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add hackernoon/cuttlefish-agent-skills --skill bio-alignment-amplicon-clipping
Manual install
git clone --depth 1 https://github.com/hackernoon/cuttlefish-agent-skills.git /tmp/cuttlefish-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cuttlefish-agent-skills/plugins/data-science/skills/bio-alignment-amplicon-clipping ~/.claude/skills/bio-alignment-amplicon-clipping

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

## Version Compatibility

Reference examples tested with: samtools 1.19+, pysam 0.22+

Before using code patterns, verify installed versions match. If versions differ:
- Python: `pip show <package>` then `help(module.function)` to check signatures
- CLI: `<tool> --version` then `<tool> --help` to confirm flags

If code throws ImportError, AttributeError, or TypeError, introspect the installed
package and adapt the example to match the actual API rather than retrying.

# Alignment Amplicon Clipping

**"Trim primer-derived bases from amplicon BAM"** -> Soft- or hard-clip the 5' primer footprint after alignment using a primer BED, then repair fixmate/MD/NM tags.
- CLI: `samtools ampliconclip -b primers.bed input.bam -o clipped.bam` (since samtools 1.11)
- Alternative: `iVar trim`, `BAMClipper`, `fgbio ClipBam`

## Why Primer Trimming After Alignment

Amplicon panels (SARS-CoV-2 ARTIC, hereditary cancer panels, ctDNA hot-spot panels, fusion panels, 16S rRNA) use designed PCR primers for enrichment. Primer-derived bases at read 5' ends do NOT reflect biological sequence -- they reflect the primer template. Without trimming:
- False reference confirmation at primer footprint positions.
- Variant allele frequency suppressed at variants under primers (the primer sequence cannot capture the variant base).
- Strand bias artifacts (primers are typically one-strand).
Read the full skill on GitHub

Details

Skill name
bio-alignment-amplicon-clipping
Path
plugins/data-science/skills/bio-alignment-amplicon-clipping/SKILL.md
License
MIT
Repo updated
4 November 2026

FAQ

What does the Bio Alignment Amplicon Clipping skill do?

Trim PCR primers from aligned reads in amplicon-panel BAMs using samtools ampliconclip. Use when processing SARS-CoV-2 ARTIC, hereditary cancer panels, ctDNA hot-spot panels, or any amplicon assay where primer-derived bases would falsely confirm reference at primer footprints.

How do I install the Bio Alignment Amplicon Clipping skill?

Claude Code plugin: /plugin marketplace add hackernoon/cuttlefish-agent-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bio Alignment Amplicon Clipping popular?

It lives in hackernoon/cuttlefish-agent-skills, which has 9 GitHub stars and 3 forks.

Related skills

AI Traffic Tracking

9

hackernoon/cuttlefish-agent-skills

Compatibility pointer for AI assistant referrals and generative search visibility; maintained in Open Analytics.

AI, LLMs & Agents

Analytics Tracking

9

hackernoon/cuttlefish-agent-skills

Compatibility pointer for GA4 event, key-event and User-ID tracking; maintained in Open Analytics.

Data & Analytics

Bio Admet Prediction

9

hackernoon/cuttlefish-agent-skills

Predicts ADMET properties using ADMETlab 3.0 (119 platform features, including 77 prediction models with modeled-endpoint uncertainty), ADMET-AI, DeepChem MolNet, and chemprop D-MPNN with explicit handling of OECD QSAR principles, applicability domain assessment, calibration, hERG/CYP/AMES endpoints, and PAINS / Lipinski / Ro5 / Veber / BBB druglikeness filters. Use when filtering compounds for drug-likeness, prioritizing leads by predicted safety, or building an in-house ADMET QSAR model.

AI, LLMs & Agents

Bio Alignment Filtering

9

hackernoon/cuttlefish-agent-skills

Filter alignments by flags, mapping quality, and regions using samtools view and pysam. Use when extracting specific reads, removing low-quality alignments, or subsetting to target regions.

Other

Axiom

9

huytran1120/vietnam-agentic-skills

First-principles assumption auditor. Classifies each hidden assumption (fact / convention / belief / interest-driven), ranks by fragility × impact, and rebuilds conclusions from verified premises. Bilingual: auto-detects Chinese or English.

Other

Bio Alignment Msa Parsing

9

hackernoon/cuttlefish-agent-skills

Parse and analyze multiple sequence alignments using Biopython. Extract sequences, identify conserved regions, analyze gaps, work with annotations, and manipulate alignment data for downstream analysis. Use when parsing or manipulating multiple sequence alignments.

Other

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.