Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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

by supriyoch_2008 (Scribe)
on Feb 03, 2012 at 02:03 UTC ( #951579=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    use warnings;
    until (my $motif =~ /^\s*$/ );
  2. or download this
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\user>cd d*
    Use of uninitialized value $motif in pattern match (m//) at C:\Documen
    +ts and Set
    tings\user\Desktop\ line 27, <STDIN> line 1.
    C:\Documents and Settings\user\Desktop>
  3. or download this
    Number of bases: 36.  Errors(N)=3.
    Motif: AT. Number of motifs: 0.
    The inter-motif nt Lengths are:

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://951579]
Approved by toolic
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: (5)
As of 2015-07-03 22:40 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (57 votes), past polls