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/lib/variant.c src/hg/lib/variant.c index 623a6f8..2055cde 100644 --- src/hg/lib/variant.c +++ src/hg/lib/variant.c @@ -1,18 +1,21 @@ /* variant.c -- routines to convert other variant formats to a generic * variant structure */ +/* Copyright (C) 2014 The Regents of the University of California + * See README in this or parent directory for licensing information. */ + #include "common.h" #include "variant.h" 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). */ { struct variant *oldVariant = allele->variant; int start = oldVariant->chromStart; int end = oldVariant->chromEnd; int delFront = 0; int delRear = 0; if (start < sx) { delFront = min(sx - start, allele->length);