label_type =
id.IsGeneral() ?
71 id.GetLabel(&
label, label_type);
79 unsigned intuFlags ) :
82m_bHeaderWritten(
false)
91 unsigned intuFlags ) :
94m_bHeaderWritten(
false)
110 const string& strAssemblyName,
111 const string& strAssemblyAccession )
137 const string& strAssemblyName,
138 const string& strAssemblyAccession )
185 for(
CFeat_CIfit(*aci); fit; ++fit) {
187 if(currentId != lastId) {
208 const string& strAssemblyName,
209 const string& strAssemblyAccession )
227 const auto& display_range =
GetRange();
228 CFeat_CIfeat_iter(bsh, display_range, sel);
245feature::CFeatTree& featTree = fc.
FeatTree();
246vector<CMappedFeat> vChildren;
247featTree.GetChildrenTo(mf, vChildren);
248 for(
autocit = vChildren.begin(); cit != vChildren.end(); ++cit) {
262 const string& strAssemblyName,
263 const string& strAssemblyAccession )
295 for(
; feat_iter; ++feat_iter) {
327 const string& strAssName,
328 const string& strAssAcc )
353 m_Os<<
"##gff-version 2"<<
'\n';
361 const string& strName,
362 const string& strAccession )
365 if( !strName.empty() ) {
366 m_Os<<
"##assembly name="<< strName <<
'\n';
368 if( !strAccession.empty() ) {
369 m_Os<<
"##assembly accession="<< strAccession <<
'\n';
443 constvector< CRef< CGb_qual > >& quals = mf.
GetQual();
444vector< CRef< CGb_qual > >::const_iterator it = quals.begin();
445 for( ; it != quals.end(); ++it ) {
446 if( !(*it)->CanGetQual() || !(*it)->CanGetVal() ) {
449 if( (*it)->GetQual() ==
"gff_score") {
510 unsigned intstart(0);
511 unsigned intstop(0);
598 if(
NPOS!= dbxref.find(
'_')) {
599dbxref =
string(
"GenBank:") + dbxref;
602dbxref =
string(
"NCBI_GP:") + dbxref;
611dbxref =
string(
"NCBI_gi:") + dbxref;
622 const string&
label,
627 for(
const auto& pDbxref : mf.
GetDbxref()) {
639parent = fc.
FeatTree().GetParent( mf );
646 if(geneRef && geneRef->IsSuppressed()) {
651 for(
const auto& pDbxref : parent.
GetDbxref()) {
665 if(!dbxref.empty()) {
669 if(gene_feat && gene_feat.IsSetDbxref() &&
670gene_feat.IsSetData() && !gene_feat.GetData().GetGene().IsSuppressed()) {
671 for(
const auto& pDbxref : gene_feat.GetDbxref() ) {
726display_range.
GetTo() < feat_range.
GetTo())) {
749 if(
id!= 1 &&
id!= 255) {
789 if(!protein_id.empty()) {
821 if( pProtRef && pProtRef->
IsSetName() ) {
861 if(
rna.IsSetExt() &&
rna.GetExt().IsTRNA()) {
865 if(!display_range.
IsWhole())
866trimmed_trna = sequence::CFeatTrim::Apply(
rna.GetExt().GetTRNA(), display_range);
868 rna.GetExt().GetTRNA() :
887 if(
rna.IsSetExt() &&
rna.GetExt().IsName()) {
892 if(
rna.IsSetExt() &&
rna.GetExt().IsGen() &&
893 rna.GetExt().GetGen().IsSetProduct() ) {
894record.
SetAttribute(
"product",
rna.GetExt().GetGen().GetProduct());
902 for( CSeq_feat::TQual::const_iterator cit = quals.begin();
903cit != quals.end(); ++cit) {
904 if((*cit)->IsSetQual() && (*cit)->IsSetVal() &&
905(*cit)->GetQual() ==
"product") {
929 constlist<CRef<CCode_break> >& code_breaks = cds.
GetCode_break();
932 if(!display_range.
IsWhole()) {
935 CRef<CCode_break>trimmed_cb = sequence::CFeatTrim::Apply(*code_break, display_range);
944list<CRef<CCode_break> >::const_iterator it = code_breaks.begin();
945 for(; it != code_breaks.end(); ++it) {
970 returnnoRef.
Get();
981 if(geneRef.IsSetLocus()) {
984 if(geneRef.IsSetLocus_tag()) {
985record.
SetAttribute(
"locus_tag", geneRef.GetLocus_tag());
988 if(geneRef.IsSetDesc()) {
989record.
SetAttribute(
"description", geneRef.GetDesc());
991 if(geneRef.IsSetSyn()) {
992 const auto& syns = geneRef.GetSyn();
993 autoit = syns.begin();
994 while(it != syns.end()) {
1016 stringold_locus_tags;
1017vector<CRef<CGb_qual> > quals = mf.
GetQual();
1018 for(vector<
CRef<CGb_qual>>::const_iterator it = quals.begin();
1019it != quals.end(); ++it) {
1020 if((**it).IsSetQual() && (**it).IsSetVal()) {
1021 stringqual = (**it).GetQual();
1022 if(qual !=
"old_locus_tag") {
1025 if(!old_locus_tags.empty()) {
1026old_locus_tags +=
",";
1028old_locus_tags += (**it).GetVal();
1031 if(!old_locus_tags.empty()) {
1032record.
SetAttribute(
"old_locus_tag", old_locus_tags);
1107vector<string> experiments;
1108 const auto& quals = mf.
GetQual();
1109 for(
const auto& qual: quals) {
1110 if(qual->GetQual() ==
"experiment") {
1111experiments.push_back(qual->GetVal());
1114 if(!experiments.empty()) {
1127 stringmodelEvidence;
1131 if(!modelEvidence.empty()) {
1132record.
SetAttribute(
"model_evidence", modelEvidence);
1151 if(quals.empty()) {
1154 for(CSeq_feat::TQual::const_iterator cit = quals.begin();
1155cit != quals.end(); ++cit) {
1156 if((*cit)->GetQual() ==
"rpt_family") {
1157record.
SetAttribute(
"rpt_family", (*cit)->GetVal());
1174 if(!pseudoGene.empty()) {
1187 if(!pseudoGene.empty()) {
1214 const string&
function= mf.
GetNamedQual(
"function");
1215 if(!
function.
empty()) {
1223 if(
prot.CanGetActivity() && !
prot.GetActivity().empty()) {
1237 const string& go_component = mf.
GetNamedQual(
"go_component");
1238 if(!go_component.empty()) {
1246 const auto& ext = mf.
GetExt();
1247 if(!ext.IsSetType() || !ext.GetType().IsStr()) {
1250 if(ext.GetType().GetStr() ==
"GeneOntology") {
1252 const auto& goFields = ext.
GetData();
1253 for(
const auto& goField: goFields) {
1254 if(!goField->IsSetLabel() || !goField->GetLabel().IsStr()) {
1257 const auto& goLabel = goField->GetLabel().GetStr();
1258 if(goLabel ==
"Component"&& goField->IsSetData()
1259&& goField->GetData().IsFields()) {
1260 const auto& fields = goField->GetData().GetFields();
1261vector<string> goStrings;
1268 if(goLabel ==
"Process"&& goField->IsSetData()
1269&& goField->GetData().IsFields()) {
1270 const auto& fields = goField->GetData().GetFields();
1271vector<string> goStrings;
1278 if(goLabel ==
"Function"&& goField->IsSetData()
1279&& goField->GetData().IsFields()) {
1280 const auto& fields = goField->GetData().GetFields();
1281vector<string> goStrings;
1289 if(!goIds.empty()) {
1290record.
SetAttributes(
"Ontology_term", vector<string>(goIds.begin(), goIds.end()));
1292}
else if(ext.GetType().GetStr() ==
"CombinedFeatureUserObjects") {
1301 if(field_label.
IsStr() && field_label.
GetStr() ==
"GeneOntology") {
1305 for(
const auto& goField: goFields) {
1306 if(!goField->IsSetLabel() || !goField->GetLabel().IsStr()) {
1309 const auto& goLabel = goField->GetLabel().GetStr();
1310 if(goLabel ==
"Component"&& goField->IsSetData()
1311&& goField->GetData().IsFields()) {
1312 const auto& fields = goField->GetData().GetFields();
1313vector<string> goStrings;
1320 if(goLabel ==
"Process"&& goField->IsSetData()
1321&& goField->GetData().IsFields()) {
1322 const auto& fields = goField->GetData().GetFields();
1323vector<string> goStrings;
1330 if(goLabel ==
"Function"&& goField->IsSetData()
1331&& goField->GetData().IsFields()) {
1332 const auto& fields = goField->GetData().GetFields();
1333vector<string> goStrings;
1341 if(!goIds.empty()) {
1342record.
SetAttributes(
"Ontology_term", vector<string>(goIds.begin(), goIds.end()));
1363 if(
prot.CanGetEc()) {
1364 constlist<string> ec =
prot.GetEc();
1367 "ec_number", vector<string>(ec.begin(), ec.end()));
1385 for( CSeq_feat::TQual::const_iterator cit = quals.begin();
1411acceptableTranscriptTypes.end();
1450pMissingTranscript->
SetExcept(
true);
1458saeh.
AddFeat(*pMissingTranscript);
1460 context.FeatTree().AddFeature(tf);
1470 if(sublocs.size() == 1) {
1474 const auto&
front= *sublocs.front();
1476 autolastStart =
front.GetFrom();
1477 for(
autoitComp = sublocs.begin()++; itComp != sublocs.end(); itComp++) {
1478 const auto& comp = **itComp;
1482 autocompStart = comp.GetFrom();
1489lastStart = compStart;
User-defined methods of the data storage class.
@ eExtreme_Positional
numerical value
User-defined methods of the data storage class.
@Gb_qual.hpp User-defined methods of the data storage class.
virtual bool xAssignFeatureAttributeProduct(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
static bool IsTranscriptType(const CMappedFeat &)
bool xAssignFeatureAttributeIsOrdered(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool WriteAlign(const CSeq_align &, const string &asmblyName="", const string &asmblyAccession="") override
Write a Seq-align object.
virtual bool xAssignFeatureAttributeNote(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureType(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributeFunction(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureAttributeProteinId(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureAttributeDbxref(CGffFeatureRecord &, CGffFeatureContext &, const string &label, const CMappedFeat &)
bool xAssignFeatureAttributeMapLoc(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeature(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributeRptFamily(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributeCodeBreak(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool WriteAnnot(const CSeq_annot &annot, const string &asmblyName="", const string &asmblyAccession="") override
Write a trailer marking the end of a parsing context.
static bool HasAccaptableTranscriptParent(CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureAttributePseudo(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool x_WriteAssemblyInfo(const string &, const string &)
virtual bool xAssignFeatureStrand(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xWriteAllChildren(CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureAttributesFormatIndependent(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool x_WriteAnnot(const CSeq_annot &)
CGff2Writer(CScope &scope, CNcbiOstream &ostr, unsigned int flags=fNormal)
Constructor.
bool WriteBioseqHandle(CBioseq_Handle bsh, const string &asmblyName="", const string &asmblyAccession="") override
Write Bioseq contained in given handle Essentially, will write all features that live on the given Bi...
virtual bool x_WriteAlign(const CSeq_align &)
virtual bool xAssignFeatureAttributeRibosomalSlippage(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributeGeneBiotype(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xGeneratingMissingTranscripts() const
virtual bool xWriteFeature(CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributePseudoGene(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool x_WriteSeqAnnotHandle(CSeq_annot_Handle)
bool xAssignFeatureAttributeEcNumbers(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributesGoMarkup(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool x_WriteSeqEntryHandle(CSeq_entry_Handle)
virtual bool xAssignFeatureSeqId(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributeModelEvidence(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureEndpoints(CGffFeatureRecord &record, CGffFeatureContext &, const CMappedFeat &mapped_feat)
virtual bool xAssignFeatureAttributePartial(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool WriteSeqAnnotHandle(CSeq_annot_Handle sah, const string &asmblyName="", const string &asmblyAccession="") override
Write Seq-annot contained in given handle Essentially, write out embedded feature table.
virtual bool xAssignFeatureMethod(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureAttributesQualifiers(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool WriteHeader() override
Write a file header identifying the file content as GFF version 2.
virtual bool xAssignFeatureAttributes(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureAttributesFormatSpecific(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool WriteSeqEntryHandle(CSeq_entry_Handle seh, const string &asmblyName="", const string &asmblyAccession="") override
Write Seq-entry contained in a given handle.
virtual bool xAssignFeatureAttributesGene(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributeOldLocusTag(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureAttributeTranslationTable(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool x_WriteBioseqHandle(CBioseq_Handle)
bool xAssignFeatureAttributeExonNumber(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributeExperiment(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool x_WriteSequenceHeader(CBioseq_Handle)
virtual bool xAssignFeatureBasic(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeatureScore(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
virtual bool xAssignFeaturePhase(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
static bool xIntervalsNeedPartNumbers(const list< CRef< CSeq_interval >> &)
CMappedFeat xGenerateMissingTranscript(CGffFeatureContext &, const CMappedFeat &)
bool xAssignFeatureAttributeException(CGffFeatureRecord &, CGffFeatureContext &, const CMappedFeat &)
void SetSeqId(const string &)
void SetLocation(unsigned int, unsigned int, ENa_strand=objects::eNa_strand_unknown)
void SetType(const string &)
void SetMethod(const string &)
void SetStrand(ENa_strand)
bool SetAttribute(const string &, const string &)
void SetScore(const CScore &)
bool SetAttributes(const string &, const vector< string > &)
bool AddAttribute(const string &, const string &)
bool ShouldInheritPseudo() const
void AssignShouldInheritPseudo(bool shouldInheritPseudo)
feature::CFeatTree & FeatTree()
bool HasSequenceBioSource() const
CMappedFeat FindBestGeneParent(const CMappedFeat &mf)
bool IsSequenceGenomicRecord() const
void SetGbKeyFrom(CMappedFeat)
void SetEndpoints(unsigned int start, unsigned int stop, ENa_strand strand)
@RNA_ref.hpp User-defined methods of the data storage class.
T & Get(void)
Create the variable if not created yet, return the reference.
bool IsLegalQualifier(EQualifier qual) const
Test wheather a certain qualifier is legal for the feature.
namespace ncbi::objects::
static bool IsTransspliced(const CSeq_feat &feature)
static bool GetTrnaAntiCodon(const CTrna_ext &, string &)
static bool GetStringsForGoMarkup(const vector< CRef< CUser_field > > &fields, vector< string > &goMarkup, bool relaxed=false)
static bool IsLocationOrdered(const CSeq_loc &)
static bool GetDbTag(const CDbtag &, string &)
static bool GetStringForModelEvidence(CMappedFeat mf, string &mestr)
static bool GetCodeBreak(const CCode_break &, string &)
static bool GetListOfGoIds(const vector< CRef< CUser_field > > &fields, list< std::string > &goIds, bool relaxed=false)
static ENa_strand GetEffectiveStrand(const CSeq_interval &)
static bool GetTranssplicedEndpoints(const CSeq_loc &loc, unsigned int &inPoint, unsigned int &outPoint)
static bool GetTrnaCodons(const CTrna_ext &, string &)
static bool GetTrnaProductName(const CTrna_ext &, string &)
Defines and provides stubs for a general interface to a variety of file formatters.
virtual const CRange< TSeqPos > & GetRange(void) const
bool GetBestId(CSeq_id_Handle idh, CScope &scope, string &best_id) const
virtual SAnnotSelector & SetAnnotSelector(void)
unique_ptr< CGenbankIdResolve > mpIdResolve
#define MAKE_CONST_SET(name, type,...)
static const struct name_t names[]
static const char location[]
static string s_GetDbxrefFromProduct(const CMappedFeat &mf)
const CGene_ref & sGetClosestGeneRef(CGffFeatureContext &fc, const CMappedFeat &mf)
static auto s_GffIdFormatter
const TResidue codons[4][4]
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
string GetSeqIdString(bool with_version=false) const
Return seqid string with optional version for text seqid type.
@ eContent
Untagged human-readable accession or the like.
@ eFasta
Tagged ID in NCBI's traditional FASTA style.
ENa_strand GetStrand(void) const
Get the location's strand.
TRange GetTotalRange(void) const
TSeqPos GetStart(ESeqLocExtremes ext) const
Return start and stop positions of the seq-loc.
const CSeq_id * GetId(void) const
Get the id of the location return NULL if has multiple ids or no id at all.
TSeqPos GetStop(ESeqLocExtremes ext) const
bool GetFeatureGeneBiotypeFaster(feature::CFeatTree &ft, CMappedFeat mf, string &biotype)
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
@ eGetId_ForceAcc
return only an accession based seq-id
@ eGetId_ForceGi
return only a gi-based seq-id
void RemoveSeq_annot(const CSeq_annot_Handle &annot)
Revoke Seq-annot previously added using AddSeq_annot().
static CRef< CObjectManager > GetInstance(void)
Return the existing object manager or create one.
CBioseq_Handle GetBioseqHandle(const CSeq_id &id)
Get bioseq handle by seq-id.
void AddDefaults(TPriority pri=kPriority_Default)
Add default data loaders from object manager.
CSeq_annot_Handle AddSeq_annot(CSeq_annot &annot, TPriority pri=kPriority_Default, EExist action=eExist_Throw)
Add Seq-annot, return its CSeq_annot_Handle.
CBioseq_Handle GetObjectHandle(const CBioseq &bioseq, EMissing action=eMissing_Default)
const string & GetNamedQual(const CTempString &qual_name) const
Return a named qualifier.
bool IsSetExcept(void) const
bool GetExcept(void) const
bool GetPseudo(void) const
TClass GetClass(void) const
const CSeq_annot_Handle & GetAnnot(void) const
Get handle to seq-annot for this feature.
bool IsSetDbxref(void) const
const CSeqFeatData & GetData(void) const
const CProt_ref * GetProtXref(void) const
get protein (if present) from Seq-feat.xref list
bool IsSetExcept_text(void) const
CConstRef< CSeq_annot > GetCompleteSeq_annot(void) const
Complete and return const reference to the current seq-annot.
CSeq_feat_EditHandle AddFeat(const CSeq_feat &new_obj) const
bool IsSetProduct(void) const
const CUser_object & GetExt(void) const
const string & GetExcept_text(void) const
bool IsSetClass(void) const
CSeq_annot_EditHandle GetEditHandle(void) const
Get 'edit' version of handle.
CScope & GetScope(void) const
Get scope this handle belongs to.
const CSeq_feat::TDbxref & GetDbxref(void) const
bool IsSetQual(void) const
CSeqFeatData::ESubtype GetFeatSubtype(void) const
CSeqFeatData::E_Choice GetFeatType(void) const
const CGene_ref * GetGeneXref(void) const
get gene (if present) from Seq-feat.xref list
bool IsSetPseudo(void) const
const CSeq_feat::TQual & GetQual(void) const
bool IsSetExt(void) const
bool IsSetData(void) const
CSeq_id_Handle GetProductId(void) const
bool IsSetPartial(void) const
const CSeq_loc & GetLocation(void) const
bool GetPartial(void) const
bool IsMapped(void) const
Fast way to check if mapped feature is different from the original one.
const CSeq_loc & GetProduct(void) const
SAnnotSelector & SetSortOrder(ESortOrder sort_order)
Set sort order of annotations.
CConstRef< CSeq_feat > GetSeq_feat(void) const
Get current seq-feat.
@ eSortOrder_Normal
default - increasing start, decreasing length
void Reset(void)
Reset reference object.
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty â pointing to an object and has a non-null value.
bool NotEmpty(void) const
TThisType IntersectionWith(const TThisType &r) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static string IntToString(int value, TNumToStringFlags flags=0, int base=10)
Convert int to string.
static const char label[]
TTo GetTo(void) const
Get the To member data.
TFrom GetFrom(void) const
Get the From member data.
bool IsSetMaploc(void) const
descriptive map location Check if a value has been assigned to Maploc data member.
const TMaploc & GetMaploc(void) const
Get the Maploc member data.
bool IsStr(void) const
Check if variant Str is selected.
const TData & GetData(void) const
Get the Data member data.
const TFields & GetFields(void) const
Get the variant data.
bool IsFields(void) const
Check if variant Fields is selected.
bool IsSetLabel(void) const
field label Check if a value has been assigned to Label data member.
const TStr & GetStr(void) const
Get the variant data.
const TData & GetData(void) const
Get the Data member data.
const TLabel & GetLabel(void) const
Get the Label member data.
bool IsSetData(void) const
Check if a value has been assigned to Data data member.
vector< CRef< CUser_field > > TData
const TName & GetName(void) const
Get the Name member data.
bool IsSetName(void) const
protein name Check if a value has been assigned to Name data member.
const TVal & GetVal(void) const
Get the Val member data.
void ResetPartial(void)
Reset Partial data member.
E_Choice Which(void) const
Which variant is currently selected.
bool IsSetCode(void) const
genetic code used Check if a value has been assigned to Code data member.
void SetLocation(TLocation &value)
Assign a value to Location data member.
bool IsCdregion(void) const
Check if variant Cdregion is selected.
bool IsSetPartial(void) const
incomplete in some way? Check if a value has been assigned to Partial data member.
E_Choice
Choice variants.
void SetExcept(TExcept value)
Assign a value to Except data member.
bool IsGene(void) const
Check if variant Gene is selected.
const TCode & GetCode(void) const
Get the Code member data.
void SetData(TData &value)
Assign a value to Data data member.
const TCdregion & GetCdregion(void) const
Get the variant data.
bool IsSetQual(void) const
Check if a value has been assigned to Qual data member.
const TGene & GetGene(void) const
Get the variant data.
TPartial GetPartial(void) const
Get the Partial member data.
void SetExcept_text(const TExcept_text &value)
Assign a value to Except_text data member.
const TProt & GetProt(void) const
Get the variant data.
vector< CRef< CGb_qual > > TQual
const TQual & GetQual(void) const
Get the Qual member data.
const TRna & GetRna(void) const
Get the variant data.
const TCode_break & GetCode_break(void) const
Get the Code_break member data.
bool IsSetCode_break(void) const
individual exceptions Check if a value has been assigned to Code_break data member.
@ eClass_nuc_prot
nuc acid and coded proteins
@ eClass_genbank
converted genbank
constexpr auto front(list< Head, As... >, T=T()) noexcept -> Head
constexpr bool empty(list< Ts... >) noexcept
Static variables safety - create on demand, destroy on application termination.
static CS_CONTEXT * context
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