18 #ifndef _biomcmc_nexus_common_h_ 19 #define _biomcmc_nexus_common_h_ 25 #define MAX_NAME_LENGTH 4096 Creates a histogram of a vector, ordered by frequency.
vector of strings (char vectors) of variable length
Definition: char_vector.h:27
bool nonempty_string(char *string)
returns bool::false if string is composed only of space characters (' ', ' ', '', ''...
Definition: nexus_common.c:122
bool nonempty_fasta_line(char *string)
returns bool::false if first nonspace character of string is ';' (FASTA comment) or '#' (HUPO extensi...
Definition: nexus_common.c:134
char_vector new_char_vector_from_file(char *filename)
General function that stores file content into char_vector_struct, removing shell-type comments...
Definition: nexus_common.c:22
char * lowercase_string(char *string)
Changes uppercase characters by lowercase versions.
Definition: nexus_common.c:98
char * remove_nexus_comments(char **string, size_t *stringsize, FILE *stream)
Removes (possible nested/multiline) nexus comments of the form [] (brackets).
Definition: nexus_common.c:53
char * remove_space_from_string(char *string)
Removes spaces, tabs from string.
Definition: nexus_common.c:114
list of strings (each string is a vector of chars)
char * uppercase_string(char *string)
Changes lowercase characters by uppercase versions.
Definition: nexus_common.c:106