Analysis toolkit and programming library for k-mer profiles