name: bio-epitranscriptomics-merip-preprocessing
description: Align and QC MeRIP-seq IP and input samples for m6A analysis. Use when preparing MeRIP-seq data for peak calling or differential methylation analysis.
tool_type: cli
primary_tool: STAR
measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.
allowed-tools:
- read_file
- run_shell_command
MeRIP-seq Preprocessing
Alignment with STAR
# Build index (once)
STAR --runMode genomeGenerate \
--genomeDir star_index \
--genomeFastaFiles genome.fa \
--sjdbGTFfile genes.gtf
# Align IP and input samples
for sample in IP_rep1 IP_rep2 Input_rep1 Input_rep2; do
STAR --genomeDir star_index \
--readFilesIn ${sample}_R1.fastq.gz ${sample}_R2.fastq.gz \
--readFilesCommand zcat \
--outSAMtype BAM SortedByCoordinate \
--outFileNamePrefix ${sample}_
done
QC Metrics
# Index BAMs
for bam in *Aligned.sortedByCoord.out.bam; do
samtools index $bam
done
# Check IP enrichment
# Good MeRIP: IP should have peaks, input should be uniform
samtools flagstat IP_rep1_Aligned.sortedByCoord.out.bam
read-qc/quality-reports - Raw read quality assessment
read-alignment/star-alignment - General alignment concepts
m6a-peak-calling - Next step after preprocessing
1---2name: bio-epitranscriptomics-merip-preprocessing3description: <!--4---5<!--6# COPYRIGHT NOTICE7# This file is part of the "Universal Biomedical Skills" project.8# Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>9# All Rights Reserved.10#11# This code is proprietary and confidential.12# Unauthorized copying of this file, via any medium is strictly prohibited.13#14# Provenance: Authenticated by MD BABU MIA1516-->1718---19name: bio-epitranscriptomics-merip-preprocessing20description: Align and QC MeRIP-seq IP and input samples for m6A analysis. Use when preparing MeRIP-seq data for peak calling or differential methylation analysis.21tool_type: cli22primary_tool: STAR23measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.24allowed-tools:25 - read_file26 - run_shell_command27---2829# MeRIP-seq Preprocessing3031## Alignment with STAR3233```bash34# Build index (once)35STAR --runMode genomeGenerate \36 --genomeDir star_index \37 --genomeFastaFiles genome.fa \38 --sjdbGTFfile genes.gtf3940# Align IP and input samples41for sample in IP_rep1 IP_rep2 Input_rep1 Input_rep2; do42 STAR --genomeDir star_index \43 --readFilesIn ${sample}_R1.fastq.gz ${sample}_R2.fastq.gz \44 --readFilesCommand zcat \45 --outSAMtype BAM SortedByCoordinate \46 --outFileNamePrefix ${sample}_47done48```4950## QC Metrics5152```bash53# Index BAMs54for bam in *Aligned.sortedByCoord.out.bam; do55 samtools index $bam56done5758# Check IP enrichment59# Good MeRIP: IP should have peaks, input should be uniform60samtools flagstat IP_rep1_Aligned.sortedByCoord.out.bam61```6263## IP/Input Correlation6465```python66import deeptools.plotCorrelation as pc6768# Check replicate correlation69multiBamSummary bins \70 -b IP_rep1.bam IP_rep2.bam Input_rep1.bam Input_rep2.bam \71 -o results.npz7273plotCorrelation -in results.npz \74 --corMethod spearman \75 -o correlation.png76```7778## Related Skills7980- read-qc/quality-reports - Raw read quality assessment81- read-alignment/star-alignment - General alignment concepts82- m6a-peak-calling - Next step after preprocessing838485<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
Run npx skillmds@latest add freedomintelligence/bio-epitranscriptomics-merip-preprocessing in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
<!-- It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
FreedomIntelligence (@freedomintelligence) published this skill. Their other Agent Skills are listed on their SkillMD profile.