387377eb3982c570bc06728b9e0380c3d1c006ec max Wed Jan 25 05:30:25 2023 -0800 adding linkout to primer3 RT-QPCR primer designer from hgGene, refs #30545 diff --git src/hg/hgGene/hgGene.h src/hg/hgGene/hgGene.h index 0549d9c..3e43e3e 100644 --- src/hg/hgGene/hgGene.h +++ src/hg/hgGene/hgGene.h @@ -116,30 +116,34 @@ struct hash *sectionRa); /* Create mrnaDescriptions section. */ struct section *microarraySection(struct sqlConnection *conn, struct hash *sectionRa); /* Create microarray section. */ struct section *altSpliceSection(struct sqlConnection *conn, struct hash *sectionRa); /* Create altSplice section. */ struct section *ctdSection(struct sqlConnection *conn, struct hash *sectionRa); /* Create CTD section. */ +struct section *primersSection(struct sqlConnection *conn, + struct hash *sectionRa); +/* Create primers section. */ + struct section *ctdRgdGene2Section(struct sqlConnection *conn, struct hash *sectionRa); /* Create CTD section. */ struct section *gadSection(struct sqlConnection *conn, struct hash *sectionRa); /* Create GAD section. */ struct section *malaCardsSection(struct sqlConnection *conn, struct hash *sectionRa); /* Create malaCards section. */ struct section *domainsSection(struct sqlConnection *conn, struct hash *sectionRa); /* Create domains section. */ @@ -214,30 +218,34 @@ boolean isFly(); /* Return true if organism is D. melanogaster. */ boolean isRgdGene(struct sqlConnection *conn); /* Return true if the gene set is RGD Genes. */ char *getRgdGeneUniProtAcc(char *genId, struct sqlConnection *conn); char *getFlyBaseId(struct sqlConnection *conn, char *geneId); /* Return flyBase ID of gene if any. */ void showSeqFromTable(struct sqlConnection *conn, char *geneId, char *geneName, char *table); /* Show some sequence from given table. */ +void printPrimer3Anchor(char *table, char *itemName, + char *chrom, int start, int end); +/* Print primer3 sequence export anchor. */ + void printGenomicSeqLink(struct sqlConnection *conn, char *geneId, char *chrom, int start, int end); /* Figure out known genes table, position of gene, link it. */ void printProteinSeqLink(struct sqlConnection *conn, char *geneId); /* Print out link to fetch protein. */ void printMrnaSeqLink(struct sqlConnection *conn, char *geneId); /* Print out link to fetch mRNA. */ char *descriptionString(char *id, struct sqlConnection *conn); /* return description as it would be printed in html, can free after use */ char *aliasString(char *id, struct sqlConnection *conn); /* return alias string as it would be printed in html, can free after use */