Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    length $1 >= $threshold && (push @runs, $1) while $string =~ /(A+|C+|G
    ++|T+)/g;
    @runs = sort {length($b) <=> length($a)} @runs;
    printf "@runs\n";
    
  2. or download this
    CCCCCC GGGG AAA TTT TTT TTT