eb9622ef972f4e2b51d355a210d61defc2f64fcc kate Tue Apr 24 20:25:04 2018 -0700 Fix table browser schema display for native track. refs #21109 diff --git src/hg/lib/interact.c src/hg/lib/interact.c index 7bd2637..78bbbcc 100644 --- src/hg/lib/interact.c +++ src/hg/lib/interact.c @@ -254,50 +254,48 @@ fprintf(f, "%s", el->targetName); if (sep == ',') fputc('"',f); fputc(sep,f); if (sep == ',') fputc('"',f); fprintf(f, "%s", el->targetStrand); if (sep == ',') fputc('"',f); fputc(lastSep,f); } /* -------------------------------- End autoSql Generated Code -------------------------------- */ static char *interactAutoSqlString = "table interact" "\"BED5+13 interaction between two regions\"" " (" -" string chrom; \"Reference sequence chromosome or scaffold\"" -" uint chromStart; \"Start position of lower region\"" -" uint chromEnd; \"End position of upper region. For interchromsomal, set to chromStart+1.\"" +" string chrom; \"Chromosome (or contig, scaffold, etc.). For interchromosomal, use 2 records\"" +" uint chromStart; \"Start position of lower region. For chromosomal, set to chromStart of this region\"" +" uint chromEnd; \"End position of upper region. For interchromsomal, set to chromEnd of this region\"" " string name; \"Name or ID of item. Usually name1/name2 or name1/name2/exp or empty\"" " uint score; \"Score from 0-1000, typically derived from value\"" " double value; \"Strength of interaction or other data value\"" -" string exp; \"Experiment name for filtering, or empty\"" +" string exp; \"Experiment name for filtering. Use . if not applicable\"" " uint color; \"Item color, as itemRgb in bed9. Typically based on value or exp\"" - -" string sourceChrom; \"Chromosome of source region (directional) or lower region\"" -" uint sourceStart; \"Start position of source/lower region\"" -" uint sourceEnd; \"End position of source/lower region\"" -" string sourceName; \"Identifier of source/lower region. Can be used as link to related table.\"" -" string sourceStrand;\"Orientation of target/upper/other region: + or -. Use . if not applicable.\"" - -" string targetChrom; \"Chromosome of target region (directional) or lower region\"" -" uint targetStart; \"Start position of target/lower region\"" -" uint targetEnd; \"End position of target/lower region\"" -" string targetName; \"Identifier of target/lower region. Can be used as link to related table.\"" -" string targetStrand;\"Orientation of target/lower/other region: + or -. Use . if not applicable.\"" +" string sourceChrom; \"Chromosome of source region (directional) or lower region. For non-directional interchromosomal, chrom of this region\"" +" uint sourceStart; \"Start position of source/lower/this region\"" +" uint sourceEnd; \"End position of source/lower/this region\"" +" string sourceName; \"Identifier of source/lower/this region. Can be used as link to related table.\"" +" string sourceStrand;\"Orientation of source/lower/this region: + or -. Use . if not applicable.\"" +" string targetChrom; \"Chromosome of target region (directional) or upper region. For non-directional interchromosomal, chrom of other region\"" +" uint targetStart; \"Start position of target/upper/this region\"" +" uint targetEnd; \"End position of target/upper/this region\"" +" string targetName; \"Identifier of target/upper/this region. Can be used as link to related table.\"" +" string targetStrand;\"Orientation of target/upper/this region: + or -. Use . if not applicable.\"" " )" ; #include "asParse.h" struct asObject *interactAsObj() /* Return asObject describing fields of interact object */ { return asParseText(interactAutoSqlString); } char *interactOtherChrom(struct interact *inter) /* Get other chromosome from an interaaction. Return NULL if same chromosome */ { if (sameString(inter->sourceChrom, inter->targetChrom))