Converter tool

Plasmid Map Viewer

Open a GenBank or FASTA file, draw a circular or linear map with features and restriction sites, edit the annotations and save the result as SVG, PNG, PDF or GenBank.

GenBank (.gb, .gbk) or FASTA

1. Sequence

Or paste GenBank or FASTA text

Plasmid Map Viewer

Operator: Abdulla Al Fahad. How tools are built and checked

Before a digest or a ligation you need three answers from the sequence file: where the features sit, which enzymes cut the backbone exactly once, and how big the pieces will be. A GenBank file holds the first, and a short scan holds the other two, but reading either from raw text is slow and error-prone.

This page reads a GenBank flat file, or a plain FASTA sequence, and draws a circular or linear map with feature arrows and restriction sites. A curated list of 74 commonly used enzymes is scanned on both strands, and you can show only unique cutters, only double cutters, or enzymes you pick.

Features can be added, edited and deleted in a table, and the result saves as SVG, PNG, PDF, FASTA or a GenBank file that carries your edits. Plasmids up to 1,000,000 bases are scanned for sites; the reader accepts records up to 2,000,000 bases and up to 5,000 features.

Key features

  • GenBank reader with join, complement, order, partial (< and >) and wrap-around locations, and several records per file
  • Circular map with feature arrows on up to five tracks and enzyme and feature labels set in columns, one line each, so the names in a crowded cloning-site cluster stay readable in the SVG and the PNG
  • Linear map with staggered enzyme labels, for fragments and constructs that are not circular
  • 74 restriction enzymes with cut positions, including type IIS enzymes such as BsaI, BsmBI and BbsI and degenerate sites such as AccI and HincII
  • Fragment sizes for each enzyme, counted correctly for circular and linear molecules, and a CSV of the table
  • A combined digest for the enzymes you choose: the fragments from cutting with all of them together, with their start and end bases and the enzyme at each end
  • Feature editor for name, type, start, end, strand and colour, with GenBank output that keeps the qualifiers it did not change

GenBank locations, restriction enzyme data and how the map is drawn

A GenBank record starts at the LOCUS line, which gives the name, length and topology, and ends at //. The FEATURES block lists each feature with a location such as complement(1626..2486) or join(10..30,40..60), followed by qualifiers like /gene and /note. The page reads /label, /gene, /product, /standard_name, /note and /locus_tag, in that order, for the display name, and keeps all other qualifiers so that saving does not discard them. Locations that point to another accession (ACC:1..20) cannot be drawn and are skipped with a count. A feature you do not edit is written back with its location exactly as it was read, so order(...) stays order(...), the order of join(complement(...),complement(...)) pieces and partial markers are kept, and a long location is wrapped over several lines; only a feature you edit is rewritten (and a range that crosses the origin is then written as a join).

A FASTA input has no annotations, so the page treats it as a circular bare sequence that you can annotate by hand. The topology selector decides how fragments are counted: a circular molecule cut at n places gives n fragments, a linear one gives n + 1.

How it works

Each enzyme's recognition sequence is turned into a pattern with its ambiguity codes (R, Y, W and so on) and searched along the sequence. Non-palindromic sites are also searched on the reverse strand, and the cut position is mirrored so that every cut is reported on the top strand as the number of bases to its left. For a circular sequence the first few bases are appended to the end during the search, so a site that spans the origin is found once and its cut wraps around.

Type IIS enzymes cut outside their site, so the cut can land several bases away from it and, for a reverse-strand site, on the other side. The positions account for that. Overhangs are derived from the two cut offsets: EcoRI cuts after base 1 on the top strand and base 5 on the bottom, leaving a 4-base 5′ overhang.

Labels on the circular map go into two columns, one for the right half of the circle and one for the left, each label on its own text line (13 pixels for feature names, 12.5 for enzymes) and in the order of its position, with a thin leader line back to the feature or the cut. Ten enzymes within 160 bases therefore stack above one another instead of overprinting. At most 40 labels of each kind are drawn, the longest features first; if the columns fill up the map says how many sites are not labelled. The linear map stacks enzyme labels in up to nine rows above the axis.

A combined digest takes the cut positions of the chosen enzymes together. Cuts that fall on the same base are merged, the fragments run from one cut to the next (wrapping over the origin on a circle), and the lengths add up to the sequence length.

When this helps

  • A student choosing two enzymes in a 5,400 bp expression vector to drop out a 1.1 kb insert, looking for a pair that each cut once and leave fragments that separate cleanly on a gel.
  • A lab member who received a construct as a FASTA file and needs a labelled map for a lab meeting slide, saved as SVG so it can be recoloured.
  • Someone checking a Golden Gate design for internal BsaI and BsmBI sites: both are in the list, and a count above 0 inside the insert is the problem.

Opening a file

  1. Drop a GenBank or FASTA file, paste its text, or load the simulated plasmid.
  2. Choose circular or linear topology and the drawing style.
  3. Pick unique cutters, double cutters or chosen enzymes under Restriction sites, and tick or untick feature types to declutter.
  4. Open the restriction table to read cut positions, overhangs and fragment sizes; with Chosen enzymes, a second table gives the combined digest.
  5. Add or edit features: type a name, start, end and strand, then Add feature or Save changes.
  6. Download the map as SVG, PNG or PDF, and the sequence as FASTA or GenBank.

Example

The simulated plasmid: 3,537 bp, circular

Features: T7 promoter 181..200, cloning sites 231..287, ORF 1 348..1013, hairpin terminator 1054..1091, ORF 2 complement(1492..2337), origin region 2838..3397
Restriction sites: Unique cutters, then Chosen enzymes: EcoRI, HindIII

Restriction summary and combined digest

27 of the 74 enzymes cut once and 5 cut twice (AatII, BsaI, BstBI, DraI, StyI)
EcoRI cuts after base 231 and HindIII after base 282
Cut together (the combined digest table): fragments of 51 bp (bases 232 to 282) and 3,486 bp (283 to 231, over the origin); 51 + 3,486 = 3,537
EcoRI alone on the circle: one fragment of 3,537 bp

Limits

Methylation is not modelled. Dam-blocked sites (BclI), Dcm-sensitive sites and CpG-sensitive enzymes may not cut a plasmid grown in a standard E. coli strain, even though the scan reports a site.

The list is 74 enzymes, not the full catalogue. An enzyme that is not in it will not appear as a cutter, so a sequence that looks free of sites may still have some for an enzyme outside the list.

The PDF holds the map as a picture, so its text cannot be selected or searched. The SVG is the vector copy and opens in Inkscape or Illustrator.

  • Double cutters are useful for dropping out a small piece: two sites close together give a small fragment and a large backbone. Scan the Cut after base column for two positions a few dozen bases apart.
  • A type IIS enzyme listed as cutting twice may cut outside your region of interest; check the Cut after base column against your feature coordinates.

Common errors and how to fix them

No LOCUS line was found, so this is not a GenBank file.
The file may be FASTA saved with a .gb name, or a GenBank file with a header stripped. A FASTA file loads as a bare sequence when it begins with a > line.
The record is 4,640,000 bp; the map handles up to 2,000,000.
A whole bacterial chromosome is too long for a map. Extract the region of interest as its own record first.

What the list of enzymes contains

The list covers the common cloning enzymes (EcoRI, BamHI, HindIII, XhoI, NotI, NdeI, NcoI, XbaI, SpeI, KpnI, SacI, SalI, PstI, SmaI and others), blunt cutters, frequent cutters such as AluI and HaeIII, rare 8-base cutters (AscI, PacI, SbfI, FseI, SwaI, PmeI), and the Golden Gate enzymes BsaI, BsmBI, BbsI and SapI. Recognition sequences and cut offsets were entered from supplier catalogues, and each entry is displayed with a caret at the top-strand cut so you can compare it with a datasheet.

A site is a match on the sequence you loaded only. The tool does not know about vector-specific features such as a site in a polylinker that you would regard as intentionally unique; it reports what is in the text.

Editing features

The editor handles single-segment features: a start, an end and a strand. A feature that crosses the origin of a circular sequence is entered with the start greater than the end. Features that are joins of several segments, such as spliced CDS annotations, are shown, hidden and deleted from the table but not edited. When a GenBank file is saved, the name is written as a /label qualifier and the feature colour as /ApEinfo_fwdcolor, so other map programs that read that qualifier show the same colours.

Frequently asked questions

Can I trust the cut positions of type IIS and degenerate enzymes?

Each entry's two cut offsets imply the overhang published for the enzyme: 5′ overhangs for EcoRI, XmaI, NdeI, BsaI and NotI, 3′ overhangs for KpnI, PstI and PacI, blunt ends for SmaI, and the right gapped patterns for the degenerate SfiI and BglI. Compare a result with your supplier's datasheet, since the list is curated and not exhaustive.

Why does a site that spans the origin count as one cut?

On a circular molecule the sequence has no end. The search wraps around, so a GAATTC whose G is the last base and AATTC the first five is found once, with its cut placed between the last base and the first.

Can I load a file that has no annotations?

Yes. A FASTA sequence loads as a circular bare backbone. Restriction analysis works at once, and you can add features by hand.

Does it design cloning strategies or check compatible ends?

No. It reports sites, positions, overhang type and fragment sizes. Whether two overhangs ligate is a question you still answer from the overhang column.