Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
gnBaseSpec Class Reference gnBaseSpec is the class which stores genetic information and is best accessed using gnSequence .
More...
#include <gnBaseSpec.h >
Inheritance diagram for gnBaseSpec::
List of all members.
Detailed Description
gnBaseSpec is the class which stores genetic information and is best accessed using gnSequence .
Definition at line 28 of file gnBaseSpec.h .
Constructor & Destructor Documentation
gnBaseSpec::gnBaseSpec (
) [inline]
gnBaseSpec::~gnBaseSpec (
) [inline, virtual]
Member Function Documentation
void gnBaseSpec::Clear (
) [inline, virtual]
gnBaseSpec * gnBaseSpec::Clone (
) const [pure virtual]
gnBaseSpec * gnBaseSpec::CloneRange (
const uint32 startI ,
const uint32 len ) const [pure virtual]
void gnBaseSpec::CropEnd (
gnSeqI cropLen ) [pure virtual]
Crop the last cropLen bases from the sequence.
CropEnd will delete features and headers associated with the cropped bases.
Parameters:
cropLen
The number of base pairs to delete from the end.
Reimplemented in gnContigSpec , gnFragmentSpec , and gnMultiSpec .
Referenced by gnMultiSpec::CropEnd ().
void gnBaseSpec::CropStart (
gnSeqI cropLen ) [pure virtual]
Crop the first cropLen bases from the sequence.
CropStart will delete features and headers associated with the cropped bases.
Parameters:
cropLen
The number of base pairs to delete from the beginning.
Reimplemented in gnContigSpec , gnFragmentSpec , and gnMultiSpec .
Referenced by gnMultiSpec::CropStart ().
gnSeqI gnBaseSpec::GetLength (
) const [pure virtual]
string gnBaseSpec::GetName (
) const [inline, virtual]
boolean gnBaseSpec::IsCircular (
) const [inline, virtual]
boolean gnBaseSpec::IsReverseComplement (
) const [inline, virtual]
Reads sequence data from this spec.
SeqRead will attempt to read "bufLen" base pairs starting at "start", an offset into the sequence. Reading inside a specific contig can be accomplished by supplying the "contigI" parameter with a valid contig index. SeqRead stores the sequence data in "buf" and returns the actual number of bases read in "bufLen". SeqRead will return false if a serious error occurs.
Parameters:
start
The base pair to start reading at.
buf
The character array to store base pairs into.
bufLen
The number of base pairs to read. This will be modified to reflect the actual number of bases read.
contigI
The index of the subspec to read or ALL_CONTIGS by default.
Returns:
True if the operation was successful.
Reimplemented in gnContigSpec , and gnMultiSpec .
Referenced by gnMultiSpec::SeqRead ().
void gnBaseSpec::SetCircular (
const boolean value ) [inline, virtual]
void gnBaseSpec::SetName (
const string & name ) [inline, virtual]
void gnBaseSpec::SetReverseComplement (
const boolean value ) [pure virtual]
Member Data Documentation
boolean gnBaseSpec::m_circular [protected]
string gnBaseSpec::m_name [protected]
boolean gnBaseSpec::m_reverseComplement [protected]
string gnBaseSpec::m_sourceName [protected]
The documentation for this class was generated from the following file:
Generated at Fri Nov 30 15:36:53 2001 for libGenome by
1.2.8.1 written by Dimitri van Heesch ,
© 1997-2001