Help for this page

Select Code to Download


  1. or download this
    while (m/\+([0-9]+)[ACGTNacgtn]/g) { 
      print "diff+: $1\n";
      my $m = $1;
      s/\+[0-9]+[ACGTNacgtn]{$m}// 
    }
    
  2. or download this
    s/\G\+$1[$bases]{$1}// while /(?=\+([0-9]+))/g;
    
  3. or download this
    1 while s/(?<=\+)([0-9]+)[$bases]/$1 - 1/eg;
    
  4. or download this
    1 while s/\+([0-9]+)[aAgGcC]/$1 > 1 ? '+' . $1 - 1 : ''/eg;