88485cfa7f13affa28ec5765fe9b2db90cce42b6 markd Tue Dec 8 21:02:15 2020 -0800 hgPcr working diff --git src/inc/gfPcrLib.h src/inc/gfPcrLib.h index e35137c..efce18d 100644 --- src/inc/gfPcrLib.h +++ src/inc/gfPcrLib.h @@ -54,35 +54,35 @@ /* Free up a gfPcrOutput structure. */ void gfPcrOutputFreeList(struct gfPcrOutput **pList); /* Free up a list of gfPcrOutputs. */ void gfPcrLocal(char *pcrName, struct dnaSeq *seq, int seqOffset, char *seqName, int seqSize, int maxSize, char *fPrimer, int fPrimerSize, char *rPrimer, int rPrimerSize, int minPerfect, int minGood, char strand, struct gfPcrOutput **pOutList); /* Do detailed PCR scan on DNA already loaded into memory and put results * (in reverse order) on *pOutList. */ -struct gfRange *gfPcrGetRanges(char *host, char *port, char *fPrimer, char *rPrimer, +struct gfRange *gfPcrGetRanges(struct gfConnection *conn, char *fPrimer, char *rPrimer, int maxSize); /* Query gfServer with primers and convert response to a list of gfRanges. */ -struct gfPcrOutput *gfPcrViaNet(char *host, char *port, char *seqDir, +struct gfPcrOutput *gfPcrViaNet(struct gfConnection *conn, char *seqDir, struct gfPcrInput *inList, int maxSize, int minPerfect, int minGood); /* Do PCRs using gfServer index, returning list of results. */ void gfPcrOutputWriteOne(struct gfPcrOutput *out, char *outType, char *url, FILE *f); /* Write a single output in specified format (either "fa" or "bed") * to file. If url is non-null it should be a printf formatted * string that takes %s, %d, %d for chromosome, start, end. */ void gfPcrOutputWriteList(struct gfPcrOutput *outList, char *outType, char *url, FILE *f); /* Write list of outputs in specified format (either "fa" or "bed") * to file. If url is non-null it should be a printf formatted * string that takes %s, %d, %d for chromosome, start, end. */