| InSilicoSpectro::InSilico::Sequence - Elementary sequence object |
new([%h|$bpSeq|$Sequence])AC([$val])ID([$val])description([$val])sequence([$val])
InSilicoSpectro::InSilico::Sequence - Elementary sequence object
use InSilicoSpectro::InSilico::Sequence;
Elementary biological sequence object with AC, ID, description, sequence etc. Aimed to be derived into AASequence or DNASequence, and not used as-is
new([%h|$bpSeq|$Sequence])Constructor. %h is a hash of attribute=>value pairs, $bpSeq is a BioPerl Bio::seq object, from which the attributes are copied, and $Sequence is InSilicoSpectro::InSilico::Sequence object.
AC([$val])AC accessor/modifier: sets AC attribute if $val is given, returns the AC attribute.
ID([$val])ID accessor/modifier: sets ID attribute if $val is given, returns the ID attribute.
description([$val])description accessor/modifier: sets description attribute if $val is given, returns the description attribute.
sequence([$val])sequence accessor/modifier: sets sequence attribute if $val is given, returns the sequence attribute.
Returns the sequence length.
Returns a string of the protein sequence in fasta format.
Prints the sequence in fasta format.
Overloded by calling printFasta to make the object printable.
See t/InSilico/testSequence.pl.
Alexandre Masselot, www.genebio.com
Jacques Colinge, Upper Austria University of Applied Science at Hagenberg
| InSilicoSpectro::InSilico::Sequence - Elementary sequence object |