Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: How to get the correct count

by eyepopslikeamosquito (Canon)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-11-27 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (187 votes), past polls