Help for this page

Select Code to Download


  1. or download this
    ## your original code
    @{$sets{$fasta_id}[$setscounter]{$sitekey}} = grep {
         $_ >= $lowerlimit and $_ <= $upperlimit
    }  @{$matches{$fasta_id}{$sitekey}};
    
  2. or download this
    @{$sets{$fasta_id}[$setscounter]{$sitekey}} = ();
    foreach ( sort @{$matches{$fasta_id}{$sitekey}} ) {
    ...
        next if $_ < $lowerlimit;
        push @{$sets{$fasta_id}[$setscounter]{$sitekey}}, $_;
    }