96935ad6b01515061690f86a52bd4ed96f58e638 max Mon Jan 30 07:37:39 2023 -0800 addding a plug for view - in external tools to the new primer option on hgGene, refs #30545 diff --git src/hg/hgGene/primers.c src/hg/hgGene/primers.c index c46cf2c..1d40f4c 100644 --- src/hg/hgGene/primers.c +++ src/hg/hgGene/primers.c @@ -1,49 +1,50 @@ /* primers - do primers section. */ /* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "hash.h" #include "linefile.h" #include "dystring.h" #include "cheapcgi.h" #include "spDb.h" #include "hgGene.h" #include "hdb.h" #include "net.h" static boolean primersExist(struct section *section, struct sqlConnection *conn, char *geneId) /* Return TRUE */ { return(TRUE); } static void primersPrint(struct section *section, struct sqlConnection *conn, char *geneId) /* Print out primers section. */ { puts("
Primer3Plus can design qPCR Primers that straddle exon-exon-junctions, which amplify only cDNA, not genomic DNA.
");
printPrimer3Anchor(globalTdb->table, curGeneId, curGeneChrom, curGeneStart, curGeneEnd);
puts("Click here to load the transcript sequence and exon structure into Primer3Plus
Exonprimer can design one pair of Sanger sequencing primers around every exon, located in non-genic sequence.
");
printf("Click here to open Exonprimer with this transcript
To design primers for a non-coding sequence, zoom to a region of interest and select from the drop-down menu: View > In External Tools > Primer3
"); } struct section *primersSection(struct sqlConnection *conn, struct hash *sectionRa) /* Create primers section. */ { struct section *section = sectionNew(sectionRa, "primers"); if (!section) return NULL; section->exists = primersExist; section->print = primersPrint; return section; }