/[Perly]/examples/Code/07-reading-frames.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /examples/Code/07-reading-frames.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 45 - (show annotations)
Sun Jun 8 18:09:07 2008 UTC (15 years, 11 months ago) by dpavlin
File MIME type: text/plain
File size: 278 byte(s)
and examples
1 #!/usr/bin/perl -w
2 use strict;
3
4 # use module DNA2protein to implement reading frames
5
6 use DNA2protein;
7
8 while ( my $DNA = <> ) {
9 chomp($DNA);
10
11 foreach my $offset ( 0 .. 2 ) {
12 print DNA2protein( $DNA, $offset ), "\n";
13 print DNA2protein( revcom($DNA), $offset ), "\n";
14 }
15 }

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26