e9c75e7382c49565a3fae9791ab5da4f631debaa angie Mon Feb 12 11:02:58 2018 -0800 In ad3a17645 I removed isAllDna from dnautil.c but not from dnautil.h - cleaned up now. diff --git src/inc/dnautil.h src/inc/dnautil.h index 5f249fa..882d411 100644 --- src/inc/dnautil.h +++ src/inc/dnautil.h @@ -249,33 +249,30 @@ * noise to be trimmed too, but skips last two tt for revcomp'd taa stop * codon. * It is less conservative in extending the polyA region than maskHeadPolyT. */ int maskTailPolyA(DNA *dna, int size); /* Convert PolyA at end to n. This allows a few non-A's as noise to be * trimmed too. Returns number of bases trimmed. */ int maskHeadPolyT(DNA *dna, int size); /* Convert PolyT at start. This allows a few non-T's as noise to be * trimmed too. Returns number of bases trimmed. */ boolean isDna(char *poly, int size); /* Return TRUE if letters in poly are at least 90% ACGTNU- */ -boolean isAllDna(char *poly, int size); -/* Return TRUE if size is great than 1 and all letters in poly are 100% ACGTNU- */ - boolean isAllNt(char *seq, int size); /* Return TRUE if all letters in seq are ACGTNU-. */ char aaAbbrToLetter(char *abbr); /* Convert an AA abbreviation such as "Ala", "Asp" etc., to its single letter code * such as "A", "D" etc. Return the null char '\0' if abbr is not found. */ void aaToAbbr(char aa, char *abbrBuf, size_t abbrBufSize); /* Convert an AA single letter such as "A", "D" etc. to its abbreviation such as "Ala", "Asp" etc. * abbrBufSize must be at least 4. If aa is not found, "?%c?",aa is written into abbrBuf. */ void trimRefAlt(char *ref, char *alt, uint *pStart, uint *pEnd, int *pRefLen, int *pAltLen); /* If ref and alt have identical bases at beginning and/or end, trim those & update all params. */ #endif /* DNAUTIL_H */