zja2004/bgi-cli/bio-methylation-calling
Claude Code and agent skill by zja2004/bgi-cli
- community
Checking that the SKILL.md file is still in the repository.
Extract methylation calls from Bismark BAM files using bismark_methylation_extractor. Generates per-cytosine reports for CpG, CHG, and CHH contexts. Use when extracting methylation levels from aligned bisulfite sequencing data for downstream analysis.
Install
npx vskill@latest install zja2004/bgi-cli/bio-methylation-callingSKILL.md
The same SKILL.md was published earlier as freedomintelligence/openclaw-medical-skills/bio-methylation-calling.
Version Compatibility
Reference examples tested with: pandas 2.2+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures - CLI:
<tool> --versionthen<tool> --helpto 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.
Methylation Calling
"Extract methylation calls from my Bismark BAM" → Generate per-cytosine methylation reports (CpG, CHG, CHH contexts) from aligned bisulfite sequencing data.
- CLI:
bismark_methylation_extractor --bedGraph --cytosine_report sample.bam
Basic Extraction
Paired-End Extraction
Common Options
CpG Context Only
Genome-Wide Cytosine Report
Strand-Specific Output
Avoid Double-Counting Overlapping Reads
Generate Coverage File
Convert to BigWig for Visualization
M-Bias Plot
Ignore End Bias
Output Files
Parse Output in Python
Key Parameters
| Parameter | Description | |
|---|---|---|
| --paired-end | Paired-end mode | |
| --gzip | Compress output | |
| --bedGraph | Generate bedGraph | |
| --cytosine_report | Full genome cytosine report | |
| --genome_folder | Path to genome (for cytosine_report) | |
| --CX | Report CHG/CHH contexts | |
| --no_overlap | Avoid counting overlapping reads twice | |
| --parallel | Parallel extraction threads | |
| --mbias_only | Only M-bias analysis | |
| --ignore N | Ignore first N bp of read 1 | |
| --ignore_r2 N | Ignore first N bp of read 2 |
Output Formats
| Format | Description | Use Case | |
|---|---|---|---|
| CpG_context | Per-read methylation calls | Detailed analysis | |
| .bismark.cov | Per-CpG coverage summary | methylKit input | |
| .bedGraph | Methylation track | Genome browser | |
| .CpG_report | All genome CpGs | Comprehensive analysis |
Related Skills
- bismark-alignment - Generate input BAM files
- methylkit-analysis - Import coverage files to R
- dmr-detection - Find differentially methylated regions
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/skills/bio-methylation-calling/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zja2004/bgi-cli/bio-methylation-calling)