1f113a15a2cbcbdfeb4040188432cd3d013a57be hiram Mon Jun 27 14:56:13 2016 -0700 allow chain/net coloring of contig based assemblies with WGS naming schemes refs #17580 diff --git src/inc/common.h src/inc/common.h index 6907c42..c87cdd2 100644 --- src/inc/common.h +++ src/inc/common.h @@ -973,30 +973,33 @@ /* Returns NULL or pointer to first char beyond one (or more contiguous) delimit char. If delimit is ' ' then skips beyond first patch of whitespace. */ char *skipLeadingSpaces(char *s); /* Return first white space or NULL if none.. */ char *skipToSpaces(char *s); /* Return first white space. */ void eraseTrailingSpaces(char *s); /* Replace trailing white space with zeroes. */ void eraseWhiteSpace(char *s); /* Remove white space from a string */ +void eraseNonDigits(char *s); +/* Remove any chars leaving digits only */ + void eraseNonAlphaNum(char *s); /* Remove non-alphanumeric chars from string */ char *trimSpaces(char *s); /* Remove leading and trailing white space. */ void repeatCharOut(FILE *f, char c, int count); /* Write character to file repeatedly. */ void spaceOut(FILE *f, int count); /* Put out some spaces to file. */ void starOut(FILE *f, int count); /* Put out some asterisks to file. */