Agent skill

bio-restriction-mapping

Create restriction maps showing enzyme cut positions on DNA sequences using Biopython Bio.Restriction. Visualize cut sites, calculate distances between sites, and generate text or graphical maps. Use when creating or analyzing restriction maps.

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

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

Facts
Files in the skill folder: 4
SKILL.md size: 6 KB
Bundled scripts: yes
Path: skills/bioskills/restriction-mapping/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+ 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. # Restriction Mapping **"Create a restriction map of my sequence"** → Visualize cut site positions for multiple enzymes along a DNA sequence with inter-site distances. - Python: `Bio.Restriction.Analysis` for positions, `matplotlib` for graphical maps ## Create Basic Restriction Map ```python from Bio import SeqIO from Bio.Restriction import EcoRI, BamHI, HindIII, RestrictionBatch, Analysis record = SeqIO.read('sequence.fasta', 'fasta') seq = record.seq batch = RestrictionBatch([EcoRI, BamHI, HindIII]) analysis = Analysis(batch, seq) # Print formatted map analysis.print_as('map') ``` ## Output Formats ```python # Map format (visual) analysis.print_as('map') # Linear format (list) analysis.print_as('linear') # Tabular format analysis.print_as('tabulate') # Get as string instead of printing map_str

What's inside
Steps it walks through
  1. Version Compatibility
  2. Create Basic Restriction Map
  3. Output Formats
  4. Calculate Distances Between Sites
  5. Create Detailed Restriction Map
  6. Text-Based Map Visualization
  7. Map with GenBank Features
  8. Export Map to File
  9. Circular Map Coordinates
  10. Related Skills
Ships with 3 files
  • examples/create_map.py
  • examples/plasmid_map.py
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-restriction-mapping skill do?

Create restriction maps showing enzyme cut positions on DNA sequences using Biopython Bio.Restriction. Visualize cut sites, calculate distances between sites, and generate text or graphical maps. Use when creating or analyzing restriction maps.

How do I install it?

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