Agent skill · Media & Video

bio-clip-seq-clip-preprocessing

Preprocess CLIP-seq reads (eCLIP, iCLIP, iCLIP2, iCLIP3, irCLIP, PAR-CLIP, FLASH) with protocol-specific UMI extraction, adapter trimming, length filtering, and post-alignment PCR-duplicate collapse. Use when raw CLIP FASTQ must be turned into deduplicated, crosslink-preserving BAM input for peak calling; choosing between two-pass and single-pass adapter trimming; deciding minimum read length; or mapping UMI patterns to specific eCLIP/iCLIP/iCLIP2/iCLIP3 library preps.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill clip-preprocessing --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 19 KB
Bundled scripts: yes
Path: skills/bioskills/clip-preprocessing/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: umi_tools 1.1.5+, cutadapt 4.6+, fastp 0.23.4+, samtools 1.19+, pysam 0.22+, picard 3.1+, preseq 3.2+. 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. # CLIP-seq Preprocessing **"Preprocess raw CLIP reads into UMI-deduplicated, alignable FASTQ"** -> Extract random barcodes, trim adapters without disturbing the 5' truncation site, length-filter to remove unmappable shorts, and (post-alignment) collapse PCR duplicates by UMI + position. The 5' end of the read carries the iCLIP/eCLIP truncation signature one base downstream of the protein-RNA crosslink; preserving this base is the single most important constraint of CLIP preprocessing. - CLI (eCLIP, paired-end): `umi_tools extract --bc-pattern=NNNNNNNNNN --stdin R1.fq.gz --read2-in R2.fq.gz --stdout R1_umi.fq.gz --read2-out R2_umi.fq.gz` - CLI (iCLI

What's inside
Steps it walks through
  1. Version Compatibility
  2. Read Structure by Protocol
  3. Critical Choice: One Adapter Pass vs Two
  4. Per-Protocol Failure Modes
  5. eCLIP -- 5' end trimmed by mistake
  6. iCLIP / iCLIP2 -- Demultiplex confusion with UMI
  7. PAR-CLIP -- T->C mistaken for sequencing error
  8. Quality trimming too aggressive
  9. Library complexity below threshold
  10. UMI Deduplication Decision
  11. Pre-Mapping rRNA Filter (Optional but Standard)
  12. Library Complexity Assessment
  13. QC Checkpoints After Preprocessing
  14. Common Errors
Ships with 2 files
  • examples/preprocess_clip.sh
  • usage-guide.md
Commands it runs
Pass 1 - 3' adapter (both reads)
cutadapt \
R1.umi.fq.gz R2.umi.fq.gz
Pass 2 - read-through 5' adapter on R2 only (ENCODE eCLIP)
R1.p1.fq.gz R2.p1.fq.gz
samtools index aligned.bam
umi_tools dedup \
samtools index dedup.bam
Pre-map to rRNA + repeats
bowtie2 -x repbase_repeats -U R1.trim.fq.gz \
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-clip-seq-clip-preprocessing skill do?

Preprocess CLIP-seq reads (eCLIP, iCLIP, iCLIP2, iCLIP3, irCLIP, PAR-CLIP, FLASH) with protocol-specific UMI extraction, adapter trimming, length filtering, and post-alignment PCR-duplicate collapse. Use when raw CLIP FASTQ must be turned into deduplicated, crosslink-preserving BAM input for peak calling; choosing between two-pass and single-pass adapter trimming; deciding minimum read length; or mapping UMI patterns to specific eCLIP/iCLIP/iCLIP2/iCLIP3 library preps.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill clip-preprocessing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going