Help for this page

Select Code to Download


  1. or download this
    $sequence = $seqIO->next_seq()
    
    Fetch the next sequence from the stream.
    $seqIO->write_seq($sequence [,$another_sequence,...])
    
  2. or download this
     # The SeqIO system does have a filehandle binding. Most people find t
    +his
     # a little confusing,
    
  3. or download this
        while ( my $seq = $in->next_seq() ) {
           print "Sequence ",$seq->id, " first 10 bases ",
                 $seq->subseq(1,10), "\n";
        }
    
  4. or download this
    while( my( $id, $seq ) = <$tiedFasta> ) {
           say "Sequence $id first 10 bases ", substr( $$seq, 0, 9 );    
    ]
    
  5. or download this
    substr{ $$seq, $_, 12 ) =~ m[...] for 0 .. length( $seq ) - 12;