freedomintelligence/openclaw-medical-skills/bio-longread-alignment
Claude Code and agent skill by freedomintelligence/openclaw-medical-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Align long reads using minimap2 for Oxford Nanopore and PacBio data. Supports various presets for different read types and applications. Use when aligning ONT or PacBio reads to a reference genome for variant calling, SV detection, or coverage analysis.
Install
npx vskill@latest install freedomintelligence/openclaw-medical-skills/bio-longread-alignmentSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as freedomintelligence/openclaw-medical-skills/bio-longread-alignment.
Version Compatibility
Reference examples tested with: minimap2 2.26+, samtools 1.19+
Before using code patterns, verify installed versions match. If versions differ:
- 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.
Long-Read Alignment with minimap2
"Align my long reads to the reference" → Map ONT or PacBio reads using minimap2 with technology-specific presets for optimal sensitivity and accuracy.
- CLI:
minimap2 -ax map-ont ref.fa reads.fq | samtools sort -o aligned.bam(ONT),minimap2 -ax map-hifi(PacBio HiFi)
Oxford Nanopore Alignment
PacBio HiFi Alignment
PacBio CLR Alignment
Pre-Build Index for Multiple Runs
Common Options
Splice-Aware Alignment (RNA)
With Junction BED (Known Splice Sites)
Assembly to Reference Alignment
Output PAF (Faster, No BAM)
Keep Secondary and Supplementary
Filter Alignments
Multiple FASTQ Files
Output Statistics
Convert PAF to BED
Key Presets
| Preset | Description | Best For | |
|---|---|---|---|
| map-ont | ONT reads | Nanopore genomic | |
| map-hifi | PacBio HiFi | PacBio genomic | |
| map-pb | PacBio CLR | PacBio CLR | |
| splice | Long RNA reads | cDNA, direct RNA | |
| asm5 | Low divergence | Same species assembly | |
| asm20 | High divergence | Cross-species assembly | |
| sr | Short reads | Illumina (basic) |
Key Parameters
| Parameter | Default | Description | |
|---|---|---|---|
| -t | 3 | CPU threads | |
| -k | 15 | K-mer size | |
| -w | 10 | Minimizer window | |
| -a | off | Output SAM | |
| -x | none | Preset | |
| --secondary | yes | Output secondary | |
| -N | 5 | Max secondary alignments | |
| --MD | off | Generate MD tag | |
| -R | none | Read group header | |
| -Y | off | Soft clipping for supplementary |
Output Formats
| Format | Flag | Description | ||
|---|---|---|---|---|
| PAF | (default) | Pairwise Alignment Format | ||
| SAM | -a | Sequence Alignment Map | ||
| BAM | -a \ | samtools | Binary SAM |
Related Skills
- medaka-polishing - Polish consensus with medaka
- structural-variants - Call SVs from alignments
- alignment-files/sam-bam-basics - BAM manipulation
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 repositoryCheckingskills/bio-longread-alignment/SKILL.md
Popularity
- Repository stars
- 2,777
- Repository forks
- 386
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/freedomintelligence/openclaw-medical-skills/bio-longread-alignment)