| Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
| WebCvs |
# documentation needed
| new | Description | Code |
| start | No description | Code |
| length | No description | Code |
| valid | No description | Code |
| new | code | next | Top |
Title : new |
| new | description | prev | next | Top |
my ($thing, %args) = @_; my $class = ref($thing) || $thing; my (%empty,$obj); if ($args{-seq}) { $obj = $thing->string2chain($args{-seq},$args{-offset}); # inherited from ChainI}
$obj = bless $obj, $class; } else { $obj=\%empty; $obj = bless $obj, $class; $obj->throw("$class not initialized properly"); } $obj->{'alphabet'}='dna'; # set alphabet default
$obj->{'strand'}=1; # set strand default = 1
$obj->{'seq'}=$obj; # set seq field to itself
return $obj; } # START method
# it has to be redefined here because default from SeqI accesses field "start"
| start | description | prev | next | Top |
my $self = shift; return $self->{'begin'}; # the chain's start is called begin}
} # it is overridden to provide faster output
| length | description | prev | next | Top |
my $self=shift; return $self->chain_length(); } # it is overridden to provide MUCH faster output}
| valid | description | prev | next | Top |
my $self=shift(@_); return $self->label_exists(@_); } 1;}
| AUTHOR - Joseph A.L. Insana | Top |
| APPENDIX | Top |