82c4da4047101ecc794214c6d630e14e52c06fa8 markd Sun Apr 16 13:40:42 2017 -0700 fixed incorrect documentation in bigTransMap; gave one field a more meaninful name diff --git src/hg/inc/bigTransMap.h src/hg/inc/bigTransMap.h index b4d0d3f..4030544 100644 --- src/hg/inc/bigTransMap.h +++ src/hg/inc/bigTransMap.h @@ -31,32 +31,32 @@ unsigned oChromSize; /* Size of other chromosome. */ int *oChromStarts; /* Start positions relative to oChromStart or from oChromStart+oChromSize depending on strand */ char *oSequence; /* Sequence on other chrom (or edit list, or empty) */ char *oCDS; /* CDS in NCBI format */ unsigned chromSize; /* Size of target chromosome */ unsigned match; /* Number of bases matched. */ unsigned misMatch; /* Number of bases that don't match */ unsigned repMatch; /* Number of bases that match but are part of repeats */ unsigned nCount; /* Number of 'N' bases */ unsigned seqType; /* 0=empty, 1=nucleotide, 2=amino_acid */ char *srcDb; /* source database */ char *srcTransId; /* source transcript id */ char *srcChrom; /* source chromosome */ unsigned srcChromStart; /* start position in source chromosome */ unsigned srcChromEnd; /* end position in source chromosome */ - unsigned srcScore; /* source source (faction identity * 1000) */ - unsigned srcAligned; /* fraction of source aligned (faction identity * 1000) */ + unsigned srcIdent; /* source score (fraction identity * 1000) */ + unsigned srcAligned; /* fraction of source transcript aligned (fraction aligned * 1000) */ char *geneName; /* gene name */ char *geneId; /* gene id */ char *geneType; /* gene type */ char *transcriptType; /* transcript type */ char *chainType; /* type of chains used for mapping */ char *commonName; /* common name */ char *scientificName; /* scientific name */ char *orgAbbrev; /* organism abbreviation */ }; struct bigTransMap *bigTransMapLoad(char **row); /* Load a bigTransMap from row fetched with select * from bigTransMap * from database. Dispose of this with bigTransMapFree(). */ struct bigTransMap *bigTransMapLoadAll(char *fileName);