Help for this page

Select Code to Download


  1. or download this
    while ($seq{$k} =~ /([QGYN]{3,6})/g) {
         my $seq = $1;
    ...
         print "\n$k";
         print "$seq begins at position ", (pos($seq{$k})-length($s)) , "\
    +n";
    }
    
  2. or download this
    my $length = length $s; # Pull this out of the loop for eff.
    my $sequence = $seq{$k};
    ...
         next if $seq =~ /(.)\1\1/;
         print "\n$k $seq begins at position $pos\n";
    }