ff8730bd64edde62e725738e6a695e266c8d5513 cline Wed Aug 24 22:30:59 2011 -0700 Adding a central place for #defines common to the proteome browser code diff --git src/hg/inc/pbCommon.h src/hg/inc/pbCommon.h new file mode 100644 index 0000000..2c466b2 --- /dev/null +++ src/hg/inc/pbCommon.h @@ -0,0 +1,18 @@ +/* pbCommon - contains data shared within the pb* family of programs + * (which are used in building the Proteome Browser and data */ + +#ifndef PBCOMMON_H +#define PBCOMMON_H + +/* define the expected amino acid residues */ +#define AA_ALPHABET "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + +char *txAccFromTempName(char *tempName); +/* Given name in this.that.acc.version format, return + * just acc.version. */ + +void txGeneAccFromId(int id, char acc[16]); +/* Convert ID to accession in uc123ABC format. */ + +#endif /* PBCOMMON_H */ +