256b87a01941403ecb6d5b6ce2ed34aa0fd77514
markd
  Fri Dec 19 21:50:42 2014 -0800
added support for transmap V3 which includes source databases in mapped alignment  idenitifier
diff --git src/hg/inc/transMapStuff.h src/hg/inc/transMapStuff.h
index 8b6b012..72abc3d 100644
--- src/hg/inc/transMapStuff.h
+++ src/hg/inc/transMapStuff.h
@@ -3,19 +3,28 @@
 
 /* Copyright (C) 2008 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 #ifndef transMapStuff_h
 #define transMapStuff_h
 struct trackDb;
 
 /* 
  * transMap table names setting names in trackDb. To get tables shared between
  * genomes, use names "hgFixed.transMapSrc"
  */
 #define transMapInfoTblSetting    "transMapInfo"
 #define transMapSrcTblSetting     "transMapSrc"
 #define transMapGeneTblSetting    "transMapGene"
 
-char *transMapIdToAcc(char *id);
+char* transMapSkipGenomeDbPrefix(char *id);
+/* Skip the source genome db prefix (e.g. hg19:) in a TransMap identifier.
+ * Return the full id if no db prefix is found for compatibility with older
+ * version of transmap. */
+
+char *transMapIdToSeqId(char *id);
 /* remove all unique suffixes (starting with last `-') from any TransMap 
- * id.  WARNING: static return */
+ * id, leaving the database prefix in place.  WARNING: static return */
+
+char *transMapIdToAcc(char *id);
+/* remove database prefix and all unique suffixes (starting with last `-')
+ * from any TransMap id.  WARNING: static return */
 #endif