39 #ifndef OBJECTS_SEQFEAT_VARIATION_REF_HPP
40 #define OBJECTS_SEQFEAT_VARIATION_REF_HPP
82 void SetMissense(
const CSeq_data& amino_acid);
93 void SetSNV(
const vector<string>& replaces,
99 void SetMNP(
const vector<string>& replaces,
105 bool IsDeletion()
const;
108 void SetInsertion(
const string& sequence, ESeqType seq_type);
109 bool IsInsertion()
const;
115 void SetDeletionInsertion(
const string& sequence, ESeqType seq_type);
116 bool IsDeletionInsertion()
const;
120 void SetMicrosatellite(
const string& nucleotide_seq,
122 bool IsMicrosatellite()
const;
126 void SetMicrosatellite(
const string& nucleotide_seq,
127 const vector<TSeqPos>& observed_repeats);
148 void SetCNV(
const vector<TSeqPos>& observed_copies);
152 void SetInversion(
const CSeq_loc& other_loc);
153 bool IsInversion()
const;
157 void SetEversion(
const CSeq_loc& other_loc);
158 bool IsEversion()
const;
164 void SetTranslocation(
const CSeq_loc& other_loc);
165 bool IsTranslocation()
const;
168 void SetUniparentalDisomy();
169 bool IsUniparentalDisomy()
const;
173 bool IsComplex()
const;
177 bool IsUnknown()
const;
181 bool IsOther()
const;
User-defined methods of the data storage class.
CVariation_ref(const CVariation_ref &value)
CVariation_ref & operator=(const CVariation_ref &value)
ESeqType
Enum governing sequence types for supplied sequence strings.
CVariation_ref_Base Tparent
unsigned int TSeqPos
Type for sequence locations and lengths.
#define NCBISER_HAVE_POST_READ(Class)
ENetStorageObjectLocation
Enumeration that indicates the current location of the object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_SEQFEAT_EXPORT
void ResetClinical_test(void)
Reset Clinical_test data member.
TAllele_origin GetAllele_origin(void) const
Get the Allele_origin member data.
void ResetPopulation_data(void)
Reset Population_data data member.
TIs_ancestral_allele & SetIs_ancestral_allele(void)
Assign a value to Is_ancestral_allele data member.
bool CanGetAllele_frequency(void) const
Check if it is safe to call GetAllele_frequency method.
void ResetValidated(void)
Reset Validated data member.
bool CanGetExt_locs(void) const
Check if it is safe to call GetExt_locs method.
void ResetAllele_frequency(void)
Reset Allele_frequency data member.
bool CanGetExt(void) const
Check if it is safe to call GetExt method.
bool IsSetAllele_origin(void) const
Check if a value has been assigned to Allele_origin data member.
bool CanGetLocation(void) const
Check if it is safe to call GetLocation method.
TValidated & SetValidated(void)
Assign a value to Validated data member.
bool CanGetAllele_state(void) const
Check if it is safe to call GetAllele_state method.
bool CanGetValidated(void) const
Check if it is safe to call GetValidated method.
bool IsSetPopulation_data(void) const
Note about SNP representation and pretinent fields: allele-frequency, population, quality-codes: The ...
bool CanGetAllele_origin(void) const
Check if it is safe to call GetAllele_origin method.
TLocation & SetLocation(void)
Assign a value to Location data member.
bool IsSetPub(void) const
publication support.
void ResetLocation(void)
Reset Location data member.
void ResetExt(void)
Reset Ext data member.
void ResetAllele_state(void)
Reset Allele_state data member.
const TClinical_test & GetClinical_test(void) const
Get the Clinical_test member data.
bool IsSetAllele_frequency(void) const
NOTE: 'allele-frequency' here refers to the minor allele frequency of the default population DEPRECAT...
const TLocation & GetLocation(void) const
Get the Location member data.
TValidated GetValidated(void) const
Get the Validated member data.
TExt_locs & SetExt_locs(void)
Assign a value to Ext_locs data member.
void ResetExt_locs(void)
Reset Ext_locs data member.
TClinical_test & SetClinical_test(void)
Assign a value to Clinical_test data member.
bool IsSetAllele_state(void) const
Check if a value has been assigned to Allele_state data member.
bool IsSetIs_ancestral_allele(void) const
is this variant the ancestral allele? DEPRECATED: new field = VariantProperties.is-ancestral-allele C...
TAllele_state & SetAllele_state(void)
Assign a value to Allele_state data member.
bool IsSetClinical_test(void) const
link-outs to GeneTests database DEPRECATED - do not use Check if a value has been assigned to Clinica...
TAllele_frequency GetAllele_frequency(void) const
Get the Allele_frequency member data.
void ResetAllele_origin(void)
Reset Allele_origin data member.
void ResetPub(void)
Reset Pub data member.
bool IsSetLocation(void) const
Observed location, if different from the parent set or feature.location.
bool IsSetValidated(void) const
has this variant been validated? DEPRECATED: new field = VariantProperties.other-validation Check if ...
TPopulation_data & SetPopulation_data(void)
Assign a value to Population_data data member.
const TPopulation_data & GetPopulation_data(void) const
Get the Population_data member data.
TIs_ancestral_allele GetIs_ancestral_allele(void) const
Get the Is_ancestral_allele member data.
TAllele_origin & SetAllele_origin(void)
Assign a value to Allele_origin data member.
bool CanGetPub(void) const
Check if it is safe to call GetPub method.
bool CanGetPopulation_data(void) const
Check if it is safe to call GetPopulation_data method.
void ResetIs_ancestral_allele(void)
Reset Is_ancestral_allele data member.
TAllele_frequency & SetAllele_frequency(void)
Assign a value to Allele_frequency data member.
bool CanGetClinical_test(void) const
Check if it is safe to call GetClinical_test method.
const TExt_locs & GetExt_locs(void) const
Get the Ext_locs member data.
bool IsSetExt_locs(void) const
reference other locs, e.g.
bool CanGetIs_ancestral_allele(void) const
Check if it is safe to call GetIs_ancestral_allele method.
TPub & SetPub(void)
Assign a value to Pub data member.
const TExt & GetExt(void) const
Get the Ext member data.
const TPub & GetPub(void) const
Get the Pub member data.
TExt & SetExt(void)
Assign a value to Ext data member.
bool IsSetExt(void) const
DEPRECATED - do not use; use Seq-feat.exts instead Check if a value has been assigned to Ext data mem...
TAllele_state GetAllele_state(void) const
Get the Allele_state member data.
const GenericPointer< typename T::ValueType > T2 value