5e77f81aadf1348265a84478d3fa4bdb43bf2c24
max
Tue Dec 6 11:56:57 2011 -0800
t2g hgc bugfix to show sequences that dont match
diff --git src/hg/hgc/t2g.c src/hg/hgc/t2g.c
index 2d7e8ed..8c7a0c5 100644
--- src/hg/hgc/t2g.c
+++ src/hg/hgc/t2g.c
@@ -122,31 +122,31 @@
char* fileDesc = row[0];
char* snippet = row[1];
char* locList = row[2];
char* artId = row[3];
char* fileId = row[4];
char* seqId = row[5];
char* seq = row[6];
// annotation (=sequence) ID is a 64 bit int with 10 digits for
// article, 3 digits for file, 5 for annotation
char annotId[100];
safef(annotId, 100, "%010d%03d%05d", atoi(artId), atoi(fileId), atoi(seqId));
// only display this sequence if we're in the right section
if (filterIdHash!=NULL && ((hashLookup(filterIdHash, annotId)==0) ^ !isClickedSection)) {
- foundSkippedRows = FALSE;
+ foundSkippedRows = TRUE;
continue;
}
if (fasta)
{
printf(">%s
%s
", annotId, seq);
}
else
{
printf("