Help for this page

Select Code to Download


  1. or download this
    foreach $qbase ( @qbase ) {
      if ( uc($qbase) eq 'N' ) {
    ...
        ++$ncount;
      }
    }
    
  2. or download this
      do { $ncount++ if /n/i } foreach ( @qbase, @sbase );
    
  3. or download this
    foreach my $idx ( 1..$#query_sequence ) {
      if ( $query_sequence[$idx] =~ /n/i && $subj_sequence[$idx] !~ /n/i )
    + {
    ...
        $ncount++;
      }
    }
    
  4. or download this
    $ncount = grep { ($qbase[$_] =~ /n/i && $sbase[$_] !~ /n/i) || ($qbase
    +[$_] !~ /n/i && $sbase[$_] =~ /n/i) } 1..$#qbase;