Tutorials · updated 2026-11-23

Analyse a vector genome online: repeats, palindromes and quadruplexes against chance

Features such as repeats, palindromes and G-quadruplexes are easy to find in a vector genome and hard to interpret: if flagged regions cover a fifth of a construct, a fifth of randomly placed breakpoints land in them. Here is how to run the analysis in a browser or through an AI assistant, how every class is set beside shuffled sequences and the fraction of the sequence it covers, and how to check your own flagged positions against observed breakpoints. The example is a public reference genome. You can read all of it without signing up.

What you will do

  1. Paste a vector or plasmid genome, or upload a FASTA file.
  2. Read each feature class (G-quadruplex motifs, self-complementary duplexes, tandem repeats, homopolymers, sharp folding-energy changes) beside what shuffled sequences of the same composition give.
  3. See where several of those classes overlap within one window, next to how many such regions shuffled sequences give.
  4. If you have observed breakpoints, check whether your flagged positions sit nearer them than random positions do, and how many fall inside the overlap regions.
  5. Optionally give a GenBank record (its annotations label the overlaps) and your own motifs, and download BED, FASTA and CSV files.

Step 1: run it

In the browser, open the vector genome analysis, paste or upload a sequence of up to 20,000 nucleotides as bare sequence, FASTA or GenBank (native files of plasmid editors are not supported: export FASTA or GenBank from the editor), optionally add breakpoints, and press the button. It runs on our CPU and takes about a minute (79.3 seconds of CPU for the example below). Through an AI assistant, connect it once and ask in plain language: where does the folding energy change sharply, which repeats, palindromes and quadruplexes does the construct have, and how many of each would be expected by chance. Sequences stay on the server in the EU.

Example: the AAV2 reference genome

The example is the public RefSeq record NC_001401.2 (Adeno-associated virus - 2, complete genome (NCBI RefSeq)), 4,679 nt, fetched on 2026-11-23 (FASTA sha256 00f77efe5ce8…). It is a reference genome, not a plasmid. GC 53.8%.

A terminal inverted repeat: the first 43 nt and the last 43 nt are reverse complements, with 0 mismatches (exact run from the ends: 43 nt). Where the ends are not perfect reverse complements the tool reports the exact run and the mismatches, and uses the name only when the pair matches.

The chance baseline

A located feature reads as a finding until it is set beside what chance gives. The table shows, for each class, the count and the fraction of the sequence it covers, next to the mean and the 5th to 95th percentile of 200 dinucleotide-preserving shuffles of this sequence (which keep the exact base and neighbour-pair counts; seed 1), and the fraction of those shuffles with at least the observed count. That last column is a fraction of the shuffles, not a significance level. The folding-energy row used 121 shuffles, fewer than requested, because folding every window of every shuffle is what limits the time.

ClassObservedCoversShuffles: mean (5th to 95th)Shuffles coverFraction of shuffles with at least the observed count
G-quadruplex motif (both strands)00.0%0.27 (0 to 2)0.1%1.000 of 200
self-complementary duplex55.0%0.61 (0 to 2)0.3%0.000 of 200
tandem repeat253.9%11.96 (7 to 17.05)1.6%0.000 of 200
homopolymer run20.3%5.14 (2 to 9)0.7%0.965 of 200
folding-energy discontinuity22.6%0.03 (0 to 0)0.0%0.000 of 121
GC/AT transition50.4%2.42 (0 to 7)0.2%0.140 of 200

No shuffle reached the observed count for: self-complementary duplex; tandem repeat; folding-energy discontinuity. At least half of the shuffles reached the observed count for: G-quadruplex motif (both strands); homopolymer run. Covered fractions are the denominator: the located features together cover 11.8% of the sequence at most (the sum of the five classes, so overlaps are counted more than once), which is the share of randomly placed breakpoints that would land in one of them by chance.

Where feature classes overlap

The question behind this section is whether features sit together or apart. A window of 100 nt slides along the sequence one nucleotide at a time; it counts when features of at least 2 different classes share a nucleotide with it, and a run of counting windows is one region. The window size and the number of classes are settings of this tool's own, not of the pre-registration, and the regions change with them. The sequence is analysed as linear. As with every class, the count on shuffled sequences comes first. The shuffles are the ones already drawn for the table above that were also folded, so the folding-energy class is in every draw (dinucleotide 121, mononucleotide 53.).

Classes overlapping (at least)ShuffleRegions observedShuffles: mean (5th to 95th)Fraction of shuffles with at least the observed countCovers: observed, shufflesAway from both ends: observed, shuffles
2dinucleotide (121)53.29 (0 to 7)0.24817.2%, 10.7%3, 2.93
3dinucleotide (121)20.28 (0 to 1)0.0259.1%, 0.8%0, 0.26
4dinucleotide (121)10 (0 to 0)0.0003.6%, 0.0%0, 0
5dinucleotide (121)00 (0 to 0)1.0000.0%, 0.0%0, 0
6dinucleotide (121)00 (0 to 0)1.0000.0%, 0.0%0, 0
2mononucleotide (53)53.57 (1 to 7)0.24517.2%, 11.8%3, 3.25
3mononucleotide (53)20.25 (0 to 1)0.0199.1%, 0.7%0, 0.25
4mononucleotide (53)10.02 (0 to 0)0.0193.6%, 0.1%0, 0.02
5mononucleotide (53)00 (0 to 0)1.0000.0%, 0.0%0, 0
6mononucleotide (53)00 (0 to 0)1.0000.0%, 0.0%0, 0

At 2 classes, the genome has 5 regions; dinucleotide shuffles give 3.29 (0 to 7), and 0.248 of them reach the observed count. At 2 classes, the genome has 5 regions; mononucleotide shuffles give 3.57 (1 to 7), and 0.245 of them reach the observed count. The fractions are of the shuffles, not significance levels. A real genome is built from parts, and the shuffles have no terminal repeat, so overlap above the shuffles is expected at the ends: 2 of the 5 regions are within 200 nt of an end and 2 overlap the terminal repeat.

regionstartendlengthclassesfeatures of eachnear an endin a terminal repeat
conv_0011219219dg_discontinuity, self_complementary, tandem_repeatdg_discontinuity 1, self_complementary 3, tandem_repeat 6yesyes
conv_00225652729165homopolymer, tandem_repeathomopolymer 1, tandem_repeat 1nono
conv_00326492771123gc_at_transition, tandem_repeatgc_at_transition 1, tandem_repeat 1nono
conv_00437003848149homopolymer, tandem_repeathomopolymer 1, tandem_repeat 1nono
conv_00544514679229dg_discontinuity, gc_at_transition, self_complementary, tandem_repeatdg_discontinuity 1, gc_at_transition 1, self_complementary 3, tandem_repeat 6yesyes

GC/AT transitions are located too: the GC fraction of the 50 nt on either side of every boundary is compared, and a difference of at least 0.3 (a threshold of this tool's own) is a transition. The genome has 5; dinucleotide shuffles give 2.42 (0 to 7). A mononucleotide shuffle keeps the overall GC fraction and removes where it is high or low; a dinucleotide shuffle also keeps neighbour pairs. Neither says that a transition matters.

Against shuffles that keep where GC is high

A whole-sequence shuffle keeps overall composition and spreads GC evenly along the sequence. A real sequence with GC-rich islands therefore shows more class overlap than its whole-sequence shuffles from local GC heterogeneity alone. The shuffles above are of that kind, so the table above cannot say whether overlap of classes is more than GC-rich stretches alone would give. The tool therefore repeats the comparison on shuffles that cut the sequence into blocks and shuffle inside each block, so each block keeps its GC. Which block size is a choice: 100, 200, 500 nt are shown, the default is 200 nt (twice the overlap window), and the tables say what each size can and cannot keep.

At 2 classes, with the folding class, the genome has 5 regions; whole-sequence dinucleotide shuffles give 3.29 (0 to 7), fraction at least the observed 0.248; shuffles keeping the GC of each 200 nt block give 3.76 (1 to 8), fraction 0.330. At 3 classes, with the folding class, the genome has 2 regions; whole-sequence dinucleotide shuffles give 0.28 (0 to 1), fraction at least the observed 0.025; shuffles keeping the GC of each 200 nt block give 0.33 (0 to 1), fraction 0.031. At 4 classes, with the folding class, the genome has 1 region; whole-sequence dinucleotide shuffles give 0 (0 to 0), fraction at least the observed 0.000; shuffles keeping the GC of each 200 nt block give 0.02 (0 to 0), fraction 0.010. The local-GC shuffles have no terminal repeat either, so regions in the ends are still expected above them. The folding class is in these shuffles for 97 draws, the others for 200.

Against shuffles that keep where GC is high

A whole-sequence shuffle keeps overall composition and spreads GC evenly along the sequence. A real sequence with GC-rich islands therefore shows more class overlap than its whole-sequence shuffles from local GC heterogeneity alone. The same comparison is repeated on shuffles that keep the GC of each block of 100, 200, 500 nt (block edges fixed, each block shuffled inside itself; 200 shuffles of each kind, seed 1).

Every table here leaves out the folding-energy class, so the observed counts differ from the main table. k runs to the number of classes in use without folding; a count of 6 needs the folding class (or a motif or annotation class) and is not in this table.

Classes overlapping (at least)ShuffleRegions observedShuffles: mean (5th to 95th)Fraction of shuffles with at least the observed countCovers: observed, shuffles
2whole sequence, dinucleotide (200)53.44 (0 to 7)0.27517.1%, 11.1%
2whole sequence, mononucleotide (200)53.5 (0.95 to 7)0.28017.1%, 11.5%
2local GC, dinucleotide, blocks of 100 nt (200)54.62 (2 to 9)0.44017.1%, 15.0%
2local GC, mononucleotide, blocks of 100 nt (200)54.49 (1 to 9)0.47517.1%, 14.4%
2local GC, dinucleotide, blocks of 200 nt (200)54.09 (2 to 7.05)0.36517.1%, 13.3%
2local GC, mononucleotide, blocks of 200 nt (200)53.73 (1 to 7.05)0.30517.1%, 12.0%
2local GC, dinucleotide, blocks of 500 nt (200)53.77 (1 to 7)0.34017.1%, 12.2%
2local GC, mononucleotide, blocks of 500 nt (200)53.78 (1 to 7)0.36517.1%, 12.5%
3whole sequence, dinucleotide (200)10.3 (0 to 1)0.2604.0%, 0.9%
3whole sequence, mononucleotide (200)10.26 (0 to 1)0.2304.0%, 0.8%
3local GC, dinucleotide, blocks of 100 nt (200)10.51 (0 to 2)0.3754.0%, 1.5%
3local GC, mononucleotide, blocks of 100 nt (200)10.48 (0 to 2)0.3804.0%, 1.4%
3local GC, dinucleotide, blocks of 200 nt (200)10.47 (0 to 2)0.3804.0%, 1.4%
3local GC, mononucleotide, blocks of 200 nt (200)10.3 (0 to 1)0.2654.0%, 0.9%
3local GC, dinucleotide, blocks of 500 nt (200)10.34 (0 to 1)0.2804.0%, 1.0%
3local GC, mononucleotide, blocks of 500 nt (200)10.38 (0 to 1.05)0.2854.0%, 1.2%
4whole sequence, dinucleotide (200)00 (0 to 0)1.0000.0%, 0.0%
4whole sequence, mononucleotide (200)00.01 (0 to 0)1.0000.0%, 0.0%
4local GC, dinucleotide, blocks of 100 nt (200)00.03 (0 to 0)1.0000.0%, 0.1%
4local GC, mononucleotide, blocks of 100 nt (200)00.03 (0 to 0)1.0000.0%, 0.1%
4local GC, dinucleotide, blocks of 200 nt (200)00.02 (0 to 0)1.0000.0%, 0.1%
4local GC, mononucleotide, blocks of 200 nt (200)00.01 (0 to 0)1.0000.0%, 0.0%
4local GC, dinucleotide, blocks of 500 nt (200)00.01 (0 to 0)1.0000.0%, 0.0%
4local GC, mononucleotide, blocks of 500 nt (200)00.01 (0 to 0)1.0000.0%, 0.0%
5whole sequence, dinucleotide (200)00 (0 to 0)1.0000.0%, 0.0%
5whole sequence, mononucleotide (200)00 (0 to 0)1.0000.0%, 0.0%
5local GC, dinucleotide, blocks of 100 nt (200)00 (0 to 0)1.0000.0%, 0.0%
5local GC, mononucleotide, blocks of 100 nt (200)00 (0 to 0)1.0000.0%, 0.0%
5local GC, dinucleotide, blocks of 200 nt (200)00 (0 to 0)1.0000.0%, 0.0%
5local GC, mononucleotide, blocks of 200 nt (200)00 (0 to 0)1.0000.0%, 0.0%
5local GC, dinucleotide, blocks of 500 nt (200)00 (0 to 0)1.0000.0%, 0.0%
5local GC, mononucleotide, blocks of 500 nt (200)00 (0 to 0)1.0000.0%, 0.0%

The same, with the folding-energy class

The main convergence table again, with the folding-energy class, against the whole-sequence shuffles that were folded and against local-GC shuffles that were folded: dinucleotide-preserving within blocks of 200 nt. The number of folded shuffles is in each row; it is smaller than the number without folding, and its 5th to 95th percentile is coarse.

Classes overlapping (at least)ShuffleRegions observedShuffles: mean (5th to 95th)Fraction of shuffles with at least the observed countCovers: observed, shuffles
2whole sequence, dinucleotide, with folding (121)53.29 (0 to 7)0.24817.2%, 10.7%
2local GC, dinucleotide, blocks of 200 nt, with folding (97)53.76 (1 to 8)0.33017.2%, 12.2%
3whole sequence, dinucleotide, with folding (121)20.28 (0 to 1)0.0259.1%, 0.8%
3local GC, dinucleotide, blocks of 200 nt, with folding (97)20.33 (0 to 1)0.0319.1%, 1.0%
4whole sequence, dinucleotide, with folding (121)10 (0 to 0)0.0003.6%, 0.0%
4local GC, dinucleotide, blocks of 200 nt, with folding (97)10.02 (0 to 0)0.0103.6%, 0.0%
5whole sequence, dinucleotide, with folding (121)00 (0 to 0)1.0000.0%, 0.0%
5local GC, dinucleotide, blocks of 200 nt, with folding (97)00 (0 to 0)1.0000.0%, 0.0%
6whole sequence, dinucleotide, with folding (121)00 (0 to 0)1.0000.0%, 0.0%
6local GC, dinucleotide, blocks of 200 nt, with folding (97)00 (0 to 0)1.0000.0%, 0.0%

Which classes overlap, and by how much more than the shuffles give

Windows where both classes are present (the diagonal: where one class is present)

G4duplexrepeathomopolymerfoldingGC/AT
G4000000
duplex5122280219102
repeat1382116213110
homopolymer21000
folding21971
GC/AT320

Observed over the mean of whole-sequence dinucleotide shuffles

G4duplexrepeathomopolymerfoldingGC/AT
G40000n/a0
duplex4.016.660n/a32.43
repeat1.261.05536.943.1
homopolymer0.4200
folding41.67n/a
GC/AT2.03

Observed over the mean of local-GC dinucleotide shuffles (blocks of 200 nt)

G4duplexrepeathomopolymerfoldingGC/AT
G40n/a00n/a0
duplex4.117.190n/a13.65
repeat1.140.8679.772.05
homopolymer0.3800
folding44.5368.19
GC/AT1.62
The same cells with the fraction of windows, each null's mean and 5th to 95th percentile
ClassesObserved windows (fraction of windows)local GC, dinucleotide, blocks of 200 nt: mean (5th to 95th), fraction of shuffles at least observedlocal GC, mononucleotide, blocks of 200 nt: mean (5th to 95th), fraction of shuffles at least observedwhole sequence, dinucleotide: mean (5th to 95th), fraction of shuffles at least observedwhole sequence, mononucleotide: mean (5th to 95th), fraction of shuffles at least observed
G4 present0 (0.0%)19.37 (0 to 125.1), 1.00024.66 (0 to 127), 1.00021.65 (0 to 127), 1.00017.52 (0 to 124), 1.000
G4 and duplex0 (0.0%)0 (0 to 0), 1.0000 (0 to 0), 1.0001.44 (0 to 0), 1.0000.17 (0 to 0), 1.000
G4 and repeat0 (0.0%)5.34 (0 to 53.55), 1.0006.03 (0 to 61.1), 1.0003.08 (0 to 12.8), 1.0003.2 (0 to 0), 1.000
G4 and homopolymer0 (0.0%)2.6 (0 to 0), 1.0004.42 (0 to 0.15), 1.0005.79 (0 to 44.9), 1.0005.08 (0 to 1.85), 1.000
G4 and folding0 (0.0%)0 (0 to 0), 1.000not computed0 (0 to 0), 1.0000 (0 to 0), 1.000
G4 and GC/AT0 (0.0%)3.06 (0 to 0), 1.0002.63 (0 to 0), 1.0001.29 (0 to 0), 1.0001.96 (0 to 0), 1.000
duplex present512 (11.2%)124.43 (0 to 444), 0.01088.44 (0 to 226), 0.000127.69 (0 to 446), 0.02592.86 (0 to 424.9), 0.000
duplex and repeat228 (5.0%)31.73 (0 to 151.55), 0.01017.55 (0 to 98), 0.00034.26 (0 to 146.45), 0.02022.34 (0 to 112.15), 0.005
duplex and homopolymer0 (0.0%)15.64 (0 to 98), 1.0005.71 (0 to 68.1), 1.00011.01 (0 to 89.1), 1.0008.12 (0 to 79.25), 1.000
duplex and folding219 (4.8%)0 (0 to 0), 0.000not computed0 (0 to 0), 0.0000 (0 to 0), 0.000
duplex and GC/AT102 (2.2%)7.47 (0 to 63.35), 0.0253.98 (0 to 22.65), 0.0053.15 (0 to 9.7), 0.0103.62 (0 to 3.2), 0.010
repeat present1382 (30.2%)1216.01 (780.95 to 1743.05), 0.2651051.75 (630.85 to 1499.5), 0.1351098.72 (730.55 to 1563.05), 0.1801024.69 (658.6 to 1457.3), 0.110
repeat and homopolymer116 (2.5%)135.54 (0 to 340.45), 0.47094.17 (0 to 258.1), 0.355110.85 (0 to 267.3), 0.40577.23 (0 to 223.05), 0.260
repeat and folding213 (4.7%)2.67 (0 to 0), 0.000not computed0.4 (0 to 0), 0.0000 (0 to 0), 0.000
repeat and GC/AT110 (2.4%)53.6 (0 to 162.45), 0.14072.66 (0 to 196.35), 0.26035.45 (0 to 136.3), 0.07575.4 (0 to 226.15), 0.255
homopolymer present210 (4.6%)552.82 (211 to 921.75), 0.980407.99 (139.3 to 738), 0.935499.61 (209.25 to 846.1), 0.950382.6 (106.95 to 735.05), 0.920
homopolymer and folding0 (0.0%)1.08 (0 to 0), 1.000not computed0.17 (0 to 0), 1.0000 (0 to 0), 1.000
homopolymer and GC/AT0 (0.0%)46.41 (0 to 170.7), 1.00044.97 (0 to 188.05), 1.00033.56 (0 to 144.5), 1.00046 (0 to 186.2), 1.000
folding present219 (4.8%)4.92 (0 to 0), 0.000not computed5.26 (0 to 0), 0.0000 (0 to 0), 0.000
folding and GC/AT71 (1.6%)1.04 (0 to 0), 0.010not computed0 (0 to 0), 0.0000 (0 to 0), 0.000
GC/AT present320 (7.0%)197.62 (0 to 430.05), 0.175319.35 (102 to 597.25), 0.440157.47 (0 to 330.05), 0.065306.31 (0 to 596.5), 0.470

fixed class order; the rows are not ranked. observed over the null mean; empty when the null mean is 0, where a ratio says nothing. A ratio is a description of this sequence against a shuffle, not a significance level. The folding-energy class is in a null only for the shuffles that were also folded: fewer than the others, and for the local-GC null only the dinucleotide version at the block size used. A cell without folding says it was not computed.

Each class against the GC of the window around it

ClassCorrelation (Pearson r)local GC, dinucleotide, blocks of 200 nt: mean rlocal GC, mononucleotide, blocks of 200 nt: mean rwhole sequence, dinucleotide: mean rwhole sequence, mononucleotide: mean r
G4none (the class does not vary)0.0620.0670.0360.077
duplex0.3920.0060.0040.010.001
repeat0.19800.00700.005
homopolymer0.010.0130.0090.0010.006
folding0.4230.051not computed0.086not computed
GC/AT-0.0080.003-0.011-0.005-0.008

Pearson r between a class's per-nucleotide indicator and the GC fraction of the window around each nucleotide. Descriptive only: neighbouring positions are not independent and this is one sequence, so no p-value is given. A class that is absent or covers everything has no r.

Do the overlap regions just recover the highest-GC windows?

Highest-GC windows, cut atWindowsNucleotidesOverlap with the regions (nt)JaccardRegions touching oneRandom windows: overlap nt mean (5th to 95th)Random windows: Jaccard mean (5th to 95th)Fraction of random draws with at least the observed Jaccard
same number of windows as converged regions5160160 of 8040.1992 of 541.2 (0 to 100)0.0424 (0 to 0.1049)0.002
same number of nucleotides as the converged regions cover39810381 of 8040.3094 of 5272.9 (139.9 to 409)0.1263 (0.061 to 0.1986)0.000

The windows of the highest-GC windows arm of the breakpoint check (50 nt, step 10), highest GC first and ties by start, cut at the number of converged regions; and, in a second row, cut at the number of nucleotides the converged regions cover. Descriptive: a small overlap says the regions are not simply the highest-GC windows; a large one says they are largely where GC is highest. It does not say either is meaningful.

What the local-GC shuffle controls for

  • Local GC: each block keeps its exact base counts, so where GC is high or low along the sequence is kept at the scale of the block. Overlap that exists only because GC-rich stretches hold quadruplex motifs, duplex arms and GC/AT boundaries together is expected in these shuffles too.
  • Composition and, for the dinucleotide version, neighbour-pair counts inside each block.

What it does not

  • GC variation narrower than a block: it is smeared across the block, so a GC island much narrower than the block is only partly kept.
  • A motif that spans a block edge is scrambled, and a feature near an edge is scrambled on one side: the null can under-produce those features.
  • A block too short to hold a feature can never produce it; the block size must be long enough for the null to represent every class it is compared on.
  • It keeps what the sequence has at the scale of the block, including a real GC-rich element that is itself the cause of overlap: it asks whether GC heterogeneity alone is enough, not whether the arrangement of parts is meaningful.
  • The folding-energy discontinuity class is not in this null (folding every shuffle is the cost of the run); the whole-sequence shuffles are summarised again without it so the two compare.

The sequence is cut into blocks of the stated size, block edges fixed, and each block is shuffled inside itself: by mononucleotide shuffle (each block's base counts exact) or by the dinucleotide-preserving walk (each block's neighbour-pair counts exact too). A last block shorter than half a block joins the one before it.

Folding-energy changes

Folding free energy is computed for each 50 nt window, stepping 10, with DNA parameters (the RNA defaults would change the numbers by roughly a factor of two). The tool ranks the largest changes between adjacent windows, and compares the largest change with the same statistic on the shuffles.

Statistic (kcal/mol)ShuffleObservedShuffles: mean (5th to 95th)Fraction of shuffles at least as large
largest |change| between adjacent windowsdinucleotide (121)11.87.31 (5.9 to 9.5)0.008
mean of the 5 largest |changes|dinucleotide (121)10.066.22 (5.4 to 7.3)0.000
largest |change| between adjacent windowsmononucleotide (53)11.87.4 (6.1 to 9.1)0.000
mean of the 5 largest |changes|mononucleotide (53)10.066.37 (5.59 to 7.15)0.000

Along the sequence

conv_001 1-219: dg_discontinuity, self_complementary, tandem_repeatconv_002 2565-2729: homopolymer, tandem_repeatconv_003 2649-2771: gc_at_transition, tandem_repeatconv_004 3700-3848: homopolymer, tandem_repeatconv_005 4451-4679: dg_discontinuity, gc_at_transition, self_complementary, tandem_repeatGC fraction0.80.3Folding energykcal/mol0-25.6Self-complementarydensity10Repeatsdensity0.40G4DuplexDuplex 1-4679: 43 bp, arms 1-43 and 4637-4679, 4593 nt apartDuplex 1-125: 43 bp, arms 1-43 and 83-125, 39 nt apartDuplex 83-4597: 63 bp, arms 83-145 and 4535-4597, 4389 nt apartDuplex 889-3413: 12 bp, arms 889-900 and 3402-3413, 2501 nt apartDuplex 4555-4679: 43 bp, arms 4555-4597 and 4637-4679, 39 nt apartTandemTandem 12-17: CT x3Tandem 18-23: GC x3Tandem 21-32: CGCT x3Tandem 93-104: GAGC x3Tandem 103-108: GC x3Tandem 109-114: AG x3Tandem 574-579: GA x3Tandem 1971-1976: GA x3Tandem 2243-2250: CT x4Tandem 2287-2298: CCA x4Tandem 2664-2672: CTC x3Tandem 3102-3110: CAA x3Tandem 3187-3195: ACG x3Tandem 3685-3693: AAC x3Tandem 3744-3749: CT x3Tandem 3953-3958: AG x3Tandem 3989-3994: AC x3Tandem 4067-4072: CA x3Tandem 4212-4217: CA x3Tandem 4566-4571: CT x3Tandem 4572-4577: GC x3Tandem 4575-4586: CGCT x3Tandem 4647-4658: GAGC x3Tandem 4657-4662: GC x3Tandem 4663-4668: AG x3HomopolymerHomopolymer 2625-2630: A x6Homopolymer 3799-3804: T x6GC/ATGC/AT 1190-1192: GC falls by 32 points across the boundary at 1192 (50 nt either side)GC/AT 1193-1197: GC falls by 34 points across the boundary at 1195 (50 nt either side)GC/AT 1202-1207: GC falls by 34 points across the boundary at 1206 (50 nt either side)GC/AT 2748-2749: GC rises by 30 points across the boundary at 2749 (50 nt either side)GC/AT 4550-4552: GC rises by 30 points across the boundary at 4551 (50 nt either side)Top energy changesTop energy changes 71-71: largest changes, rank 4: +9.30 kcal/mol between windows starting 41 and 51Top energy changes 91-91: largest changes, rank 2: +10.40 kcal/mol between windows starting 61 and 71Top energy changes 4591-4591: largest changes, rank 5: -9.30 kcal/mol between windows starting 4561 and 4571Top energy changes 4611-4611: largest changes, rank 1: -11.80 kcal/mol between windows starting 4581 and 4591Top energy changes 4621-4621: largest changes, rank 3: +9.50 kcal/mol between windows starting 4591 and 4601OverlapOverlap 1-219: 3 classes at window 100: dg_discontinuity x1, self_complementary x3, tandem_repeat x6Overlap 2565-2729: 2 classes at window 100: homopolymer x1, tandem_repeat x1Overlap 2649-2771: 2 classes at window 100: gc_at_transition x1, tandem_repeat x1Overlap 3700-3848: 2 classes at window 100: homopolymer x1, tandem_repeat x1Overlap 4451-4679: 4 classes at window 100: dg_discontinuity x1, gc_at_transition x1, self_complementary x3, tandem_repeat x6050010001500200025003000350040004500

Each panel is a track along the sequence; the shaded band is the 5th to 95th percentile of the shuffles at that window; below are the located features and the ranked folding-energy changes. The figure is drawn by one function from the stored result.

Checking your own flags against breakpoints

This part is a synthetic example. SYNTHETIC: a seeded random sequence with features planted at known positions and breakpoints chosen by hand. Not a measurement of any construct. Its breakpoints are 420, 650, 1410, 1830, 1100, 2300; the planted features are: a cluster of three classes within 100 nt: G-quadruplex motif at 601-621, homopolymer (T x14) at 640-653, tandem repeat (CAGT x6) at 665-688; G-quadruplex motif at 401-421; self-complementary arms at 801-822 and 1401-1422; tandem repeat (CAGT x8) at 1801-1832; homopolymer (T x14) at 2101-2114. No breakpoint data were used for AAV2.

For each method, a budget of 5 positions is flagged, and the table gives the median distance from each flagged position to the nearest breakpoint against 1000 random draws of the same number of positions (the first and last 200 nt excluded from the draws). The protocol is the one pre-registered for the analysis; the table reports numbers and the random draws and gives no verdict.

Flagged byPositionsMedian distance to nearest breakpointWithin 50 ntRandom positions: median distance, mean (5th to 95th)Fraction of random draws at least as close
largest folding-energy changes (frozen ranking)281, 1681, 501, 141, 2211490%100.952 (39 to 169)0.894 of 1000
G-quadruplex motifs, longest first410, 611, 41110100%101.849 (27 to 185)0.006 of 1000
highest-GC windows1426, 1436, 886, 1446, 1363660%100.386 (36 to 164)0.066 of 1000
windows densest in self-complementary arms806, 816, 826, 1406, 141615640%100.034 (36 to 164)0.936 of 1000

docs/measurements/aav_breakpoints/PREREGISTRATION.md: budget of k positions per arm; primary statistic is the median distance from each predicted position to the nearest breakpoint (`flag_to_break`); null is 1000 random draws of the same number of positions, excluding the first and last 200 nt. `break_to_flag` (from each breakpoint to the nearest flagged position) is given as well.

  • One construct: the pre-registered cross-construct comparison (arm B minus arm A, paired) needs several constructs and is not computed here.
  • The null draws positions uniformly; it does not model that breakpoints may cluster near the ends for reasons unrelated to any sequence feature.
  • Flagged positions in the frozen ranking are not edge-excluded; the null is, as the pre-registration specifies.

GenBank records, your own motifs and files to download

This part is the same synthetic example. A GenBank record can be given instead of bare sequence. Its features (9 here, from the synthetic record tests/fixtures/synthetic_vector_labelled.gb) are shown as known annotations and label the regions they overlap; an overlap with an annotation is an overlap and nothing more, and annotations are not counted as a class unless you ask. The reader accepts positions, complement, join and order of plain ranges, and refuses anything else with the reason. Native files of plasmid editors are not read.

regionstartendlengthclassesfeatures of eachnear an endin a terminal repeatknown annotations overlapping
conv_001291520230g4, homopolymer, tandem_repeat, user_motifg4 2, homopolymer 1, tandem_repeat 2, user_motif 3nonosynthetic G4 site (misc_feature); synthetic_joined (CDS)
conv_002502752251g4, homopolymer, tandem_repeat, user_motifg4 1, homopolymer 1, tandem_repeat 2, user_motif 3nonosynthetic cluster (misc_feature)
conv_00313001406107self_complementary, tandem_repeatself_complementary 1, tandem_repeat 1nonosynthetic arm B (misc_feature)
conv_00413431521179homopolymer, self_complementaryhomopolymer 1, self_complementary 1nonosynthetic arm B (misc_feature)

Motifs are your own: the tool ships no motif database, so paste a consensus (IUPAC letters) or a position-weight matrix block. The made-up pattern below was built into the synthetic sequence. Both strands are scanned, and the same scan on shuffles shows how often a pattern of that length matches by chance.

MotifLengthHits (both strands)Dinucleotide shuffles: mean (5th to 95th)Mononucleotide shuffles: mean (5th to 95th)Fraction of shuffles with at least the observed hits
synthetic_site960.04 (0 to 0)0 (0 to 0)0.000, 0.000

Both strands are scanned: a minus-strand hit is where the reverse complement of the motif matches the sequence as given. A start that matches on both strands is reported once, with strand '.'. Overlapping hits are all kept. A hit is a pattern match, not a binding site.

  • No motif database ships with this tool. The motifs are the ones you gave.
  • A short motif matches by chance often: the shuffle columns give how often, and a hit count near the shuffle mean says the motif is no more frequent than composition gives.
  • A hit is a pattern match. It is not a binding site, and a match says nothing about occupancy.

With breakpoints supplied, the tool also counts how many fall inside the overlap regions and compares the count with the same number of positions placed at random.

3 of 6 breakpoints fall inside a converged region. The regions cover 28.5% of the sequence, so 1.71 would be expected if the breakpoints were spread evenly. Placing the same number at random 1000 times (seed 1) gives 1.66 inside (5th to 95th: 0 to 3); the fraction of draws with at least the observed number is 0.208.

This counts supplied breakpoints inside converged regions and compares the count with the same number of positions placed at random. It tests association in the data you supplied; it says nothing about what causes a truncation.

Files for this example: annotations.bed (9 lines), convergence.bed (4 lines), convergence.fasta (18 lines), features.bed (23 lines), features.csv (42 lines), features.fasta (56 lines). BED is 0-based half-open with a constant score that measures nothing, FASTA headers carry 1-based inclusive coordinates, and the CSV is the feature table with the overlap regions as rows. They are available as buttons on the result page and through the connected assistant.

What this example does not show

  • A shuffle is one null among several. It keeps composition and removes arrangement; a real vector is assembled from parts, so more structure than a shuffle gives is expected of almost any construct and is not by itself a finding.
  • Located features are questions, not defects. No published model links these features to a specific failure in a process, and none is claimed here.
  • No breakpoints data were used for AAV2, so the breakpoint check is shown on a synthetic planted example only. It says nothing about where any real genome breaks.
  • The reference genome is not a plasmid, and the sequence is treated as linear: a duplex across a circular junction is not found.
  • Overlap of feature classes is an association of positions. It is not a cause, and counting breakpoints inside overlap regions tests association in the data you supply, nothing more.
  • Shuffles that keep the GC of each block control for local GC at the scale of the block and not below it, scramble motifs across block edges, and cannot tell a real GC-rich element that causes overlap from GC-richness that merely accompanies it. They are one more null, not a test of whether the arrangement means anything.
  • The overlap regions depend on the window and on the number of classes, and the null is the shuffle, not a model of how a real vector is assembled. Annotations and motifs only label or add a class; a motif match is a pattern match, not a binding site.
  • GenBank files exported from a plasmid editor were not available when this was built; the reader was checked on a synthetic record and against an independent reader.
  • Folding every window of every shuffle is what takes the time, so on a long sequence the folding-energy comparison uses fewer shuffles than the other classes, and the result states how many.

Run it on your own sequence

Sequences you give are processed on our server in the EU. Signing up is needed to run; reading results is not.

The method, its limits and the tools it uses are listed on the vector genome page.