NCBI C++ ToolKit
|
Search Toolkit Book for CCdFromFasta
#include <algo/structure/cd_utils/cuCdFromFasta.hpp>
Classes | |
struct | Fasta2CdParams |
Public Member Functions | |
CCdFromFasta () | |
CCdFromFasta (const Fasta2CdParams ¶ms) | |
CCdFromFasta (const string &fastaFile, const Fasta2CdParams ¶ms, CBasicFastaWrapper *fastaIOWrapper=NULL) | |
virtual | ~CCdFromFasta (void) |
void | SetParameters (const Fasta2CdParams ¶ms) |
bool | ImportAlignmentData (const string &fastaFile, bool cleanUp=false) |
bool | UpdateSourceId (const string &sourceId, int version=0) |
bool | WriteToFile (const string &outputFile) const |
bool | WasInputError () const |
string | GetFastaInputErrorMsg () const |
string | GetDeflineReadFromFile (unsigned int index) const |
string | GetSequenceReadFromFile (unsigned int index) const |
string | GetColumnReadFromFile (unsigned int column) const |
unsigned int | GetAllColumnsReadFromFile (map< unsigned int, string > &columns) const |
unsigned int | GetGaplessColumnsReadFromFile (map< unsigned int, string > &gaplessColumns) const |
unsigned int | GetInitialMasterSequenceIndex () const |
void | ResetInitialMasterSequenceIndex () |
![]() | |
CCdCore (void) | |
virtual | ~CCdCore (void) |
string | GetAccession (int &Version) const |
string | GetAccession () const |
void | SetAccession (string Accession, int Version) |
void | SetAccession (string Accession) |
void | EraseUID () |
int | GetUID () const |
bool | HasCddId (const CCdd_id &id) const |
string | GetLongDescription () |
string | GetUpdateDate () |
int | GetNumRows () const |
int | GetNumSequences () const |
int | GetNumRowsWithSequences () const |
int | GetAlignmentLength () const |
int | GetPSSMLength () const |
int | GetNumBlocks () const |
bool | GetCDBlockLengths (vector< int > &lengths) const |
bool | GetBlockStartsForRow (int rowIndex, vector< int > &starts) const |
int | GetSeqIndexForRowIndex (int rowIndex) const |
int | GetMasterSeqIndex () const |
int | GetSeqIndex (const CRef< CSeq_id > &SeqID) const |
int | GetNthMatchFor (CRef< CSeq_id > &ID, int N) |
int | GetAllRowIndicesForSeqId (const CRef< CSeq_id > &SeqID, list< int > &rows) const |
int | GetAllRowIndicesForSeqId (const CRef< CSeq_id > &SeqID, vector< int > &rows) const |
bool | GetGI (int Row, TGi &GI, bool ignorePDBs=true) |
bool | GetPDB (int Row, const CPDB_seq_id *&pPDB) |
int | GetLowerBound (int Row) const |
int | GetUpperBound (int Row) const |
bool | Get_GI_or_PDB_String_FromAlignment (int RowIndex, std::string &Str, bool Pad, int Len) const |
string | GetSpeciesForRow (int Row) |
string | GetSequenceStringByRow (int rowId) |
bool | GetSeqEntryForRow (int rowId, CRef< CSeq_entry > &seqEntry) const |
bool | GetBioseqForRow (int rowId, CRef< CBioseq > &bioseq) |
TGi | GetGIFromSequenceList (int SeqIndex) const |
string | GetDefline (int SeqIndex) const |
string | GetSequenceStringByIndex (int SeqIndex) |
string | GetSpeciesForIndex (int SeqIndex) |
bool | GetSeqEntryForIndex (int seqIndex, CRef< CSeq_entry > &seqEntry) const |
bool | GetBioseqForIndex (int seqIndex, CRef< CBioseq > &bioseq) |
bool | CopyBioseqForSeqId (const CRef< CSeq_id > &seqId, CRef< CBioseq > &bioseq) const |
bool | GetBioseqWithSeqId (const CRef< CSeq_id > &seqid, const CBioseq *&bioseq) const |
bool | HasSeqId (const CRef< CSeq_id > &ID) const |
bool | HasSeqId (const CRef< CSeq_id > &ID, int &RowIndex) const |
bool | GetSeqIDForRow (int Pair, int DenDiagRow, CRef< CSeq_id > &SeqID) const |
bool | GetSeqIDFromAlignment (int RowIndex, CRef< CSeq_id > &SeqID) const |
bool | GetSeqIDForIndex (int SeqIndex, CRef< CSeq_id > &SeqID) const |
bool | GetSeqIDs (int SeqIndex, list< CRef< CSeq_id > > &SeqIDs) |
const list< CRef< CSeq_id > > & | GetSeqIDs (int SeqIndex) const |
bool | EraseOtherRows (const std::vector< int > &KeepRows) |
bool | EraseTheseRows (const std::vector< int > &TossRows) |
void | EraseSequence (int SeqIndex) |
void | EraseSequences () |
void | ErasePendingRows (set< int > &rows) |
void | ErasePendingRow (int row) |
bool | Has3DMaster () const |
int | Num3DAlignments () const |
bool | GetRowsForMmdbId (int mmdbId, list< int > &rows) const |
bool | GetRowsWithMmdbId (vector< int > &rows) const |
bool | GetMmdbId (int SeqIndex, int &id) const |
bool | SynchronizeMaster3D (bool checkRow1WhenConsensusMaster=true) |
int | MapPositionToOtherRow (int thisRow, int thisPos, int otherRow) const |
int | MapPositionToOtherRow (const CRef< CSeq_align > &seqAlign, int thisPos, CoordMapDir mapDir) const |
bool | IsSeqAligns () const |
bool | GetAlignment (CRef< CSeq_annot > &seqAnnot) |
const CRef< CSeq_annot > & | GetAlignment () const |
const list< CRef< CSeq_align > > & | GetSeqAligns () const |
list< CRef< CSeq_align > > & | GetSeqAligns () |
bool | GetSeqAlign (int Row, CRef< CSeq_align > &seqAlign) |
const CRef< CSeq_align > & | GetSeqAlign (int Row) const |
bool | UsesConsensusSequenceAsMaster () const |
bool | HasConsensusSequence () const |
int | GetRowsWithConsensus (vector< int > &consensusRows) const |
bool | FindConsensusInSequenceList (vector< int > *indices=NULL) const |
int | GetNumPending () const |
bool | AddSeqAlign (CRef< CSeq_align > seqAlign) |
bool | AddPendingSeqAlign (CRef< CSeq_align > seqAlign) |
bool | AddSequence (CRef< CSeq_entry > seqAntry) |
void | Clear () |
void | SetComment (CCdd_descr::TComment oldComment, CCdd_descr::TComment newComment) |
bool | AddComment (const string &comment) |
bool | AddOthername (const string &othername) |
bool | AddTitle (const string &title) |
bool | AddPmidReference (TEntrezId pmid) |
bool | AddSource (const string &source, bool removeExistingSources=true) |
bool | AddCreateDate () |
string | GetTitle () const |
unsigned int | GetTitles (vector< string > &titles) const |
bool | RemoveCddDescrsOfType (int cddDescrChoice) |
bool | AllResiduesInRangeAligned (int rowId, int from, int to) const |
bool | AlignAnnotsValid (string *err=NULL) const |
int | GetNumAlignmentAnnotations () |
string | GetAlignmentAnnotationDescription (int Index) |
bool | HasParentType (EClassicalOrComponent parentType) const |
bool | HasParentType (CDomain_parent::EParent_type parentType) const |
bool | GetClassicalParentId (const CCdd_id *&parentId) const |
string | GetClassicalParentAccession (int &Version) const |
string | GetClassicalParentAccession () const |
![]() | |
CCdd (void) | |
~CCdd (void) | |
![]() | |
CCdd_Base (void) | |
virtual | ~CCdd_Base (void) |
DECLARE_INTERNAL_TYPE_INFO () | |
bool | IsSetName (void) const |
a short name (can be the accession..) Check if a value has been assigned to Name data member. More... | |
bool | CanGetName (void) const |
Check if it is safe to call GetName method. More... | |
void | ResetName (void) |
Reset Name data member. More... | |
const TName & | GetName (void) const |
Get the Name member data. More... | |
void | SetName (const TName &value) |
Assign a value to Name data member. More... | |
void | SetName (TName &&value) |
TName & | SetName (void) |
Assign a value to Name data member. More... | |
bool | IsSetId (void) const |
this CD's Ids Check if a value has been assigned to Id data member. More... | |
bool | CanGetId (void) const |
Check if it is safe to call GetId method. More... | |
void | ResetId (void) |
Reset Id data member. More... | |
const TId & | GetId (void) const |
Get the Id member data. More... | |
void | SetId (TId &value) |
Assign a value to Id data member. More... | |
TId & | SetId (void) |
Assign a value to Id data member. More... | |
bool | IsSetDescription (void) const |
status, references, etc. More... | |
bool | CanGetDescription (void) const |
Check if it is safe to call GetDescription method. More... | |
void | ResetDescription (void) |
Reset Description data member. More... | |
const TDescription & | GetDescription (void) const |
Get the Description member data. More... | |
void | SetDescription (TDescription &value) |
Assign a value to Description data member. More... | |
TDescription & | SetDescription (void) |
Assign a value to Description data member. More... | |
bool | IsSetSeqannot (void) const |
contains the CD alignment Check if a value has been assigned to Seqannot data member. More... | |
bool | CanGetSeqannot (void) const |
Check if it is safe to call GetSeqannot method. More... | |
void | ResetSeqannot (void) |
Reset Seqannot data member. More... | |
const TSeqannot & | GetSeqannot (void) const |
Get the Seqannot member data. More... | |
TSeqannot & | SetSeqannot (void) |
Assign a value to Seqannot data member. More... | |
bool | IsSetFeatures (void) const |
contains structure alignment data or "core" definitions Check if a value has been assigned to Features data member. More... | |
bool | CanGetFeatures (void) const |
Check if it is safe to call GetFeatures method. More... | |
void | ResetFeatures (void) |
Reset Features data member. More... | |
const TFeatures & | GetFeatures (void) const |
Get the Features member data. More... | |
void | SetFeatures (TFeatures &value) |
Assign a value to Features data member. More... | |
TFeatures & | SetFeatures (void) |
Assign a value to Features data member. More... | |
bool | IsSetSequences (void) const |
store as bioseq-set inside seq-entry Check if a value has been assigned to Sequences data member. More... | |
bool | CanGetSequences (void) const |
Check if it is safe to call GetSequences method. More... | |
void | ResetSequences (void) |
Reset Sequences data member. More... | |
const TSequences & | GetSequences (void) const |
Get the Sequences member data. More... | |
void | SetSequences (TSequences &value) |
Assign a value to Sequences data member. More... | |
TSequences & | SetSequences (void) |
Assign a value to Sequences data member. More... | |
bool | IsSetProfile_range (void) const |
profile for this region only also stores the Seq-id of the master Check if a value has been assigned to Profile_range data member. More... | |
bool | CanGetProfile_range (void) const |
Check if it is safe to call GetProfile_range method. More... | |
void | ResetProfile_range (void) |
Reset Profile_range data member. More... | |
const TProfile_range & | GetProfile_range (void) const |
Get the Profile_range member data. More... | |
void | SetProfile_range (TProfile_range &value) |
Assign a value to Profile_range data member. More... | |
TProfile_range & | SetProfile_range (void) |
Assign a value to Profile_range data member. More... | |
bool | IsSetTrunc_master (void) const |
holds the truncated master, which may be something like a consensus, uses the same sequence coordinate frame as the profile-range Check if a value has been assigned to Trunc_master data member. More... | |
bool | CanGetTrunc_master (void) const |
Check if it is safe to call GetTrunc_master method. More... | |
void | ResetTrunc_master (void) |
Reset Trunc_master data member. More... | |
const TTrunc_master & | GetTrunc_master (void) const |
Get the Trunc_master member data. More... | |
void | SetTrunc_master (TTrunc_master &value) |
Assign a value to Trunc_master data member. More... | |
TTrunc_master & | SetTrunc_master (void) |
Assign a value to Trunc_master data member. More... | |
bool | IsSetPosfreq (void) const |
relative residue frequencies Check if a value has been assigned to Posfreq data member. More... | |
bool | CanGetPosfreq (void) const |
Check if it is safe to call GetPosfreq method. More... | |
void | ResetPosfreq (void) |
Reset Posfreq data member. More... | |
const TPosfreq & | GetPosfreq (void) const |
Get the Posfreq member data. More... | |
void | SetPosfreq (TPosfreq &value) |
Assign a value to Posfreq data member. More... | |
TPosfreq & | SetPosfreq (void) |
Assign a value to Posfreq data member. More... | |
bool | IsSetScoremat (void) const |
Position dependent score matrix Check if a value has been assigned to Scoremat data member. More... | |
bool | CanGetScoremat (void) const |
Check if it is safe to call GetScoremat method. More... | |
void | ResetScoremat (void) |
Reset Scoremat data member. More... | |
const TScoremat & | GetScoremat (void) const |
Get the Scoremat member data. More... | |
void | SetScoremat (TScoremat &value) |
Assign a value to Scoremat data member. More... | |
TScoremat & | SetScoremat (void) |
Assign a value to Scoremat data member. More... | |
bool | IsSetDistance (void) const |
pairwise distances for all seqs. More... | |
bool | CanGetDistance (void) const |
Check if it is safe to call GetDistance method. More... | |
void | ResetDistance (void) |
Reset Distance data member. More... | |
const TDistance & | GetDistance (void) const |
Get the Distance member data. More... | |
void | SetDistance (TDistance &value) |
Assign a value to Distance data member. More... | |
TDistance & | SetDistance (void) |
Assign a value to Distance data member. More... | |
bool | IsSetParent (void) const |
this CD is the result of a split Check if a value has been assigned to Parent data member. More... | |
bool | CanGetParent (void) const |
Check if it is safe to call GetParent method. More... | |
void | ResetParent (void) |
Reset Parent data member. More... | |
const TParent & | GetParent (void) const |
Get the Parent member data. More... | |
void | SetParent (TParent &value) |
Assign a value to Parent data member. More... | |
TParent & | SetParent (void) |
Assign a value to Parent data member. More... | |
bool | IsSetChildren (void) const |
this CD has been split, not used Check if a value has been assigned to Children data member. More... | |
bool | CanGetChildren (void) const |
Check if it is safe to call GetChildren method. More... | |
void | ResetChildren (void) |
Reset Children data member. More... | |
const TChildren & | GetChildren (void) const |
Get the Children member data. More... | |
void | SetChildren (TChildren &value) |
Assign a value to Children data member. More... | |
TChildren & | SetChildren (void) |
Assign a value to Children data member. More... | |
bool | IsSetSiblings (void) const |
related CDs (common hits), clusters Check if a value has been assigned to Siblings data member. More... | |
bool | CanGetSiblings (void) const |
Check if it is safe to call GetSiblings method. More... | |
void | ResetSiblings (void) |
Reset Siblings data member. More... | |
const TSiblings & | GetSiblings (void) const |
Get the Siblings member data. More... | |
void | SetSiblings (TSiblings &value) |
Assign a value to Siblings data member. More... | |
TSiblings & | SetSiblings (void) |
Assign a value to Siblings data member. More... | |
bool | IsSetNeighbors (void) const |
co-occurring CDs, not used Check if a value has been assigned to Neighbors data member. More... | |
bool | CanGetNeighbors (void) const |
Check if it is safe to call GetNeighbors method. More... | |
void | ResetNeighbors (void) |
Reset Neighbors data member. More... | |
const TNeighbors & | GetNeighbors (void) const |
Get the Neighbors member data. More... | |
void | SetNeighbors (TNeighbors &value) |
Assign a value to Neighbors data member. More... | |
TNeighbors & | SetNeighbors (void) |
Assign a value to Neighbors data member. More... | |
bool | IsSetPending (void) const |
contains alignments from update or "lower panel" Check if a value has been assigned to Pending data member. More... | |
bool | CanGetPending (void) const |
Check if it is safe to call GetPending method. More... | |
void | ResetPending (void) |
Reset Pending data member. More... | |
const TPending & | GetPending (void) const |
Get the Pending member data. More... | |
TPending & | SetPending (void) |
Assign a value to Pending data member. More... | |
bool | IsSetRejects (void) const |
SeqIds of rejected CD- members, ignore in update Check if a value has been assigned to Rejects data member. More... | |
bool | CanGetRejects (void) const |
Check if it is safe to call GetRejects method. More... | |
void | ResetRejects (void) |
Reset Rejects data member. More... | |
const TRejects & | GetRejects (void) const |
Get the Rejects member data. More... | |
TRejects & | SetRejects (void) |
Assign a value to Rejects data member. More... | |
bool | IsSetMaster3d (void) const |
record if CD has a 3D representative Check if a value has been assigned to Master3d data member. More... | |
bool | CanGetMaster3d (void) const |
Check if it is safe to call GetMaster3d method. More... | |
void | ResetMaster3d (void) |
Reset Master3d data member. More... | |
const TMaster3d & | GetMaster3d (void) const |
Get the Master3d member data. More... | |
TMaster3d & | SetMaster3d (void) |
Assign a value to Master3d data member. More... | |
bool | IsSetAlignannot (void) const |
alignment annotation Check if a value has been assigned to Alignannot data member. More... | |
bool | CanGetAlignannot (void) const |
Check if it is safe to call GetAlignannot method. More... | |
void | ResetAlignannot (void) |
Reset Alignannot data member. More... | |
const TAlignannot & | GetAlignannot (void) const |
Get the Alignannot member data. More... | |
void | SetAlignannot (TAlignannot &value) |
Assign a value to Alignannot data member. More... | |
TAlignannot & | SetAlignannot (void) |
Assign a value to Alignannot data member. More... | |
bool | IsSetStyle_dictionary (void) const |
record rendering styles Check if a value has been assigned to Style_dictionary data member. More... | |
bool | CanGetStyle_dictionary (void) const |
Check if it is safe to call GetStyle_dictionary method. More... | |
void | ResetStyle_dictionary (void) |
Reset Style_dictionary data member. More... | |
const TStyle_dictionary & | GetStyle_dictionary (void) const |
Get the Style_dictionary member data. More... | |
void | SetStyle_dictionary (TStyle_dictionary &value) |
Assign a value to Style_dictionary data member. More... | |
TStyle_dictionary & | SetStyle_dictionary (void) |
Assign a value to Style_dictionary data member. More... | |
bool | IsSetUser_annotations (void) const |
user annotations in Cn3D Check if a value has been assigned to User_annotations data member. More... | |
bool | CanGetUser_annotations (void) const |
Check if it is safe to call GetUser_annotations method. More... | |
void | ResetUser_annotations (void) |
Reset User_annotations data member. More... | |
const TUser_annotations & | GetUser_annotations (void) const |
Get the User_annotations member data. More... | |
void | SetUser_annotations (TUser_annotations &value) |
Assign a value to User_annotations data member. More... | |
TUser_annotations & | SetUser_annotations (void) |
Assign a value to User_annotations data member. More... | |
bool | IsSetAncestors (void) const |
list of parents Check if a value has been assigned to Ancestors data member. More... | |
bool | CanGetAncestors (void) const |
Check if it is safe to call GetAncestors method. More... | |
void | ResetAncestors (void) |
Reset Ancestors data member. More... | |
const TAncestors & | GetAncestors (void) const |
Get the Ancestors member data. More... | |
TAncestors & | SetAncestors (void) |
Assign a value to Ancestors data member. More... | |
bool | IsSetScoreparams (void) const |
Check if a value has been assigned to Scoreparams data member. More... | |
bool | CanGetScoreparams (void) const |
Check if it is safe to call GetScoreparams method. More... | |
void | ResetScoreparams (void) |
Reset Scoreparams data member. More... | |
const TScoreparams & | GetScoreparams (void) const |
Get the Scoreparams member data. More... | |
void | SetScoreparams (TScoreparams &value) |
Assign a value to Scoreparams data member. More... | |
TScoreparams & | SetScoreparams (void) |
Assign a value to Scoreparams data member. More... | |
bool | IsSetSeqtree (void) const |
Check if a value has been assigned to Seqtree data member. More... | |
bool | CanGetSeqtree (void) const |
Check if it is safe to call GetSeqtree method. More... | |
void | ResetSeqtree (void) |
Reset Seqtree data member. More... | |
const TSeqtree & | GetSeqtree (void) const |
Get the Seqtree member data. More... | |
void | SetSeqtree (TSeqtree &value) |
Assign a value to Seqtree data member. More... | |
TSeqtree & | SetSeqtree (void) |
Assign a value to Seqtree data member. More... | |
virtual void | Reset (void) |
Reset the whole object. More... | |
![]() | |
CSerialObject (void) | |
virtual | ~CSerialObject (void) |
virtual const CTypeInfo * | GetThisTypeInfo (void) const =0 |
virtual void | Assign (const CSerialObject &source, ESerialRecursionMode how=eRecursive) |
Set object to copy of another one. More... | |
virtual bool | Equals (const CSerialObject &object, ESerialRecursionMode how=eRecursive) const |
Check if both objects contain the same values. More... | |
virtual void | DebugDump (CDebugDumpContext ddc, unsigned int depth) const |
Define method for dumping debug information. More... | |
void | ThrowUnassigned (TMemberIndex index) const |
void | ThrowUnassigned (TMemberIndex index, const char *file_name, int file_line) const |
bool | HasNamespaceName (void) const |
Check if object data type has namespace name. More... | |
const string & | GetNamespaceName (void) const |
Get namespace name. More... | |
bool | HasNamespacePrefix (void) const |
Check if data type has namespace prefix. More... | |
const string & | GetNamespacePrefix (void) const |
Get namespace prefix. More... | |
![]() | |
CObject (void) | |
Constructor. More... | |
CObject (const CObject &src) | |
Copy constructor. More... | |
virtual | ~CObject (void) |
Destructor. More... | |
CObject & | operator= (const CObject &src) THROWS_NONE |
Assignment operator. More... | |
bool | CanBeDeleted (void) const THROWS_NONE |
Check if object can be deleted. More... | |
bool | IsAllocatedInPool (void) const THROWS_NONE |
Check if object is allocated in memory pool (not system heap) More... | |
bool | Referenced (void) const THROWS_NONE |
Check if object is referenced. More... | |
bool | ReferencedOnlyOnce (void) const THROWS_NONE |
Check if object is referenced only once. More... | |
void | AddReference (void) const |
Add reference to object. More... | |
void | RemoveReference (void) const |
Remove reference to object. More... | |
void | ReleaseReference (void) const |
Remove reference without deleting object. More... | |
virtual void | DoNotDeleteThisObject (void) |
Mark this object as not allocated in heap – do not delete this object. More... | |
virtual void | DoDeleteThisObject (void) |
Mark this object as allocated in heap – object can be deleted. More... | |
void * | operator new (size_t size) |
Define new operator for memory allocation. More... | |
void * | operator new[] (size_t size) |
Define new[] operator for 'array' memory allocation. More... | |
void | operator delete (void *ptr) |
Define delete operator for memory deallocation. More... | |
void | operator delete[] (void *ptr) |
Define delete[] operator for memory deallocation. More... | |
void * | operator new (size_t size, void *place) |
Define new operator. More... | |
void | operator delete (void *ptr, void *place) |
Define delete operator. More... | |
void * | operator new (size_t size, CObjectMemoryPool *place) |
Define new operator using memory pool. More... | |
void | operator delete (void *ptr, CObjectMemoryPool *place) |
Define delete operator. More... | |
![]() | |
CDebugDumpable (void) | |
virtual | ~CDebugDumpable (void) |
void | DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const |
void | DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const |
void | DumpToConsole (void) const |
Private Member Functions | |
void | CleanUpFastaIO () |
void | InitializeParameters (const Fasta2CdParams *params=NULL) |
unsigned int | GetColumnsReadFromFile (map< unsigned int, string > &columns, bool skipGappedColumns) const |
CCdFromFasta (const CCdFromFasta &value) | |
CCdFromFasta & | operator= (const CCdFromFasta &value) |
Private Attributes | |
string | m_fastaInputErrorMsg |
Fasta2CdParams | m_parameters |
unsigned int | m_initialMasterSequenceIndex |
bool | m_ownsFastaIO |
CBasicFastaWrapper * | m_fastaIO |
Additional Inherited Members | |
![]() | |
static void | SetVerifyDataThread (ESerialVerifyData verify) |
static void | SetVerifyDataGlobal (ESerialVerifyData verify) |
static string | UnassignedString (void) |
static CStringUTF8 | UnassignedStringUTF8 (void) |
static char | UnassignedByte (void) |
![]() | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (void) |
Define method to throw null pointer exception. More... | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (const type_info &type) |
static EAllocFillMode | GetAllocFillMode (void) |
static void | SetAllocFillMode (EAllocFillMode mode) |
static void | SetAllocFillMode (const string &value) |
Set mode from configuration parameter value. More... | |
![]() | |
static void | EnableDebugDump (bool on) |
![]() | |
static const char * | ms_UnassignedStr = "<*unassigned*>" |
static const char | ms_UnassignedByte = char(0xcd) |
![]() | |
static const TCount | eCounterBitsCanBeDeleted = 1 << 0 |
Define possible object states. More... | |
static const TCount | eCounterBitsInPlainHeap = 1 << 1 |
Heap signature was found. More... | |
static const TCount | eCounterBitsPlaceMask |
Mask for 'in heap' state flags. More... | |
static const int | eCounterStep = 1 << 2 |
Skip over the "in heap" bits. More... | |
static const TCount | eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) |
Minimal value for valid objects (reference counter is zero) Must be a single bit value. More... | |
static const TCount | eCounterStateMask |
Valid object, and object in heap. More... | |
![]() | |
bool | AddCddDescr (CRef< CCdd_descr > &descr) |
![]() | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Definition at line 46 of file cuCdFromFasta.hpp.
Definition at line 50 of file cuCdFromFasta.hpp.
CCdFromFasta::CCdFromFasta | ( | ) |
Definition at line 57 of file cuCdFromFasta.cpp.
References InitializeParameters(), m_fastaInputErrorMsg, and m_ownsFastaIO.
CCdFromFasta::CCdFromFasta | ( | const Fasta2CdParams & | params | ) |
Definition at line 64 of file cuCdFromFasta.cpp.
References InitializeParameters(), m_fastaInputErrorMsg, and m_ownsFastaIO.
CCdFromFasta::CCdFromFasta | ( | const string & | fastaFile, |
const Fasta2CdParams & | params, | ||
CBasicFastaWrapper * | fastaIOWrapper = NULL |
||
) |
Definition at line 71 of file cuCdFromFasta.cpp.
References ImportAlignmentData(), InitializeParameters(), m_fastaInputErrorMsg, m_fastaIO, m_ownsFastaIO, and NULL.
|
virtual |
Definition at line 52 of file cuCdFromFasta.cpp.
|
private |
|
inlineprivate |
Definition at line 140 of file cuCdFromFasta.hpp.
References m_fastaIO, m_ownsFastaIO, and NULL.
Referenced by ImportAlignmentData().
Definition at line 262 of file cuCdFromFasta.cpp.
References GetColumnsReadFromFile().
Definition at line 236 of file cuCdFromFasta.cpp.
References column, CFastaIOWrapper::GetActiveSequence(), CFastaIOWrapper::GetNumRead(), m_fastaIO, and result.
|
private |
Definition at line 269 of file cuCdFromFasta.cpp.
References map_checker< Container >::clear(), map_checker< Container >::erase(), CFastaIOWrapper::GetActiveSequence(), CFastaIOWrapper::GetNumRead(), m_fastaIO, NPOS, result, and map_checker< Container >::size().
Referenced by GetAllColumnsReadFromFile(), and GetGaplessColumnsReadFromFile().
Definition at line 213 of file cuCdFromFasta.cpp.
References CFastaIOWrapper::GetActiveDefline(), CFastaIOWrapper::GetNumRead(), m_fastaIO, and result.
|
inline |
Definition at line 91 of file cuCdFromFasta.hpp.
References m_fastaInputErrorMsg.
unsigned int CCdFromFasta::GetGaplessColumnsReadFromFile | ( | map< unsigned int, string > & | gaplessColumns | ) | const |
Definition at line 265 of file cuCdFromFasta.cpp.
References GetColumnsReadFromFile().
|
inline |
Definition at line 122 of file cuCdFromFasta.hpp.
References m_initialMasterSequenceIndex.
Definition at line 224 of file cuCdFromFasta.cpp.
References CFastaIOWrapper::GetActiveSequence(), CFastaIOWrapper::GetNumRead(), m_fastaIO, and result.
Definition at line 111 of file cuCdFromFasta.cpp.
References _TRACE, CSerialObject::Assign(), CleanUpFastaIO(), CFastaReader::fAssumeProt, CFastaReader::fForceType, CFastaReader::fNoParseID, CFastaIOWrapper::GetError(), CSeqAnnotFromFasta::GetMasterIndex(), CSeqAnnotFromFasta::GetSeqAnnot(), CFastaIOWrapper::GetSeqEntry(), GoodVisibleChar(), i, in(), CBioseq_Base::IsSetDescr(), len, m_fastaInputErrorMsg, m_fastaIO, m_initialMasterSequenceIndex, m_parameters, CSeqAnnotFromFasta::MakeSeqAnnotFromFasta(), CCdFromFasta::Fasta2CdParams::masterIndex, CCdFromFasta::Fasta2CdParams::masterMethod, NULL, CSeqAnnotFromFasta::PurgeNonAlphaFromSequence(), CBioseq_Base::ResetDescr(), CBioseq_Base::SetDescr(), CBasicFastaWrapper::SetFastaFlags(), CBioseq_set_Base::SetSeq_set(), CCdd_Base::SetSeqannot(), CCdd_Base::SetSequences(), CSeq_entry_Base::SetSet(), test(), CCdFromFasta::Fasta2CdParams::useAsIs, and CCdFromFasta::Fasta2CdParams::useLocalIds.
Referenced by CCdFromFasta().
|
private |
Definition at line 87 of file cuCdFromFasta.cpp.
References CCdFromFasta::Fasta2CdParams::cdAcc, CCdFromFasta::Fasta2CdParams::cdName, CSeqAnnotFromFasta::eMostAlignedAndFewestGaps, m_parameters, CCdFromFasta::Fasta2CdParams::masterIndex, CCdFromFasta::Fasta2CdParams::masterMethod, ResetInitialMasterSequenceIndex(), CCdCore::SetAccession(), CCdd_Base::SetName(), true, CCdFromFasta::Fasta2CdParams::useAsIs, and CCdFromFasta::Fasta2CdParams::useLocalIds.
Referenced by CCdFromFasta(), and SetParameters().
|
private |
void CCdFromFasta::ResetInitialMasterSequenceIndex | ( | ) |
Definition at line 82 of file cuCdFromFasta.cpp.
References CSeqAnnotFromFasta::eUnassignedMaster, int, and m_initialMasterSequenceIndex.
Referenced by InitializeParameters().
|
inline |
Definition at line 76 of file cuCdFromFasta.hpp.
References InitializeParameters().
Definition at line 323 of file cuCdFromFasta.cpp.
References CCdCore::AddCddDescr(), i, CCdd_Base::IsSetDescription(), CGlobal_id_Base::Reset(), result, CCdd_descr_set_Base::Set(), CCdd_id_set_Base::Set(), CCdd_Base::SetDescription(), CCdd_id_Base::SetGid(), and version.
|
inline |
Definition at line 90 of file cuCdFromFasta.hpp.
References m_fastaInputErrorMsg.
Definition at line 361 of file cuCdFromFasta.cpp.
References NULL, result, CDirEntry::SplitPath(), and WriteASNToFile().
|
private |
Definition at line 127 of file cuCdFromFasta.hpp.
Referenced by CCdFromFasta(), GetFastaInputErrorMsg(), ImportAlignmentData(), and WasInputError().
|
private |
Definition at line 137 of file cuCdFromFasta.hpp.
Referenced by CCdFromFasta(), CleanUpFastaIO(), GetColumnReadFromFile(), GetColumnsReadFromFile(), GetDeflineReadFromFile(), GetSequenceReadFromFile(), and ImportAlignmentData().
|
private |
Definition at line 133 of file cuCdFromFasta.hpp.
Referenced by GetInitialMasterSequenceIndex(), ImportAlignmentData(), and ResetInitialMasterSequenceIndex().
|
private |
Definition at line 136 of file cuCdFromFasta.hpp.
Referenced by CCdFromFasta(), and CleanUpFastaIO().
|
private |
Definition at line 128 of file cuCdFromFasta.hpp.
Referenced by ImportAlignmentData(), and InitializeParameters().