Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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
    #!usr/bin/perl 
    use strict;
    use warnings;
    ...
    } 
    until (my $motif =~ /^\s*$/ );
    exit;
    
  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\basecount.pl 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:
    5
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2014-10-02 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (51 votes), past polls