src/lib/pslGenoShow.c 1.5
1.5 2009/08/01 09:13:16 galt
fixing padded display coordinate offset and negative strand issues, adjusting pslGenoShow.c to be like fixed pslShow.c
Index: src/lib/pslGenoShow.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/pslGenoShow.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 4 -r1.4 -r1.5
--- src/lib/pslGenoShow.c 17 Sep 2008 18:00:47 -0000 1.4
+++ src/lib/pslGenoShow.c 1 Aug 2009 09:13:16 -0000 1.5
@@ -30,12 +30,12 @@
char *qLetters = cloneString(qSeq->dna);
int qbafStart, qbafEnd, tbafStart, tbafEnd;
int qcfmStart, qcfmEnd, tcfmStart, tcfmEnd;
-tbafStart = psl->tStart;
-tbafEnd = psl->tEnd;
-tcfmStart = psl->tStart;
-tcfmEnd = psl->tEnd;
+tbafStart = tStart;
+tbafEnd = tEnd;
+tcfmStart = tStart;
+tcfmEnd = tEnd;
qbafStart = qStart;
qbafEnd = qEnd;
qcfmStart = qStart;
@@ -45,16 +45,17 @@
if (tIsRc)
{
int temp;
reverseComplement(tSeq->dna, tSeq->size);
+
+ tbafStart = tEnd;
+ tbafEnd = tStart;
+ tcfmStart = tEnd;
+ tcfmEnd = tStart;
+
temp = psl->tSize - tEnd;
tEnd = psl->tSize - tStart;
tStart = temp;
-
- tbafStart = psl->tEnd;
- tbafEnd = psl->tStart;
- tcfmStart = psl->tEnd;
- tcfmEnd = psl->tStart;
}
if (qIsRc)
{
int temp, j;