What angelo does
angelo asks, for every assay, what else its primers could amplify: a processed pseudogene, a paralogue, another gene's transcript, or a stray pairing of the primers somewhere in the genome. It searches each primer and probe against whole genomes and transcriptomes, scores every place it could bind, pairs the places where primers face each other, and reports each product, whether a probe would detect it, and a verdict per assay.
It is the third program of the suite. egeon designs the assay, luce checks the oligos in the tube against each other, and angelo checks them against the genome. It reads egeon's oligos.csv as it is.
Getting started
-
Install bowtie once, into a conda environment called angelo:
micromamba create -n angelo -c conda-forge -c bioconda bowtie(conda or mamba work the same way; on Ubuntu,sudo apt install bowtie). angelo finds it there by itself, without the environment being activated. Primer3, which egeon already uses, supplies ntthal for scoring sites. -
Install the species you need, once each. Choose one marked '(not installed)' in section 2, tick the genome, the
transcriptome or both, and press Download and build. It downloads them from Ensembl and indexes them in the
background: a mammalian genome takes about an hour and 4 GB of disk, its transcriptome about half an hour.
Section 2 shows how far it has got; it carries on if you close the app, and the app lists the references when
it finishes. The same from a terminal:
Rscript angelo/app.R --build human Rscript angelo/app.R --build mouse Rscript angelo/app.R --build cynomolgus Rscript angelo/app.R --build rhesus Rscript angelo/app.R --build rat Rscript angelo/app.R --build pig Rscript angelo/app.R --build sheep
Add--what genomeor--what transcriptomefor just one. - Read your sheet (section 1), choose the species and tick its genome, transcriptome or both (section 2), press Screen.
The sheet
Five columns, and only sequence is required: the same sheet luce reads.
- name, sequence - one row per oligo. Column names are matched loosely, as in luce.
- group - the tube, as in luce.
- role - P, probe, TaqMan, MGB or hydrolysis marks a probe. A probe is not used to make products; angelo asks instead whether it binds inside each product. Every other oligo is treated as a primer. A probe is blocked at its 3' end (a quencher, MGB or phosphate) so the polymerase cannot extend it; for the worst case, a failed block or an unblocked probe, tick 'Search probes as primers too' and each probe is searched again as a primer, named 'probe as primer'. It always makes a shorter product with the assay's other primer inside the intended product, and may make one on another transcript of the assay's gene or within the gene on a genome; these are 'on target' and are not counted. Any other product it makes is off-target.
- assay - which oligos work together. egeon writes it; without it the group is used, and without that the whole sheet is one assay. Products are paired only within an assay.
- conc - optional, nM, as in luce.
angelo needs nothing else: the species is chosen in section 2, and the gene each assay detects is worked out from where its primers match (see below). egeon's oligos.csv has more columns; they are not used, and are carried through to oligos_checked.csv unchanged.
References
A reference is a genome or transcriptome indexed once with bowtie and kept in angelo's references folder (shown on the References tab). Human, mouse, cynomolgus and rhesus macaque are offered ready to download from Ensembl: the primary assembly where Ensembl has one (each locus once, no alternative haplotypes), and cDNA plus ncRNA for the transcriptome. Rat, pig and sheep are listed too, and 'Other Ensembl species...' at the end of the list offers every vertebrate species Ensembl has, built the same way. Any other reference can be built from a FASTA on disk:
Rscript angelo/app.R --build-from genome.fa.gz --name "Rat mRatBN7.2 genome" --kind genome --species rattus_norvegicus
or uploaded under 'Add a reference from a FASTA file' in the left panel: a plasmid, a transgene, a viral genome or a whole genome from elsewhere. It is built in the background, like an Ensembl species. Gzipped and bgzipped FASTA are read as they are. A FASTA you already have (your own GRCh38 file, say) can be used instead of downloading.
In section 2, choose the species, then tick its genome, its transcriptome or both. Every assay is screened against what is ticked. The transcriptome finds the isoforms an assay detects and the gene it belongs to, and other genes' transcripts it amplifies; the genome finds pseudogenes, paralogues and products from genomic DNA. Both together is best: the transcriptome also tells angelo where the assay's own gene lies on the genome. To check a human assay against mouse (a xenograft, a humanised mouse), choose Mouse and screen again. A species not installed yet is listed with '(not installed)'; choosing it offers Download and build, which runs in the background. References built from your own FASTA without a species (a plasmid, a construct) are under 'Other references'. 'Remove a reference' in the left panel deletes one, after asking you to confirm. To move angelo to a server, point the ANGELO_REFS environment variable at a folder of references.
How a site and a product are judged
- Finding sites. Each primer is searched with its 3' end as the part that must match: its last 12 bases (the seed) may carry at most 1 mismatch, and up to 4 more are allowed towards the 5' end, where a polymerase tolerates them. A probe is searched end to end with up to 3 mismatches anywhere, since its 3' end does not prime.
- Scoring. Every site is scored with Primer3's ntthal: the melting temperature of the oligo on that exact stretch of template, mismatches and all, at the reaction's salts and the oligo's concentration (900 nM primer, 250 nM probe by default). The same thermodynamic model Primer3 uses for its own checks.
- Priming. A primer site primes when its 3' end holds (at most 1 mismatch in its last 5 bases) and it melts within 10 C of the annealing temperature. A probe site binds when it melts within 0 C of it (at or above it, by default).
- Products. Two priming sites facing each other on one sequence, at most 1,000 bp apart, make a product: forward with reverse, and also forward with forward or reverse with reverse, since one primer can amplify alone. A product is strong when both ends melt within 5 C of the annealing temperature, weak otherwise.
- Signal. For an assay with a probe, each product is checked for a probe site inside it. A product the probe misses uses up primer but gives no signal in qPCR or ddPCR, so it is a CHECK, not a FAIL. A primer pair with no probe (read with a DNA dye or on a gel) shows every product, so a strong off-target product is a FAIL. On a transcriptome, an isoform counts as seen by a probe assay only if the probe binds inside its product; one amplified without a probe site is named in the reasons.
Why a weak product still matters: once a primer has primed a poor site and been copied, the copy carries a perfect primer site at each end, and from then on it amplifies like the target.
Telling the intended product from an off-target
The sheet does not say what each assay should amplify; angelo works it out from where the primers match.
- A candidate is a product of two different oligos of the assay that both match perfectly.
- On a transcriptome, every candidate is the assay working, and the verdict lists the transcripts that give one: the isoforms the assay detects. Their genes are the assay's gene (HTT, say). Perfect products on transcripts of more than one gene are a CHECK: a readthrough transcript or a close paralogue.
- On a genome, a candidate inside the assay's gene, placed by the transcriptome's Ensembl headers, is the assay working; a candidate anywhere else (a processed pseudogene carrying the same exons, say) is off-target. For an assay across an exon-exon junction the gene's own genomic product includes the intron and is usually longer than the longest product searched, so there is often no intended product on the genome at all, which is the point of the design.
-
With a genome alone,
angelo cannot tell the gene from a pseudogene, so every candidate is taken to be
intended, and candidates in more than one place are a CHECK. Ticking the transcriptome too settles it. A
transcriptome built by angelo 1.1 or earlier has no gene places: rebuild it with
--build human --what transcriptome(about half an hour). - No intended product anywhere is a CHECK: the oligos may not match this species (a typing error, another species), or the product is longer than the longest product searched.
The words angelo uses
- PASS
- Nothing but the intended product: no off-target product in any reference screened.
- CHECK
- Worth a look before ordering: a weak off-target product; a strong one the probe does not bind (it uses up primer but gives no signal); an oligo with so many sites the search stopped early; perfect products on transcripts of more than one gene, or in more than one place on a genome with no transcriptome to tell them apart; or no intended product in any reference.
- FAIL
- A strong off-target product that gives signal: the probe binds inside it, or the assay has no probe.
- intended
- The assay working, worked out from where its primers match: a product of two of its oligos that both match perfectly. On a transcriptome, every such product (each is an isoform it detects); their genes are the assay's gene. On a genome, such a product inside that gene, placed by the transcriptome's Ensembl headers; one elsewhere (a processed pseudogene, say) is off-target. With no transcriptome of the same species, every such product on the genome is taken to be intended.
- off-target
- Any other product: a pseudogene, a paralogue, another gene's transcript, or a stray pairing of the primers.
- on target
- With probes searched as primers: a product the probe primes inside the assay's own target, within its intended product (the shorter product it always makes with the assay's other primer), on another transcript of its gene, or within its gene on a genome. It does not count against the verdict, and it is left out of the plots and the BED file.
- inside off-target
- With probes searched as primers: the same, inside an off-target product that is already counted, so it is not counted twice.
- strong
- Both ends of the product melt within the strong margin (default 5 C) of the annealing temperature.
- weak
- One end melts further below the annealing temperature (between 5 and 10 C below, by default): less likely to form, but after one copy the product carries perfect primer sites.
- primes
- A primer site whose 3' end holds (at most 1 mismatch in its last 5 bases, by default) and whose Tm is within 10 C of the annealing temperature.
- gives signal
- The product would be seen: a probe of the assay binds inside it (qPCR or ddPCR), or the assay has no probe, so a DNA dye shows every product.
- no signal
- A probe assay's product the probe does not bind inside: amplified, using up primer, but invisible in qPCR or ddPCR.
- NOT SCREENED
- No reference was chosen, or the sequence holds letters other than A, C, G and T.
Settings
- Reaction: annealing temperature (60 C), primer (900 nM) and probe (250 nM) concentration, and under Salts the Mg2+ (3 mM), Na+/K+ (50 mM) and dNTPs (0.8 mM). The same defaults as egeon and luce.
- Longest product ( 1,000 bp): products longer than this are not looked for. It is the same number as egeon's 'genomic product must be at least', for the same reason: a short extension step rarely copies several kilobases.
- Search: the seed and mismatch limits above, the 3' window, the priming, strong and probe margins, and the most sites recorded per oligo ( 5,000 ). An oligo sitting in a repeat can have more; the search then stops early, the oligo is named, and the assay is CHECK. Loosening the search finds more sites and takes longer; tightening it can miss real ones.
Files
One zip, angelo_result.zip, unpacking into angelo_result: angelo_report.xlsx (verdict, by_reference, products, sites, oligos, references, settings, column_guide, word_guide), oligos_checked.csv (your sheet with each oligo's sites and its assay's verdict), products_<genome>.bed for each genome screened (open it in IGV on the same assembly to see every product, coloured green for the target, red strong and orange weak), and a plots folder with the plots as PNG and a README.
Plots
- Verdict map (Verdict). One row per assay, one panel per reference it was screened against. Each bar counts the products the assay's primers make there: green the intended product (on a transcriptome, one per transcript of the assay's gene it amplifies), red strong and orange weak off-target products. A full colour gives signal; a pale one is a product the assay's probe does not bind inside, amplified but silent in qPCR or ddPCR (a primer pair has no probe, so all its products show). On a transcriptome the pale grey bar behind is every transcript of that gene, so the green share of it is how many isoforms the assay detects (also written as 7/24). The word at the end is the verdict, in its colour: green PASS, amber CHECK, red FAIL. The why column of the table gives the reasons.
- Product lengths (Products). Every product the primers of each assay can make, placed by its length. Colour is what the product is: green the intended product (the assay's own gene on a genome, a transcript of it on a transcriptome); red an off-target product with both ends priming strongly; orange an off-target product with one weaker end. Shape is whether it would be seen: a filled dot gives signal, the assay's probe binding inside it (or, for a primer pair, a DNA dye showing every product); a hollow dot is amplified but gives no signal, the probe missing it. Products of the same length (isoforms sharing the stretch the primers cover) are one dot, and the number in the dot is how many products it holds. The number at the right-hand end of each row is the assay's total in that reference (on a transcriptome, one product per transcript it amplifies). The axis covers the lengths found; dots too close to read are pushed a little apart sideways, so a dot's position is its length to within a few bases (the exact length is in the products table). The dashed line, when in range, is the longest product searched for. One panel per reference.
- Site melting temperatures (Binding sites). Every site where each oligo could bind, placed by the oligo's melting temperature on that stretch of template (Primer3's ntthal, mismatches included). Green are the ends of the intended product; red sites elsewhere where a primer could prime or a probe bind; grey sites too weak to count. The solid line is the annealing temperature; the dashed line the priming margin below it (a primer site must melt above it, with its 3' end intact) and the dotted line the strong margin. Primer sites whose 3' end is mismatched cannot prime and are not plotted; the count on the right gives them. One panel per reference.
- Oligo Tm (Oligos). Each dot is one oligo's melting temperature against a perfect complement, at the reaction's salts and its own concentration (the same model as luce), one row per assay. Blue circles are primers, orange triangles probes. A probe should sit clearly above its primers, and the two primers of an assay close together. The dashed line is the annealing temperature.
What it does not do
- It searches without gaps: a site with an insertion or deletion against the oligo is not found. Such sites prime poorly in any case.
- A genome holds one sequence per locus. Common variants, and other people's haplotypes, are not searched; egeon keeps oligos off common variants.
- A transcriptome holds only annotated transcripts. Unannotated isoforms and unspliced pre-mRNA are not there; the genome screen covers unspliced sequence.
- Dimers between the oligos themselves are luce's job.
- Melting temperatures are for the unlabelled oligos. A minor-groove binder raises a probe's Tm by several degrees, so an MGB probe binds more sites than reported.