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
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 accessor/modifier: sets AC attribute if $val is given, returns the AC attribute.
ID accessor/modifier: sets ID attribute if $val is given, returns the ID attribute.
description accessor/modifier: sets description attribute if $val is given, returns the description attribute.
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
To install InSilicoSpectro, copy and paste the appropriate command in to your terminal.
cpanm
cpanm InSilicoSpectro
CPAN shell
perl -MCPAN -e shell install InSilicoSpectro
For more information on module installation, please visit the detailed CPAN module installation guide.