( GetErrCode() ) {
64 return "Unknown error";
66 return "MicroIntron generation failure";
88fMaximizeTranslation = 0x2000,
99fCreateCdregion = 0x004,
100fPromoteAllFeatures = 0x008,
101fPropagateOnly = 0x010,
102fForceTranslateCds = 0x020,
103fForceTranscribeMrna = 0x040,
104fDensegAsExon = 0x080,
105fGenerateLocalIds = 0x100,
106fGenerateStableLocalIds = 0x200,
107fPropagateNcrnaFeats = 0x400,
108fTrustProteinSeq = 0x800,
111fDeNovoProducts = 0x4000,
112fAddTranslatedCDSAssembly = 0x8000,
113fDropManeMarkup = 0x00010000,
114fSkipLocationCheck = 0x00020000,
116fDefaults = fCreateGene | fCreateMrna | fCreateCdregion |
117fGenerateLocalIds | fPropagateNcrnaFeats
128 static const TSeqPoskDefaultAllowedUnaligned = 10;
134 voidSetAllowedUnaligned(
TSeqPos);
142CleanAlignment(
constobjects::CSeq_align& align);
153eTryToPreserveProductPositions
156AdjustAlignment(
constobjects::CSeq_align& align,
TSeqRangerange, EProductPositionsMode
mode= eForceProductFrom0);
164objects::CSeq_annot& annot,
165objects::CBioseq_set& seqs,
167 constobjects::CSeq_feat* cdregion_on_mrna =
NULL);
170objects::CSeq_annot &annot,
171objects::CBioseq_set &seqs);
176 voidConvertLocToAnnot(
177 constobjects::CSeq_loc &loc,
178objects::CSeq_annot& annot,
179objects::CBioseq_set& seqs,
180objects::CCdregion::EFrame frame = objects::CCdregion::eFrame_one,
186 voidSetFeatureExceptions(objects::CSeq_feat& feat,
187 constobjects::CSeq_align* align =
NULL);
196 voidRecomputePartialFlags(objects::CSeq_annot& annot);
214 size_tunaligned_ends_partialness_thr = kDefaultAllowedUnaligned);
220 constobjects::CSeq_loc& product_cds_loc,
221 boolconvert_overlaps =
true);
224 static voidCreateMicroIntrons(
225objects::CScope& scope,
226objects::CBioseq_Handle bsh,
227 const string& annot_name =
"",
229 boolignore_errors =
false);
236 static voidx_SetAnnotName(objects::SAnnotSelector& sel,
const string& annot_name);
250fDefaults = fCreateGene | fCreateMrna | fCreateCdregion
257 static voidCreateGeneModelFromAlign(
constobjects::CSeq_align& align,
258objects::CScope& scope,
259objects::CSeq_annot& annot,
260objects::CBioseq_set& seqs,
262 TSeqPosallowed_unaligned = 10);
266objects::CScope& scope,
267objects::CSeq_annot& annot,
268objects::CBioseq_set& seqs,
270 TSeqPosallowed_unaligned = 10);
275 static voidSetFeatureExceptions(objects::CSeq_feat& feat,
276objects::CScope& scope,
277 constobjects::CSeq_align* align =
NULL);
280 static voidSetPartialFlags(objects::CScope& scope,
286 static voidRecomputePartialFlags(objects::CScope& scope,
287objects::CSeq_annot& annot);
User-defined methods of the data storage class.
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
NCBI_EXCEPTION_DEFAULT(CAlgoFeatureGeneratorException, CException)
CRef< objects::CSeq_feat > ConvertAlignToAnnot(const objects::CSeq_align &align, objects::CSeq_annot &annot, objects::CBioseq_set &seqs, Int8 gene_id=0, const objects::CSeq_feat *cdregion_on_mrna=NULL)
Convert an alignment to an annotation.
unique_ptr< SImplementation > m_impl
CFeatureGenerator(objects::CScope &scope)
EProductPositionsMode
Adjust alignment to the specified range (cross-the-origin range on circular chromosome is indicated b...
EIntronStitchThresholdFlags
void ConvertAlignToAnnot(const list< CRef< objects::CSeq_align > > &aligns, objects::CSeq_annot &annot, objects::CBioseq_set &seqs)
CFeatureGenerator(CRef< objects::CScope > scope)
int TFeatureGeneratorFlags
int TGeneModelCreateFlags
namespace ncbi::objects::
Include a standard set of the NCBI C++ Toolkit most basic headers.
unsigned int TSeqPos
Type for sequence locations and lengths.
virtual const char * GetErrCodeString(void) const
Get error code interpreted as text.
int64_t Int8
8-byte (64-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_XALGOSEQ_EXPORT
Defines NCBI C++ exception handling.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4