9320c1d871bba810017e04c6b5f86e0331e80b8e braney Fri Apr 6 16:19:28 2012 -0700 more work on annoGratorGpVar and gpFx libraries. diff --git src/hg/inc/gpFx.h src/hg/inc/gpFx.h new file mode 100644 index 0000000..9e4f3dd --- /dev/null +++ src/hg/inc/gpFx.h @@ -0,0 +1,28 @@ +#ifndef GPFX_H +#define GPFX_H + +struct gpFx +{ +struct gpFx *next; +enum gpFxType { + gpFxNone, + gpFxUtr5, + gpFxUtr3, + gpFxSynon, + gpFxNonsynon, + gpFxSplice5, + gpFxIntron + } gpFxType; ; + +int gpFxNumber; // exon or intron number +int gpFxTransOffset; //offset in transcript +char *gpFxBaseChange; //base change in transcript +int gpFxCodonChange; //codon triplet change in transcript +int gpFxProteinOffset; //offset in protein +int gpFxProteinChange; //peptide change in protein +}; + +struct gpFx *gpFxPredEffect(struct pgSnp *pgSnp, struct genePred *pred); +// return the predicted effect(s) of a variation on a genePred + +#endif /* GPFX_H */