c319f541bd3c9d4930907b1a8fc09a1b342efe95 markd Fri Dec 22 12:50:23 2023 -0800 rename poorly name function diff --git src/inc/psl.h src/inc/psl.h index 0cd5090..57af9d9 100644 --- src/inc/psl.h +++ src/inc/psl.h @@ -255,32 +255,32 @@ void pslDump(struct psl *psl, FILE *f); /* Dump most of PSL to file - for debugging. */ struct psl *pslTrimToTargetRange(struct psl *oldPsl, int tMin, int tMax); /* Return psl trimmed to fit inside tMin/tMax. Note this does not * update the match/misMatch and related fields. */ struct psl *pslTrimToQueryRange(struct psl *oldPsl, int qMin, int qMax); /* Return psl trimmed to fit inside qMin/qMax. Note this does not * update the match/misMatch and related fields. */ void pslRecalcBounds(struct psl *psl); /* Calculate qStart/qEnd tStart/tEnd at top level to be consistent * with blocks. */ -void pslRecalcBaseCounts(struct psl *psl); -/* Update match/mismatch base counts in PSL, assuming everything is a match */ +void pslRecalcMatchCounts(struct psl *psl); +/* Update the match/mismatch counts in PSL, assuming everything is a match. */ int pslCheck(char *pslDesc, FILE* out, struct psl* psl); /* Validate a PSL for consistency. pslDesc is printed the error messages * to file out (open /dev/null to discard). Return count of errors. */ int pslCheck2(unsigned opts, char *pslDesc, FILE* out, struct psl* psl); /* Validate a PSL for consistency. pslDesc is printed the error messages to * file out (open /dev/null to discard). Return count of errors. Option * PSL_CHECK_IGNORE_INSERT_CNTS doesn't validate problems insert counts fields * in each PSL. Useful because protein PSL doesn't seen to compute these in a * consistent way. */ int pslCountBlocks(struct psl *target, struct psl *query, int maxBlockGap); /* count the number of blocks in the query that overlap the target */