|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
gnSourceSpec Class ReferencegnSourceSpec stores sequence and annotation data from another source.
More...
#include <gnSourceSpec.h>
Inheritance diagram for gnSourceSpec::
List of all members.
Detailed Description
gnSourceSpec stores sequence and annotation data from another source.
-
See also:
-
gnContigSpec , gnBaseSpec
Definition at line 27 of file gnSourceSpec.h.
Constructor & Destructor Documentation
gnSourceSpec::gnSourceSpec (
|
)
|
|
|
Constructor, creates a gnSourceSpec using sequence data in the given source.
A circular spec will be created if the end index is greater than the start. -
Parameters:
-
m_pSource
|
The source to read base pairs from. |
m_ContigIndex
|
The index of the contig in the source, ALL_CONTIGS by default. |
startI
|
The index to start reading base pairs from the source. |
endI
|
The index to stop reading base pairs from the source. |
revComp
|
True if the sequence is read reverse complement. |
Definition at line 33 of file gnSourceSpec.cpp. |
gnSourceSpec::gnSourceSpec (
|
const gnSourceSpec & s )
|
|
|
Copy constructor.
-
Parameters:
-
s
|
the gnSourceSpec to copy. |
Definition at line 21 of file gnSourceSpec.cpp. |
gnSourceSpec::~gnSourceSpec (
|
)
|
|
Member Function Documentation
void gnSourceSpec::Clear (
|
) [virtual]
|
|
gnSourceSpec * gnSourceSpec::Clone (
|
) const [inline, virtual]
|
|
gnSourceSpec * gnSourceSpec::CloneRange (
|
const gnSeqI startI,
|
|
const gnSeqI len ) const [virtual]
|
|
|
Copies a specified range of bases and returns a pointer to the resulting gnSourceSpec.
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 gnSourceSpec containing only the specified bases
Definition at line 74 of file gnSourceSpec.cpp. |
gnBaseSource * gnSourceSpec::GetSource (
|
) const [inline, virtual]
|
|
gnSeqI gnSourceSpec::GetSourceLength (
|
) const [inline, virtual]
|
|
|
Get the length of the source for this spec.
-
Returns:
-
The source length.
Reimplemented from gnContigSpec.
Definition at line 79 of file gnSourceSpec.h. |
|
all derived classes must implement this! it simply reads the specified bases into buf, disregarding circularity and reverse complement.
Reimplemented from gnContigSpec.
Definition at line 89 of file gnSourceSpec.h. |
Member Data Documentation
The documentation for this class was generated from the following files:
Generated at Fri Nov 30 15:36:57 2001 for libGenome by
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001
|