← All skills
bio-duplicate-handling
80 / 100 · Low risk
Fine to try.
By lilinji/GeneTind-Life-Skills (GitHub) · other · 17 stars · scanned at commit 908229c
Mark and remove PCR/optical duplicates using samtools fixmate and markdup. Use when preparing alignments for variant calling or when duplicate reads would bias analysis.
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
The author does not mention this.
Found in 21 places.
Show 17 more
- skills/bio-duplicate-handling/SKILL.md, line 133
samtools collate -O -u input.bam tmpdir/collate | \ - skills/bio-duplicate-handling/SKILL.md, line 152
samtools fixmate namesorted.bam fixmate.bam - skills/bio-duplicate-handling/SKILL.md, line 158
samtools fixmate -m namesorted.bam fixmate.bam - skills/bio-duplicate-handling/SKILL.md, line 163
samtools fixmate -m -@ 4 namesorted.bam fixmate.bam - skills/bio-duplicate-handling/SKILL.md, line 168
samtools fixmate -r -m namesorted.bam fixmate.bam - skills/bio-duplicate-handling/SKILL.md, line 177
samtools markdup input.bam marked.bam - skills/bio-duplicate-handling/SKILL.md, line 182
samtools markdup -r input.bam deduped.bam - skills/bio-duplicate-handling/SKILL.md, line 187
samtools markdup -s input.bam marked.bam 2> markdup_stats.txt - skills/bio-duplicate-handling/SKILL.md, line 193
samtools markdup -d 2500 input.bam marked.bam # NovaSeq / patterned - skills/bio-duplicate-handling/SKILL.md, line 199
samtools markdup -@ 4 input.bam marked.bam - skills/bio-duplicate-handling/SKILL.md, line 204
samtools markdup -f stats.txt input.bam marked.bam - skills/bio-duplicate-handling/SKILL.md, line 211
samtools flagstat marked.bam - skills/bio-duplicate-handling/SKILL.md, line 218
samtools view -c -f 1024 marked.bam - skills/bio-duplicate-handling/SKILL.md, line 223
total=$(samtools view -c marked.bam) - skills/bio-duplicate-handling/SKILL.md, line 288
bwa-mem2 mem ref.fa R1.fq R2.fq | \ - skills/bio-duplicate-handling/SKILL.md, line 295
java -jar picard.jar MarkDuplicates \ - skills/bio-duplicate-handling/SKILL.md, line 308
umi_tools dedup --stdin=cellranger_possorted.bam --stdout=dedup.bam \
and 1 more places
Downloads and installs other software
The author does not mention this.
Found in 1 place.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'bio-duplicate-handling' ] || [ -L ~/.agents/skills/'bio-duplicate-handling' ]; then echo 'A skill folder named bio-duplicate-handling already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/lilinji/GeneTind-Life-Skills' "$d" && git -C "$d" checkout --quiet '908229c955510a1841b216e8bf58f6b22818d4dc' -- 'skills/bio-duplicate-handling' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/bio-duplicate-handling' ~/.agents/skills/'bio-duplicate-handling' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'bio-duplicate-handling' ~/.claude/skills/'bio-duplicate-handling' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for lilinji/GeneTind-Life-Skills shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/lilinji/GeneTind-Life-Skills/)
Score history
| Date | Version | Score |
|---|
| 2026-11-11 | 908229c | 80 |