NAME
Data::Type::Collection::Bio - types from databases
SYNOPSIS
print "found dna" if shift and is BIO::DNA;
valid 'AUGGGAAAU', BIO::RNA;
valid 'ATGCAAAT', BIO::DNA;
try
{
typ ENUM( qw(DNA RNA) ), \( my $a, my $b );
print "a is typ'ed" if istyp( $a );
$a = 'DNA'; # $alias only accepts 'DNA' or 'RNA'
$a = 'RNA';
$a = 'xNA'; # throws exception
untyp( $alias );
}
catch Data::Type::Exception with
{
printf "Expected '%s' %s at %s line %s\n",
$e->value,
$e->type->info,
$e->file,
$e->line;
};
valid 'AUGGGAAAU', BIO::RNA;
valid 'ATGCAAAT', BIO::DNA;
DESCRIPTION
Everything that is related to biochemical matters.
[Note] Also a fictive BIO::ATOM
which would count to the chemical matters would go into that collection.
TYPES
BIO::CODON
DNA/RNA triplet
- VERSION
-
0.01.03
- USAGE
-
triplet of DNA or RNA
BIO::DNA
dna fragment
- VERSION
-
0.01.03
- USAGE
-
sequence of [ATGC]
BIO::RNA
RNA fragment
- VERSION
-
0.01.03
- USAGE
-
sequence of [ATUC]
INTERFACE
CONTACT
Also http://sf.net/projects/datatype is hosting a projects dedicated to this module. And I enjoy receiving your comments/suggestion/reports also via http://rt.cpan.org or http://testers.cpan.org.
AUTHOR
Murat Uenalan, <muenalan@cpan.org>