Help for this page

Select Code to Download


  1. or download this
    ### Typical sequence lengths are 10-50k letters
    my $sub = "CGAGCGTTGACGCNNAGCTAGT";
    ...
        ('T') x $bases{t},
        ('N') x $bases{n},
    );
    
  2. or download this
    my $sub = "CGAGCGTTGACGCNNAGCTAGT";
    my @bases = split //, $sub;
    
  3. or download this
       my $sub = 'CGAGCGTTGACGCNNAGCTAGT';
       my @bases = split //, $sub;
    ...
             $permutations_totals += scalar($string =~ m/$regex/g);
          }
       }
    
  4. or download this
    With count == 100:
    Benchmark: running mine, yours, each for at least 10 CPU seconds...
    ...
            Rate yours  mine
    yours 7.68/s    --  -57%
    mine  17.8/s  132%    --
    
  5. or download this
    With count == 100:
    Benchmark: running mine, yours, each for at least 10 CPU seconds...
    ...
            Rate yours  mine
    yours 7.55/s    --  -57%
    mine  17.4/s  131%    --