Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Seeking help from Perl Monks for counting regular expressions (motifs) and counting lengths between them in a large string

by JavaFan (Canon)
on Feb 03, 2012 at 09:44 UTC ( #951629=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $_ = "ATGCCCGATATATATCCCNNNATATATGCGCATGCTGCT";
    say length $1 while /\G(.*?)AT/g;
    ...
    0
    4
    6
    
  2. or download this
    $_ = "ATGCCCGATATATATCCCNNNATATATGCGCATGCTGCT";
    
    ...
    0
    4
    6
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (16)
As of 2015-06-03 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (141 votes), past polls