The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bio::Gonzales::Util::Text - text and string functions

SYNOPSIS

use Bio::Gonzales::Util::Text qw(ccount);

DESCRIPTION

Text and string functions that can be useful in a bioinformaticians daily life.

SUBROUTINES

$counts = ccount($string)

counts the character occurrences in $string and returns a hash with characters as keys and their corresponding counts as values.

$counts = {
    'A' => 34,
    'G' => 234234,
    'a' => 12,
    'C' => 234234,
    'T' => 46
};

SEE ALSO

AUTHOR

jw bargsten, <joachim.bargsten at wur.nl>