Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: motif finding

by quester (Vicar)
on Jan 31, 2012 at 07:12 UTC ( #950897=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # use strict;
    # use warnings;
    
  2. or download this
    open(READ,"<dna.txt");
    @e = <READ>;
    $a = join( " ", @e );
    
  3. or download this
    open(READ,"<dna.txt");
    my @e = <READ>;
    my $a = join( " ", @e );
    
  4. or download this
    for ( $i = 0 ; $i < length($a) ; $i++ ) {
        $d = substr( $a, $i, 6 );
    ...
        }
    }
    print $a ;
    
  5. or download this
    my $printed = 0;
    
    ...
        }
    }
    print substr( $a, $printed ), "\n";
    
  6. or download this
    print "AND THE POSITION IN THE STRING IS:", print join( ',', ( @c, "\n
    +" ) ), "\n\n";
    
  7. or download this
    print "AND THE POSITIONS IN THE STRING ARE:", join( ',', @c ), "\n\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950897]
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: (8)
As of 2015-07-31 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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









    Results (274 votes), past polls