8478bcb501f8c278278f63466d44501f3ca3f951 markd Tue Nov 28 01:37:05 2023 -0800 make frameIncr function available to other code diff --git src/hg/genePredToMafFrames/finishMafFrames.c src/hg/genePredToMafFrames/finishMafFrames.c index 98f2e30..d47eada 100644 --- src/hg/genePredToMafFrames/finishMafFrames.c +++ src/hg/genePredToMafFrames/finishMafFrames.c @@ -1,22 +1,22 @@ /* finishMafFrames - link mafFrames objects to deal with spliced codons */ /* Copyright (C) 2008 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "finishMafFrames.h" -#include "frameIncr.h" +#include "frame.h" #include "orgGenes.h" #include "chromBins.h" #include "binRange.h" #include "localmem.h" static boolean isSplitCodon(struct exonFrames *ef0, struct exonFrames *ef1) /* Determine if the last codon of ef0 is split across maf blocks and is * continued in ef1. If codon is not split, or only partially aligned, false * is returned. ef0 preceeds ef1 in the direction of transcription */ { int tLen0 = ef0->mf.chromEnd - ef0->mf.chromStart; if (ef1->cdsStart != ef0->cdsEnd) return FALSE; /* deletion in gene between two records */ if (frameIncr(ef0->mf.frame, tLen0) == 0) return FALSE; /* codon not split */