X BOL wishing you a very and Happy New year

Alternative content

Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Perl subroutine to creating kmer !

  • Public
By Rahul Nayak 1798 days ago
sub k_mers { my ($sequence, $k) = @_; my $len = length($sequence); my @result = (); for (my $i = 0; $i <= $len-$k; $i++) { push(@result, substr($sequence, $i, $k)); } return @result; }