406740c2dc67f2bb8e217627dcbbe00a204fd594 kate Mon Dec 4 15:37:32 2017 -0800 Add support for item color, using Ensembl extension (RGB instead of value). http://www.ensembl.org/info/website/upload/pairwise.html diff --git src/lib/longTabix.c src/lib/longTabix.c index 06a9f67..43240d3 100644 --- src/lib/longTabix.c +++ src/lib/longTabix.c @@ -1,36 +1,37 @@ -/* longTabix -- long range pairwise interaction format, from Wash U +/* longTabix -- long range pairwise interaction format, from Wash U and Ensembl * Documented here: http://wiki.wubrowse.org/Long-range + * and here: http://www.ensembl.org/info/website/upload/pairwise.html */ /* Copyright (C) 2017 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "asParse.h" #include "annoStreamer.h" #include "bedTabix.h" static char *longTabixAutoSqlString = "table longTabix\n" -"\"Long Range Tabix file\"\n" +"\"Long Range Tabix file. Each interaction is represented by two items/regions in the file. \"\n" " (\n" " string chrom; \"Reference sequence chromosome or scaffold\"\n" " uint chromStart; \"Start position in chromosome\"\n" " uint chromEnd; \"End position in chromosome\"\n" -" string interactingRegion; \"(e.g. chrX:123-456,3.14, where chrX:123-456 is the coordinate of the mate, and 3.14 is the score of the interaction)\"\n" +" string interactingRegion; \"(e.g. chrX:123-456,3.14, where chrX:123-456 is the coordinate of the mate, and 3.14 is the score of the interaction or (or comma-separated RGB value)\"\n" " uint id; \"Unique Id\"\n" " char[1] strand; \"+ or -\"\n" " )\n" ; struct asObject *longTabixAsObj() // Return asObject describing fields of longTabix file { return asParseText(longTabixAutoSqlString); } struct annoStreamLongTabix { struct annoStreamer streamer; // Parent class members & methods // Private members