Help for this page

Select Code to Download


  1. or download this
                WEEDLOW: for my $low ( @{ $matchesfasta_id{ $site } } ) {
    
  2. or download this
         last unless @{$matches{$fasta_id}{$site}};
    
  3. or download this
                WEEDLOW: for my $low (  @{ $matches{ $fasta_id }{ $site } 
    +}) {
    
  4. or download this
    for my $site ( sort { $a <=> $b } keys %{ $matches{ $fasta_id } } ) { 
    + ## A
        last unless @{ $matches{ $fasta_id }{ $site } };
    ...
            my $upperlimit = $span + $lowerlimit;
    
            for my $sitekey ( sort { $a <=> $b } keys %{ $matches{ $fasta_
    +id } } ) { ## B
    
  5. or download this
            my @sortedKeys = sort { $a <=> $b } keys %{ $matches{ $fasta_i
    +d } };
    
    ...
                    my $upperlimit = $span + $lowerlimit;
    
                    for my $sitekey (  @sortedKeys ) {
    
  6. or download this
    for my $hit ( @{ $matches{ $fasta_id }{ $sitekey } } ) {
         next unless $hit >= $lowerlimit;
    ...
    else {
        %{ $sets{ $fasta_id }[ $setscounter ] } = ();
    }
    
  7. or download this
    @{ $sets{ $fasta_id }[ $setscounter ]{ $sitekey } } = grep {
        $_ >= $lowerlimit and $_ <= $upperlimit
    ...
        undef $sets{ $fasta_id }[ $setscounter ] };
        next WEEDLOW;
    }
    
  8. or download this
    %{ $sets{ $fasta_id }[ $setscounter ] } = ();
    
  9. or download this
     undef $sets{ $fasta_id }[ $setscounter ] };
    
  10. or download this
    #   @fastarray = ();
    @fastarray = @newfast;
    
  11. or download this
    push @newfast, $h;
    
  12. or download this
    if( scalar keys %{ $sets{ $fasta_id }[ $setscounter ] } < $num ) {
    
  13. or download this
            for my $checkhash ( keys %{ $sets{ $fasta_id }[ $setscounter ]
    + } ) {
                unless( defined $sets{ $fasta_id }[ $setscounter ]{ $check
    +hash }[ 0 ] ) {
    ...
    if( @{ $sets{ $fasta_id } } ) {
        pop @{ $sets{ $fasta_id } } unless scalar %{ $sets{ $fasta_id }[ $
    +#{ $sets{ $fasta_id } } ] };
    }
    
  14. or download this
    sub WEED {
        my( $span, %matches) = @_;
    ...
        @fastarray = @newfast;
        return %sets;
    }
    
  15. or download this
    sub WEED {
        my( $span, %matches) = @_;
    ...
        @fastarray = @newfast;
        return %sets;
    }