7324e7c7192292f6b1413ece2f819cd6004cf489
braney
  Mon Oct 15 10:49:12 2012 -0700
tweak how pslToBed generates non-coding beds so the browser displays them properly, twich bedExact to compare non-coding beds just by checking if both of them have thickStart==thickEnd.  (#7045)
diff --git src/hg/pslToBed/pslToBed.c src/hg/pslToBed/pslToBed.c
index eabf22d..05a9471 100644
--- src/hg/pslToBed/pslToBed.c
+++ src/hg/pslToBed/pslToBed.c
@@ -95,31 +95,31 @@
 
 void pslToBed(char *pslFile, char *bedFile, struct hash *cdsHash)
 /* pslToBed -- tranform a psl format file to a bed format file */
 {
 struct lineFile *pslLf = pslFileOpen(pslFile);
 FILE *bedFh = mustOpen(bedFile, "w");
 struct psl *psl;
 
 while ((psl = pslNext(pslLf)) != NULL)
     {
     struct bed *bed = bedFromPsl(psl);
     if (cdsHash)
 	{
 	struct cds *cds = hashFindVal(cdsHash, psl->qName);
 	if (cds == NULL)
-	    bed->thickStart = bed->thickEnd = 0;
+	    bed->thickStart = bed->thickEnd = bed->chromStart;
 	else
 	    setThick(psl, bed, cds);
 	}
     bedTabOutN(bed, 12, bedFh);
     bedFree(&bed);
     pslFree(&psl);
     }
 carefulClose(&bedFh);
 lineFileClose(&pslLf);
 }
 
 struct hash *getCdsHash(char *cdsFile)
 /* read CDS start and end for list of id's */
 {
 struct lineFile *lf = lineFileOpen(cdsFile, TRUE);