NAME

Bio::Polloc::Genome - A group of sequences from the same organism

AUTHOR - Luis M. Rodriguez-R

Email lmrodriguezr at gmail dot com

IMPLEMENTS OR EXTENDS

PUBLIC METHODS

Methods provided by the package

new

The basic initialization method

Arguments

-name str

The name of the genome (from file if not provided).

-file str

The file containing the (multi-)fasta with the genome.

file

Sets/gets the file containing the genome

get_sequences

Gets the collection of sequences.

Returns

An array of Bio::Seq objects.

search_sequence

Search a sequence by ID

Arguments

The id (str) of the sequence.

Returns

The sequence (Bio::Seq) or undef.

name

Gets/sets the name of the genome. If no name is set, tries to use the file instead.

INTERNAL METHODS

Methods intended to be used only within the scope of Bio::Polloc::*

_initialize