Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-08-21 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (129 votes), past polls