Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: How to get the correct count

by eyepopslikeamosquito (Chancellor)
on Apr 19, 2012 at 11:48 UTC ( #965928=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $seq =~ s/\s//g;
  2. or download this
    $seq =~ s/\s+//g;
  3. or download this
    my $A = () = $seq =~ /A/ig;
  4. or download this
    my $A = $seq =~ tr/aA//;
  5. or download this
    my @matches = $seq =~ /[AG]TG.*?T[AG][AG]/ig;
    print "Here are the matched parts of the string:\n";
    print "  '$_'\n" for @matches;
    my $GENE = @matches;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://965928]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2016-10-21 17:30 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.