allow for kmer inference and fix memory leak in get_fasta_files_from_file
add the inference to quikr.c