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/lib/vcfBits.c src/lib/vcfBits.c index c1dc612..ccd48e2 100644 --- src/lib/vcfBits.c +++ src/lib/vcfBits.c @@ -1,23 +1,26 @@ /* vcfBits.c/.h: Variant Call Format, analysis by bit maps. * The routines found here are dependent upon vcf.c/.h for accessing vcf records. * They allow analysis of a set of vcf records by bit maps with one bit map per variant * location and where each haplotype covered by the vcf record is represented by a single * bit (or pair of bits). Additional analysis can be performed by creating haplotype based * bit maps from variant bit maps. There is one haplotype bit map for each haplotype * (subject chromosome) with one (or two) bits for each variant location in the set of records. */ +/* Copyright (C) 2013 The Regents of the University of California + * See README in this or parent directory for licensing information. */ + #include "common.h" #include "dnautil.h" #include "errabort.h" #include <limits.h> #include "localmem.h" #include "net.h" #include "regexHelper.h" #include "vcf.h" #include "vcfBits.h" static struct variantBits *vcfOneRecordToVariantBits(struct vcfFile *vcff,struct vcfRecord *record, boolean phasedOnly, boolean homozygousOnly) // Returns bit array covering all genotypes/haplotype/alleles per record. One slot per genotype // containing 2 slots for haplotypes and 1 or 2 bits per allele. The normal (simple) case of