Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 chilling in the Monastery: (10)
As of 2014-12-19 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (83 votes), past polls