e70152e44cc66cc599ff6b699eb8adc07f3e656a
kent
  Sat May 24 21:09:34 2014 -0700
Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment.
diff --git src/hg/inc/variant.h src/hg/inc/variant.h
index 6251c4e..864891f 100644
--- src/hg/inc/variant.h
+++ src/hg/inc/variant.h
@@ -1,39 +1,42 @@
 /* variant.h -- a generic variant.  Meant to capture information that's in VCF or pgSNP. */
 
+/* Copyright (C) 2013 The Regents of the University of California 
+ * See README in this or parent directory for licensing information. */
+
 #ifndef VARIANT_H
 #define VARIANT_H
 
 #include "localmem.h"
 #include "pgSnp.h"
 
 struct allele   // a single allele in a variant. 
     {
     struct allele *next;
     struct variant *variant;
     char *sequence;
     int length;
     boolean isReference;
     };
 
 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 *variantNew(char *chrom, unsigned start, unsigned end, unsigned numAlleles,
 			   char *slashSepAlleles, char *refAllele, struct lm *lm);
 /* Create a variant from basic information that is easy to extract from most other variant
  * formats: coords, allele count, string of slash-separated alleles and reference allele. */
 
 struct variant *variantFromPgSnp(struct pgSnp *pgSnp, char *refAllele, struct lm *lm);
 /* convert pgSnp record to variant record */
 
 struct allele  *alleleClip(struct allele *allele, int sx, int ex, struct lm *lm);
 /* Return new allele pointing to new variant, both clipped to region defined by sx..ex. */
 
 #endif /* VARIANT_H*/