Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
        return @cons;
    }
    
  2. or download this
      my %H = ( A=>[], T=>[], C=>[], G=>[] );
      my @mi_letters = map { [split '', uc $_] } @mi;
    ...
    
      # note: to avoid warnings, change the sort further down to include t
    +his (the '||0'):
      #    ($H{$b}->[$B]||0) <=> ($H{$a}->[$B]||0)