Open Source
sequence.txt
Associated article: A DNA Sequence Class in Perl
Tags: Open Source
Published source code accompanying the article by Lincoln Stein in which he describes some of Perl's object- oriented features in his Sequence library, which manipulates DNA sequences. This code was developed as part of the Human Genome Project, a multinational project to determine the entire human DNA sequence by the year 2003. Also see SEQUENCE.ZIP.
A DNA Sequence Class in Perl
by Lincoln Stein
Example 1:
sub length {
my $self = shift;
return length($self->seq);
}
Example 2:
sub concatenate {
my $self = shift;
my ($new_seq,$prepend) = @_;
croak "argument to concatenate must be a string or ...


