Publication-quality DNA/RNA visualizations. Plasmid maps (circular/linear), sequence logos, restriction enzyme maps, GC content plots, and gene feature annotation tracks from GenBank/FASTA.
68
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Generate publication-quality DNA and RNA diagrams for molecular biology, genomics, and synthetic biology workflows. This skill provides tools for rendering annotated plasmid maps, sequence logos from alignments, restriction enzyme site maps, GC content plots, and linear gene feature tracks.
This skill handles DNA/RNA sequences (FASTA, GenBank). For small-molecule SMILES input, use molecule-visualization instead. Never pass a DNA sequence to a SMILES-based tool.
All scripts require Python 3.9+ and the following packages:
# Core (required for all scripts)
pip install biopython matplotlib
# For plasmid maps and gene feature tracks
pip install dna_features_viewer
# For sequence logos
pip install logomaker
# Full installation
pip install biopython matplotlib dna_features_viewer logomakerscripts/draw_plasmid.py)Render circular or linear plasmid maps with annotated features from a GenBank file.
# Circular plasmid map from GenBank
python scripts/draw_plasmid.py \
--input plasmid.gb \
--output plasmid_map.png
# Linear map
python scripts/draw_plasmid.py \
--input plasmid.gb \
--output plasmid_linear.png \
--linear
# Custom feature colors and figure size
python scripts/draw_plasmid.py \
--input plasmid.gb \
--output plasmid_map.svg \
--figsize 10x10 \
--dpi 300scripts/draw_sequence_logo.py)Generate a sequence logo from a multiple sequence alignment (FASTA or Clustal format).
# From aligned FASTA
python scripts/draw_sequence_logo.py \
--input alignment.fasta \
--output logo.png
# Specify logo type (information or probability)
python scripts/draw_sequence_logo.py \
--input alignment.fasta \
--output logo.svg \
--type information \
--title "Promoter Motif"
# Show specific positions only
python scripts/draw_sequence_logo.py \
--input alignment.fasta \
--output logo.png \
--start 10 --end 30scripts/draw_restriction_map.py)Annotate restriction enzyme cut sites on a DNA sequence.
# Common enzymes on a GenBank sequence
python scripts/draw_restriction_map.py \
--input sequence.gb \
--output restriction_map.png
# Specific enzymes on a FASTA sequence
python scripts/draw_restriction_map.py \
--input sequence.fasta \
--output restriction_map.png \
--enzymes EcoRI,BamHI,HindIII,NotI
# Linear display with custom figure width
python scripts/draw_restriction_map.py \
--input sequence.gb \
--output restriction_map.svg \
--linear \
--figwidth 16scripts/draw_gc_content.py)Plot sliding-window GC percentage along a DNA sequence.
# Default 100bp window
python scripts/draw_gc_content.py \
--input sequence.fasta \
--output gc_plot.png
# Custom window size and step
python scripts/draw_gc_content.py \
--input sequence.fasta \
--output gc_plot.svg \
--window 200 \
--step 50 \
--title "GC Content — pUC19"
# Show threshold line
python scripts/draw_gc_content.py \
--input sequence.gb \
--output gc_plot.png \
--threshold 0.5scripts/draw_gene_map.py)Linear gene/feature annotation tracks from GenBank or GFF files.
# From GenBank file
python scripts/draw_gene_map.py \
--input genome_region.gb \
--output gene_map.png
# Specific region only
python scripts/draw_gene_map.py \
--input chromosome.gb \
--output region.png \
--start 10000 --end 25000
# Custom figure dimensions
python scripts/draw_gene_map.py \
--input genome_region.gb \
--output gene_map.svg \
--figsize 14x4 \
--dpi 300| Script | Purpose | Key Inputs |
|---|---|---|
draw_plasmid.py | Circular/linear plasmid maps | GenBank file, output path |
draw_sequence_logo.py | Sequence logo from MSA | Aligned FASTA/Clustal, output path |
draw_restriction_map.py | Restriction enzyme cut sites | GenBank/FASTA, enzyme list, output |
draw_gc_content.py | Sliding-window GC% plot | FASTA/GenBank, window size, output |
draw_gene_map.py | Linear gene feature tracks | GenBank/GFF, output path |
| Format | Extension | How to Provide |
|---|---|---|
| GenBank | .gb, .gbk, .genbank | File path (contains sequence + feature annotations) |
| FASTA | .fasta, .fa, .fna | File path (sequence only, no annotations) |
| Clustal | .aln, .clustal | File path (for sequence logos from alignments) |
| Raw sequence | inline | --sequence ATCGATCG... (some scripts support this) |
52845c3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.