4168de92d951347d6c0468a4e4f65c0a4cd953f5
max
Mon Jul 1 00:55:39 2024 -0700
adding more text to hgPcr, refs #34003
diff --git src/hg/hgPcr/hgPcr.c src/hg/hgPcr/hgPcr.c
index 90f1f7a..9d0bf7f 100644
--- src/hg/hgPcr/hgPcr.c
+++ src/hg/hgPcr/hgPcr.c
@@ -206,37 +206,38 @@
hDisconnectCentral(&conn);
hFreeConn(&conn2);
slReverse(&serverList);
return serverList;
}
void doHelp()
/* Print up help page */
{
puts(
"In-Silico PCR searches a sequence database with a pair of\n"
"PCR primers, using an indexing strategy for fast performance.\n"
"See an example\n"
"video\n"
-"on our YouTube channel.\n"
-"This tool is not guaranteed to find off-target locations for\n"
-"primers, it is optimized for 100% identical matches. For\n"
-"use in primer design consider additional validation with tools such as\n"
+"on our YouTube channel.
\n"
+"This tool is not guaranteed to find absolutely all off-target locations,\n"
+"it is optimized for targets with higher identities. For\n"
+"use in primer design, especially in repetitive regions, consider additional validation with tools such as\n"
""
-"primer blast.\n"
-"\n"
+"primer blast.
\n"
+"If you are looking for matches to RT-PCR primers, where primers often straddle intron-exon boundaries, change the Target option and select "
+"a gene transcript set.
\n"
"
"); gfPcrOutputWriteAll(gpoList, "fa", urlFormat, "stdout"); printf(""); printHelpLinks(gpoList); writePcrResultTrack(gpoList, server->db, NULL, appendToResults); } else { - printf("No matches to %s %s in %s %s", gpi->fPrimer, gpi->rPrimer, + printf("
No matches to %s %s in %s %s.
" + "To find RT-PCR primers that straddle intron splice sites, go back and change the Target option to a gene transcript set.
", + gpi->fPrimer, gpi->rPrimer, server->genome, server->description); } gfDisconnect(&conn); } void doTargetQuery(struct targetPcrServer *server, struct gfPcrInput *gpi, int maxSize, int minPerfect, int minGood, boolean appendToResults) /* Send a query to a non-genomic target PCR server and print the results. */ { struct gfConnection *conn = gfConnect(server->host, server->port, NULL, NULL); struct gfPcrOutput *gpoList; char seqDir[PATH_LEN]; splitPath(server->targetDb->seqFile, seqDir, NULL, NULL); if (endsWith("/", seqDir)) seqDir[strlen(seqDir) - 1] = '\0';