f1e8687aac05c8b770b4b4ac3184d82fece1bc6c gperez2 Tue May 14 13:19:34 2024 -0700 Updating the ExonPrimer URL for the 'Primer design for this transcript' section on hgGene, refs #33080 diff --git src/hg/hgGene/primers.c src/hg/hgGene/primers.c index 1d40f4c..9b1d8c8 100644 --- src/hg/hgGene/primers.c +++ src/hg/hgGene/primers.c @@ -1,50 +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("<p style='margin:0'>Primer3Plus can design qPCR Primers that straddle exon-exon-junctions, which amplify only cDNA, not genomic DNA.<br>"); printPrimer3Anchor(globalTdb->table, curGeneId, curGeneChrom, curGeneStart, curGeneEnd); puts("Click here to load the transcript sequence and exon structure into Primer3Plus</a></p>"); puts("<p style='margin-top:0.3em; margin-bottom:0.3em'>Exonprimer can design one pair of Sanger sequencing primers around every exon, located in non-genic sequence.<br>"); -printf("<a href='https://ihg.helmholtz-muenchen.de/cgi-bin/primer/ExonPrimerUCSC.pl?db=%s&acc=%s'>Click here to open Exonprimer with this transcript</a></p>", database, geneId); +printf("<a href='https://ihg.helmholtz-munich.de/cgi-bin/primer/ExonPrimerUCSC.pl?db=%s&acc=%s'>Click here to open Exonprimer with this transcript</a></p>", database, geneId); printf("<p style='margin-top:0.3em; margin-bottom:0.3em'>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</p>"); } 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; }