|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
gnGenomeSpec Class ReferenceThis class contains references to the sequence data, annotation, and other related header data for an organism's genome.
More...
#include <gnGenomeSpec.h>
Inheritance diagram for gnGenomeSpec::
List of all members.
Detailed Description
This class contains references to the sequence data, annotation, and other related header data for an organism's genome.
The genome is organized into a list of sequence fragments (specs), a list of features, and a list of headers.
Definition at line 34 of file gnGenomeSpec.h.
Constructor & Destructor Documentation
gnGenomeSpec::gnGenomeSpec (
|
)
|
|
gnGenomeSpec::gnGenomeSpec (
|
const gnGenomeSpec & s )
|
|
|
Copy constructor.
-
Parameters:
-
s
|
the gnGenomeSpec to copy. |
Definition at line 22 of file gnGenomeSpec.cpp. |
gnGenomeSpec::~gnGenomeSpec (
|
) [virtual]
|
|
Member Function Documentation
void gnGenomeSpec::AddSpec (
|
gnBaseSpec * spec,
|
|
const uint32 i = UINT32_MAX ) [inline, virtual]
|
|
void gnGenomeSpec::Clear (
|
) [virtual]
|
|
gnGenomeSpec * gnGenomeSpec::Clone (
|
) const [inline, virtual]
|
|
gnGenomeSpec * gnGenomeSpec::CloneRange (
|
const gnSeqI startI,
|
|
const gnSeqI len ) const [virtual]
|
|
|
Copies a specified range of bases and returns a pointer to the resulting gnGenomeSpec.
You must delete the copy when you are finished with it. -
Parameters:
-
startI
|
The first base pair to copy |
len
|
The length of the piece to copy |
-
Returns:
-
A copy of the gnGenomeSpec containing only the specified bases
Definition at line 68 of file gnGenomeSpec.cpp.
Referenced by gnSequence::erase(), and gnSequence::subseq().
|
void gnGenomeSpec::GetBrokenFeatures (
|
const gnLocation & lt,
|
|
vector< gnBaseFeature *> & feature_vector ) const [virtual]
|
|
|
Creates a list of features which may have been broken by an edit.
-
Parameters:
-
lt
|
The coordinates containing the features to return. |
feature_vector
|
The vector to store features in. |
Reimplemented from gnMultiSpec.
Definition at line 215 of file gnGenomeSpec.cpp.
Referenced by gnSequence::getBrokenFeatures().
|
void gnGenomeSpec::GetContainedFeatures (
|
const gnLocation & lt,
|
|
vector< gnBaseFeature *> & feature_vector,
|
|
vector< uint32 > & index_vector ) const [virtual]
|
|
|
Creates a list of all features which are contained by coordinates specified.
-
Parameters:
-
lt
|
The coordinates containing the features to return. |
feature_vector
|
The vector to store features in. |
index_vector
|
A vector of indices which correspond to the features. |
Reimplemented from gnMultiSpec.
Definition at line 172 of file gnGenomeSpec.cpp.
Referenced by gnSequence::getContainedFeatures().
|
uint32 gnGenomeSpec::GetFeatureListLength (
|
) const [virtual]
|
|
void gnGenomeSpec::GetIntersectingFeatures (
|
const gnLocation & lt,
|
|
vector< gnBaseFeature *> & feature_vector,
|
|
vector< uint32 > & index_vector ) const [virtual]
|
|
|
Creates a list of all features which intersect the coordinates specified.
-
Parameters:
-
lt
|
The coordinates intersecting the features to return. |
feature_vector
|
The vector to store features in. |
index_vector
|
A vector of indices which correspond to the features. |
Reimplemented from gnMultiSpec.
Definition at line 194 of file gnGenomeSpec.cpp.
Referenced by gnSequence::getIntersectingFeatures().
|
|
Get the spec at index i in the list of subspecs.
-
Parameters:
-
-
Returns:
-
The spec.
Reimplemented from gnMultiSpec.
Definition at line 94 of file gnGenomeSpec.h.
Referenced by AddFeature(), CloneRange(), GetBrokenFeatures(), GetContainedFeatures(), gnDNXSource::GetContigID(), gnDNXSource::GetContigName(), gnDNXSource::GetContigSeqLength(), GetFeature(), GetFeatureListLength(), GetIntersectingFeatures(), gnDNXSource::HasContig(), RemoveFeature(), SetReverseComplement(), gnGBKSource::Write(), gnFASSource::Write(), gnDNXSource::Write(), gnSequence::addHeader(), gnSequence::contig(), gnSequence::contigByName(), gnSequence::contigLength(), gnSequence::contigName(), gnSequence::getHeader(), gnSequence::getHeaderListLength(), gnSequence::globalToSource(), gnSequence::insert(), gnSequence::isReverseComplement(), gnSequence::removeHeader(), gnSequence::setContigName(), and gnSequence::setReverseComplement().
|
uint32 gnGenomeSpec::GetSpecListLength (
|
) const [inline, virtual]
|
|
|
Returns the number of subspecs this spec contains.
-
Returns:
-
The number of subspecs this spec contains.
Reimplemented from gnMultiSpec.
Definition at line 89 of file gnGenomeSpec.h.
Referenced by AddFeature(), CloneRange(), GetBrokenFeatures(), GetContainedFeatures(), gnDNXSource::GetContigListLength(), GetFeature(), GetFeatureListLength(), GetIntersectingFeatures(), MergeFragments(), gnSEQSource::ParseStream(), gnGBKSource::ParseStream(), RemoveFeature(), SetReverseComplement(), gnSequence::contigListLength(), gnSequence::contigListSize(), and gnSequence::insert().
|
void gnGenomeSpec::MergeFragments (
|
const uint32 startC,
|
|
const uint32 endC ) [virtual]
|
|
void gnGenomeSpec::RemoveFeature (
|
const uint32 i ) [virtual]
|
|
void gnGenomeSpec::RemoveSpec (
|
uint32 i ) [inline, virtual]
|
|
void gnGenomeSpec::SetReverseComplement (
|
const boolean value ) [virtual]
|
|
Member Data Documentation
The documentation for this class was generated from the following files:
Generated at Fri Nov 30 15:36:55 2001 for libGenome by
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001
|