Agent skill · Data & Analytics

bio-alignment-msa-parsing

Parse and analyze multiple sequence alignments using Biopython. Extract sequences, identify conserved regions, analyze gaps, work with annotations, and manipulate alignment data for downstream analysis. Use when parsing or manipulating multiple sequence alignments.

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

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

Facts
Files in the skill folder: 11
SKILL.md size: 21 KB
Bundled scripts: yes
Path: skills/bioskills/msa-parsing/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: BioPython 1.83+, numpy 1.26+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # MSA Parsing and Analysis Parse multiple sequence alignments to extract information, analyze content, and prepare for downstream analysis. ## Required Import **Goal:** Load modules for parsing, analyzing, and manipulating multiple sequence alignments. **Approach:** Import AlignIO for reading, Counter for column analysis, and alignment classes for constructing modified alignments. ```python from Bio import AlignIO from Bio.Align import MultipleSeqAlignment from Bio.SeqRecord import SeqRecord from Bio.Seq import Seq from collections import Counter import numpy as np import pandas as pd ``` Optional for streaming and Easel-based weighting: ```python import pyhmmer ``` ## Loading Alignments **Goal:** Read an MSA file and inspect its dimensions. **Approach:** Use `AlignIO.read()` specify

What's inside
Steps it walks through
  1. Version Compatibility
  2. Required Import
  3. Loading Alignments
  4. Extracting Sequence Information
  5. Get All Sequence IDs
  6. Get Sequences as Strings
  7. Get Sequence by ID
  8. Access Descriptions and Annotations
  9. Column-wise Analysis
  10. Get Single Column
  11. Iterate and Count Columns
  12. Find Conserved Positions
  13. Gap Analysis
  14. Count Gaps Per Sequence
Ships with 10 files
  • examples/a2m_a3m_io.py
  • examples/analyze_alignment.py
  • examples/clean_alignment.py
  • examples/consensus_sequence.py
  • examples/find_conserved.py
  • examples/gap_analysis.py
  • examples/henikoff_weights.py
  • examples/mi_apc.py
  • examples/neff.py
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-alignment-msa-parsing skill do?

Parse and analyze multiple sequence alignments using Biopython. Extract sequences, identify conserved regions, analyze gaps, work with annotations, and manipulate alignment data for downstream analysis. Use when parsing or manipulating multiple sequence alignments.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill msa-parsing --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