iPE::SequenceReader::NoLoad::FASTA(3)

NAME
iPE::SequenceReader::NoLoad::FASTA - NoLoad version of the SequenceReader format.

DESCRIPTION
This SequenceReader expects a file formatted with a fasta header. It should also have equal line length for each line, and only a single sequence in the file.

FUNCTIONS

new (memberHash)
    Constructs a new FASTA sequence reader. This doesn't read in the sequences, it simply make calculations which will enable it to later read portions of the sequence in from the file.

length ()
    Returns length of the sequence.

seqName ()
    seqName is the name of the sequence as given in in the fasta header.

getSeq (start, length), getRevSeq (start, length)
    This gets sequence directly from the file. This works similarly to substr in that it takes in a start and 'offset' or length of the substring to retrieve. Note that getRevSeq also reverse-complements the sequence.

SEE ALSO
iPE::SequenceReader::NoLoad

AUTHOR
Bob Zimmermann (rpz@cse.wustl.edu). (With much acknowledgement to Sam Gross's code).