3ec9dec14cfbbe94f51eb94dd0cc861cad375f97 braney Tue Apr 17 18:58:18 2012 -0700 ongoing work on #6152. Now with non-synonymous changes! (well, at least with respect to the genomic DNA) diff --git src/hg/inc/variant.h src/hg/inc/variant.h index d4805be..ac1e1c0 100644 --- src/hg/inc/variant.h +++ src/hg/inc/variant.h @@ -1,29 +1,30 @@ /* variant.h -- a generic variant. Meant to be capture information that's * in VCF or pgSNP */ #ifndef VARIANT_H #define VARIANT_H #include "pgSnp.h" struct allele // a single allele in a variant. { struct allele *next; + struct variant *variant; int length; char *sequence; }; struct variant // a single variant { struct variant *next; /* Next in singly linked list. */ char *chrom; /* Chromosome */ unsigned chromStart; /* Start position in chrom */ unsigned chromEnd; /* End position in chrom */ unsigned numAlleles; /* the number of alleles */ struct allele *alleles; /* alleles */ }; struct variant *variantFromPgSnp(struct pgSnp *pgSnp); /* convert pgSnp record to variant record */ #endif /* VARIANT_H*/