4898794edd81be5285ea6e544acbedeaeb31bf78 max Tue Nov 23 08:10:57 2021 -0800 Fixing pointers to README file for license in all source code files. refs #27614 diff --git src/hg/lib/indelShift.c src/hg/lib/indelShift.c index 873b4ae..5159285 100644 --- src/hg/lib/indelShift.c +++ src/hg/lib/indelShift.c @@ -1,20 +1,20 @@ /* indelShift.c - find the leftmost or rightmost possible location of an insertion/deletion * variant with ambiguous placement, e.g. 'AAA' -> 'AAAA' -- where is the extra A inserted? */ /* Copyright (C) 2017 The Regents of the University of California - * See README in this or parent directory for licensing information. */ + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "dnaseq.h" #include "indelShift.h" boolean indelShiftIsApplicable(int refLen, int altLen) /* Return true if it makes sense to try to shift this variant, i.e. if it's pure ins or del. */ { return ((refLen == 0 && altLen > 0) || // insertion into reference (refLen > 0 && altLen == 0)); // deletion from reference } void indelShiftRangeForVariant(uint varStart, int refLen, int altLen, uint *retStart, uint *retEnd) /* Given a variant start position and the lengths of reference and alternate alleles, * set retStart and retEnd to a range around varStart suitable for shifting around.