src/hg/hgTables/gffOut.c 1.21
1.21 2010/04/09 18:41:17 markd
Switch GTF output to being true GTF
Index: src/hg/hgTables/gffOut.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/gffOut.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -b -B -U 4 -r1.20 -r1.21
--- src/hg/hgTables/gffOut.c 5 Feb 2010 17:41:02 -0000 1.20
+++ src/hg/hgTables/gffOut.c 9 Apr 2010 18:41:17 -0000 1.21
@@ -235,17 +235,17 @@
hashFree(&nameHash);
return(gffList);
}
-void doOutGff(char *table, struct sqlConnection *conn)
-/* Save as GFF. */
+void doOutGff(char *table, struct sqlConnection *conn, boolean outputGtf)
+/* Save as GFF/GTF. */
{
struct hTableInfo *hti = getHti(database, table, conn);
struct bed *bedList;
struct gffLine *gffList, *gffPtr;
char source[HDB_MAX_TABLE_STRING];
int itemCount;
-boolean gtf2StopCodons = FALSE;
+boolean gtf2StopCodons = TRUE;
struct region *region, *regionList = getRegions();
textOpen();