src/hg/hgc/hgc.c 1.1552
1.1552 2009/06/09 15:55:39 fanhsu
Added the hook for Mark to add protein structure display stuff for H1N1.
Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1551
retrieving revision 1.1552
diff -b -B -U 4 -r1.1551 -r1.1552
--- src/hg/hgc/hgc.c 8 Jun 2009 23:07:27 -0000 1.1551
+++ src/hg/hgc/hgc.c 9 Jun 2009 15:55:39 -0000 1.1552
@@ -9598,8 +9598,11 @@
struct sqlResult *sr2;
char **row2;
struct sqlConnection *conn2 = hAllocConn(database);
+char *gisaidAaSeqSelectFileName;
+//= cartOptionalString(cart, gisaidAaSeqList);
+
char *subjId, *dnaSeqId;
char *aaSeqId= NULL;
char *gene=NULL;
@@ -9648,8 +9651,17 @@
printf("<BR><B>3D Structure Prediction (PDB file):</B> ");
char pdbUrl[PATH_LEN];
safef(pdbUrl, sizeof(pdbUrl), "%s/%s/decoys/%s.try1-opt3.pdb.gz", extUrl, item, item);
+// Mark: please use cartOptionalString(cart, gisaidAaSeqList)
+// to get the actual file name of aa Seqs selected
+
+gisaidAaSeqSelectFileName = cartOptionalString(cart, gisaidAaSeqList);
+if (gisaidAaSeqSelectFileName != NULL)
+{
+printf("<br>gisaidAaSeqSelectionFile is at: %s<br>\n", gisaidAaSeqSelectFileName);fflush(stdout);
+}
+
// resurect after Keven is done with new Modeller stuff
printf(" To be done.");
//struct tempName chimerax;