1c9a4cb6897ec2924b5d7f46e4c6b9162d94d6ba angie Mon Apr 22 16:43:15 2013 -0700 Converted variant and gpFx to use localmem. Also got rid of a coupleunnecessary conversions from genePred to bed and psl in annoGratorGpVar and gpFx. refs #6152 diff --git src/hg/inc/gpFx.h src/hg/inc/gpFx.h index 3b5f6d2..d7cd639 100644 --- src/hg/inc/gpFx.h +++ src/hg/inc/gpFx.h @@ -1,15 +1,17 @@ +/* gpFx --- routines to calculate the effect of variation on a genePred */ + #ifndef GPFX_H #define GPFX_H #include "variant.h" #include "soTerm.h" // a single gpFx variant effect call struct gpFx { struct gpFx *next; char *allele; // Allele sequence used to determine functional effect char *transcript; // ID of feature affected by this call uint soNumber; // Sequence Ontology Number of effect enum detailType // This tells which value to use for 'union details' below { @@ -33,22 +35,22 @@ char *codonNew; // codons, changed by variant } codingChange; struct nonCodingExon // variant in non-coding gene or UTR of coding gene { uint exonNumber; // 0-based exon number (from genePred, beware false "introns") uint cDnaPosition; // offset of variant in transcript cDNA } nonCodingExon; struct intron // intron_variant { uint intronNumber; // 0-based intron number (from genePred, beware false "introns") } intron; } details; }; struct gpFx *gpFxPredEffect(struct variant *variant, struct genePred *pred, - struct dnaSeq *transcriptSequence); + struct dnaSeq *transcriptSequence, struct lm *lm); // return the predicted effect(s) of a variation list on a genePred // number of bases up or downstream that we flag #define GPRANGE 5000 #endif /* GPFX_H */