abe6089145e9e63358904903bb7ad4a4e4303b3b cline Tue Jan 11 12:27:57 2011 -0800 Updated peptideMapping.h after revising peptideMapping.as and peptideMapping.sql. See the comments on those commits diff --git src/hg/inc/peptideMapping.h src/hg/inc/peptideMapping.h index 734d27c..7671fd5 100644 --- src/hg/inc/peptideMapping.h +++ src/hg/inc/peptideMapping.h @@ -6,31 +6,31 @@ #define PEPTIDEMAPPING_H #define PEPTIDEMAPPING_NUM_COLS 10 struct peptideMapping /* Format for genomic mappings of mass spec proteogenomic hits */ { struct peptideMapping *next; /* Next in singly linked list. */ char *chrom; /* Reference sequence chromosome or scaffold */ unsigned chromStart; /* Start position in chromosome */ unsigned chromEnd; /* End position in chromosome */ char *name; /* Peptide sequence of the hit */ unsigned score; /* Log e-value scaled to a score of 0 (worst) to 1000 (best) */ char strand[2]; /* + or - */ float rawScore; /* Raw score for this hit, as estimated through HMM analysis */ - char *precursorMz; /* Precursor Mz */ + char *spectrumId; /* Non-unique identifier for the spectrum file */ unsigned peptideRank; /* Rank of this hit, for peptides with multiple genomic hits */ unsigned peptideRepeatCount; /* Indicates how many times this same hit was observed */ }; void peptideMappingStaticLoad(char **row, struct peptideMapping *ret); /* Load a row from peptideMapping table into ret. The contents of ret will * be replaced at the next call to this function. */ struct peptideMapping *peptideMappingLoad(char **row); /* Load a peptideMapping from row fetched with select * from peptideMapping * from database. Dispose of this with peptideMappingFree(). */ struct peptideMapping *peptideMappingLoadAll(char *fileName); /* Load all peptideMapping from whitespace-separated file. * Dispose of this with peptideMappingFreeList(). */