A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/group__GUI__OBJUTILS.html below:

GUI Object Utility Classes and Modules

Utility and support routines for the GUI framework. More...

enum   CAlignmentSmear::EAlignSmearStrand { CAlignmentSmear::eSmearStrand_Both , CAlignmentSmear::eSmearStrand_Pos , CAlignmentSmear::eSmearStrand_Neg }   enum   CAnnotMetaData::ELinksStatus { CAnnotMetaData::ELinksStatus_Undef , CAnnotMetaData::ELinksStatus_Present , CAnnotMetaData::ELinksStatus_Absent }   enum   CNAUtils::EEntrezDB { CNAUtils::EEDB_Undef , CNAUtils::EEDB_Nucleotide , CNAUtils::EEDB_Protein , CNAUtils::EEDB_All }   eutils databases that can be used More...
  enum   CNAUtils::EMetaDataSource {
  CNAUtils::EMetaDataSource_Undef , CNAUtils::EMetaDataSource_Cache , CNAUtils::EMetaDataSource_Mixed , CNAUtils::EMetaDataSource_Eutils ,
  CNAUtils::EMetaDataSource_EmptyRequest , CNAUtils::EMetaDataSource_EmptyAfterFilteringRequest
}   source of obtained NA metadata were internal caches hit, partially hit or totally missed during some cached operations More...
  enum   CNAUtils::EUidsSource {
  CNAUtils::EUidsSource_Undef , CNAUtils::EUidsSource_Cache , CNAUtils::EUidsSource_Mixed , CNAUtils::EUidsSource_Eutils ,
  CNAUtils::EUidsSource_EmptyRequest
}   enum   CSeqUtils::EAnnotationNameType { CSeqUtils::eAnnot_Unnamed , CSeqUtils::eAnnot_Named , CSeqUtils::eAnnot_All , CSeqUtils::eAnnot_Other }   flags for classifying annotation names. More...
  enum   { CSeqUtils::fFeature_LinkFeatures = 0x1 , CSeqUtils::fFeature_Default = 0 }   flags controlling feature retrieval More...
  enum   { CSeqUtils::fAnnot_UnsetNamed = 0x01 , CSeqUtils::fAnnot_UnsetDepth = 0x02 }   flags controlling use of annotation selectors More...
  enum   CSeqUtils::EBlastTrackShowFlags { CSeqUtils::fBlastTrackShowFlag_Original = (1 << 1) , CSeqUtils::fBlastTrackShowFlag_Cleaned = (1 << 2) }   flags controlling BLAST track default visibility More...
  enum   ETearLineLimits { eAdaptiveRowLimit = 256 , eMaxRowLimit = 500 }   enum   CAlignGlyph::EAlignSpacing { CAlignGlyph::eOne2One , CAlignGlyph::eOne2Three , CAlignGlyph::eThree2One }   enum   CAlignGlyph::ETail { CAlignGlyph::e5_Prime , CAlignGlyph::e3_Prime }   static void  CTMSUtils::GetTrackMetaData (vector< CRef< CAnnotMetaData > > &data, const string &accession, const string &assembly, const string &context)     CAlignmentSmear::CAlignmentSmear (const objects::CBioseq_Handle &handle, TSeqPos start, TSeqPos stop, float window=1, EAlignSmearStrand strand_type=eSmearStrand_Both)   void  CAlignmentSmear::AddAnnot (const objects::CSeq_annot &seq_annot, ISeqTaskProgressCallback *p_cb=NULL)   INPUT: More...
  void  CAlignmentSmear::AddAlignments (const objects::SAnnotSelector &sel, ISeqTaskProgressCallback *p_cb=NULL)   Smear all the alignments matched by this selector on my bioseq. More...
  bool  CAlignmentSmear::AddAlignments (objects::CAlign_CI &align_iter, ISeqTaskProgressCallback *p_cb=NULL)   Smear all the alignments in CAlign_CI. More...
  void  CAlignmentSmear::AddAlignment (const CSparseAln &aln)   Add this one alignment to my smear. More...
  void  CAlignmentSmear::AddAlignment (const objects::CAlnMap &align)   Add this one alignment to my smear. More...
  void  CAlignmentSmear::MaskGaps ()   string  CAlignmentSmear::GetLabel () const   void  CAlignmentSmear::SetLabel (const string &label)   EAlignSmearStrand  CAlignmentSmear::GetStrandType () const   static bool  CAlignmentSmear::SeparateStrands (const objects::CSeq_annot &seq_annot)   runlen_iterator  CAlignmentSmear::SmearSegBegin () const   OUTPUT: More...
  runlen_iterator  CAlignmentSmear::SmearGapBegin () const   score_type  CAlignmentSmear::GetMaxValue () const   static string  CAlignmentSmear::x_GetAnnotName (const objects::CSeq_annot &seq_annot)     CTrackInfo::CTrackInfo ()   bool  CAnnotMetaData::operator< (const CAnnotMetaData &meta) const     CAnnotMetaData::CAnnotMetaData ()   bool  operator< (const CRef< CAnnotMetaData > &a1, const CRef< CAnnotMetaData > &a2)     CBioTreeAttrReader::CBioTreeAttrReader ()   void  CBioTreeAttrReader::Read (CNcbiIstream &is, TAttrTable &attr_table)   Read attributes stream into the table. More...
  void  CBioTreeAttrReader::CheckLineReader (ILineReader &ilr)   void  CBioTreeAttrReader::TableValueDecode (string &s)     CBioTreeAttrReader::CBioTreeAttrReader (const CBioTreeAttrReader &)   CBioTreeAttrReaderCBioTreeAttrReader::operator= (const CBioTreeAttrReader &)     CLayoutFeatLabel::CLayoutFeatLabel (const objects::CMappedFeat &feat)   int  CLayoutFeatLabel::GetColumn (void) const   void  CLayoutFeatLabel::SetColumn (int col)   void  CLayoutFeatLabel::SetRange (TSeqPos from, TSeqPos to)   virtual CConstRef< CObjectCLayoutFeatLabel::GetObject (TSeqPos pos) const   virtual void  CLayoutFeatLabel::GetObjects (vector< CConstRef< CObject > > &objs) const   const objects::CSeq_loc &  CLayoutFeatLabel::GetLocation (void) const   TSeqRange  CLayoutFeatLabel::GetRange (void) const   EType  CLayoutFeatLabel::GetType () const   static string  CDataTrackUtils::GetAlignType (const objects::CSeq_align &align, objects::CScope &scope)   Get alignment type. More...
  static void  CDataTrackUtils::GetFeatSubtypes (const objects::CSeq_annot &annot, set< string > &subtypes)   Collect unique list of feature subtypes for all features in a seq-annot. More...
  static bool  CDataTrackUtils::IsGeneModelFeature (int type, int subtype)   Does feature belong to gene model track Gene, RNA, cdregion, exon, C_region, and VDJ segments. More...
  static void  CDataTrackUtils::FeatSubtypes2TrackSubtypes (set< string > &subtypes, const set< string > &feat_subtypes)   Convert feature subtypes to track subtypes. More...
  static void  CDataTrackUtils::GetColumnHeader (set< string > &headers, const objects::CSeq_annot &annot)   Collect all column header names for a given seq-table. More...
  static string  CDataTrackUtils::GetSeqTableSubtype (const set< string > &headers)   Guess the track subtype based on seq-table headers. More...
  static CTrackInfo::TTrackInfoList  CDataTrackUtils::GetTrackInfo (objects::CSeq_annot_Handle annot_handle)   Get data track information from a seq-annot. More...
  static CTrackInfo::TTrackInfoList  CDataTrackUtils::GetTrackInfo (const objects::CSeq_annot &annot, objects::CScope &scope)   static void  CDataTrackUtils::DataType2TrackType (const string &annot_type, const string &subtype, string &track_key, string &subkey)   Map data type to track type. More...
    CNAUtils::CNAUtils ()   Default ctor. More...
    CNAUtils::CNAUtils (const objects::CSeq_id &id)   Ctor with target sequence id. More...
    CNAUtils::CNAUtils (const objects::CSeq_id &id, objects::CScope &scope)   Ctor with target sequence id and a scope. More...
  void  CNAUtils::GetAllNAAs (TNAAs &naas, const string &context="") const   Get a list of NAAs associated with the target sequence. More...
  static void  CNAUtils::GetAllGIs (const TNAA &naa, EEntrezDB eedb, TGis &gis, EUidsSource *pUidsSource=NULL)   void  CNAUtils::GetNAMetaData (TNAMetaDataSet &md_set, const string &na, bool filtering=false, EMetaDataSource *pMDSource=NULL, EUidsSource *pUidsSource=NULL, bool isGetLinks=true) const   Get meta-data for a specific NA. More...
  void  CNAUtils::GetNAMetaData (TNAMetaDataSet &md_set, const TNAAs &naas, bool filtering=false, EMetaDataSource *pMDSource=NULL, EUidsSource *pUidsSource=NULL, bool isGetLinks=true) const   Get meta-data for a list of NAAs. More...
  void  CNAUtils::GetAllNAMetaData (TNAMetaDataSet &md_set, const string &context="", ICanceled *canceledCallback=0) const   Get meta-data for a given NAA associated with seq_id. More...
  void  CNAUtils::GetNATrackInfo (TTrackInfoList &track_info, const string &naa) const   Do data track discovery for a given NA. More...
  void  CNAUtils::GetNATrackInfo (TTrackInfoList &track_info, const string &naa, const TNAMetaDataSet &md_set) const   Do data track discovery for a given NA with meta-data. More...
  void  CNAUtils::GetNATrackInfo (TTrackInfoList &track_info, const TNAAs &naas) const   Do data track discovery for a list of NAs. More...
  void  CNAUtils::GetNATrackInfo (TTrackInfoList &track_info, const TNAAs &naas, const TNAMetaDataSet &md_set) const   Do data track discovery for a list of NAs with meta-data. More...
  void  CNAUtils::SetMaxNAs (int size)   void  CNAUtils::x_Init ()   Initialize some internal states. More...
  void  CNAUtils::x_GetNAIds (TEntrezIds &uids, const string &context="") const   Get all available NA uids w/wo a context. More...
  static bool  CNAUtils::x_GetNAId (TEntrezId &uid, const string &naa, EUidsSource *pUidsSource=NULL)   get an id for a given NAA string returns false if no id is found More...
  void  CNAUtils::x_GetAllNAIds (TEntrezIds &uids) const   get all available NA uids for a given gi. More...
  void  CNAUtils::x_FilterNAIds (TEntrezIds &uids, EUidsSource *pUidsSource=NULL) const   filter a given list of NA uids and keep only the ones that are related to a given gi (m_GI) More...
  bool  CNAUtils::x_NAIdMatchesGI (TEntrezId uid, EUidsSource *pUidsSource=NULL) const   returns true if an uid is related to a given gi (m_GI) or GI is ZERO_GI More...
  void  CNAUtils::x_GetAllNAIdsWithContext (TEntrezIds &uids, const string &context) const   get all available NA ids applied to a viewer context for a given gi. More...
  void  CNAUtils::x_GetNAAs (TNAAs &naas, const TEntrezIds &uids) const   Retrieve NAAs for a list of NA uids. More...
  static void  CNAUtils::x_GetAllGIs (TEntrezId uid, EEntrezDB eedb, TGis &gis, EUidsSource *pUidsSource=NULL, bool isIncremental=false)   get all GIs for a given uid this needs a given database where to search for GIs More...
  void  CNAUtils::x_GetAllGIs (TEntrezId uid, TGis &gis, EUidsSource *pUidsSource=NULL) const   this uses m_SeqDB More...
  void  CNAUtils::x_GetNAMetaData (TNAMetaDataSet &md_set, const TEntrezIds &uids, bool isGetLinks, EMetaDataSource *pSource=NULL) const   Retrieve NA meta data for a list of NA uids. More...
  void  CNAUtils::x_SearchNAIds (TEntrezIds &uids, const TNAAs &naas, bool filtering, EUidsSource *pUidsSource=NULL) const   Search all NAAs for a given term. More...
  void  CNAUtils::x_ParseNAMetaData (CAnnotMetaData &data, const char *xml_str) const   Parse the meta-data xml DocSum. More...
  void  CNAUtils::x_GetNAEntrezLinks (CAnnotMetaData &data) const   Retrieve Entrez links for a given NA. More...
    CNAUtils::DECLARE_CLASS_STATIC_FAST_MUTEX (sm_NAAtoUidCacheMutex)     CNAUtils::DECLARE_CLASS_STATIC_FAST_MUTEX (sm_UidtoMetaDataCacheMutex)     CNAUtils::DECLARE_CLASS_STATIC_FAST_MUTEX (sm_UidtoGiCacheMutex)   virtual const stringINonAsnTrackData::GetKey () const =0   virtual const stringINonAsnTrackData::GetSubkey () const =0   virtual const stringINonAsnTrackData::GetDisplayName () const =0   virtual bool  INonAsnTrackData::GetShown () const =0   virtual const stringINonAsnTrackData::GetCategory () const =0   virtual const stringINonAsnTrackData::GetSubcategory () const =0   virtual const TAnnotsINonAsnTrackData::GetAnnots () const =0   virtual shared_ptr< TDataBlobINonAsnTrackData::GetBlob () const =0   virtual const string  INonAsnTrackData::GetDataSourceTypeName () const =0   virtual void  INonAsnTrackData::DoSearch (const objects::CSeq_id *seq_id, const string &sSearchTerm, list< CRef< CObject >> &results) const =0   virtual  INonAsnTrackData::~INonAsnTrackData ()   virtual INonAsnTrackDataINonAsnTrackDataFactory::CreateTrackData (const objects::CSeq_id &seq_id, const objects::CProjectItem &item) const =0   virtual  INonAsnTrackDataFactory::~INonAsnTrackDataFactory ()   virtual void  INonAsnDataRegistry::AddNonAsnData (const INonAsnTrackData &data)=0   virtual void  INonAsnDataRegistry::RemoveNonAsnData (const INonAsnTrackData &data)=0   virtual bool  INonAsnDataRegistry::HasNonAsnData (const string &annot_name) const =0   virtual shared_ptr< TDataBlobINonAsnDataRegistry::GetNonAsnDataBlob (const string &annot_name) const =0   virtual  INonAsnDataRegistry::~INonAsnDataRegistry ()   virtual void  INonAsnDataSource::SetNonAsnDataRegistry (const INonAsnDataRegistry *registry)=0   virtual bool  INonAsnDataSource::HasNonAsnData (const string &annot_name) const =0   virtual shared_ptr< TDataBlobINonAsnDataSource::GetNonAsnDataBlob (const string &annot_name) const =0   virtual void  INonAsnDataSource::DoSearch (const string &annot_name, const string &sSearchTerm, list< CRef< CObject >> &results) const =0   virtual  INonAsnDataSource::~INonAsnDataSource ()   static size_t  INonAsnDataSource::s_LoadBlob (TDataBlob &blob, CNcbiIstream &blob_stream, size_t blob_size)     CLayoutPWAlign::CLayoutPWAlign (CConstRef< IAlnGraphicDataSource > aln_mgr, const objects::CSeq_align_Handle &orig_align, const objects::CSeq_align &mapped_align)   EType  CLayoutPWAlign::GetType () const   virtual void  CLayoutPWAlign::x_CalcIntervals (void) const     CLinkedFeature::CLinkedFeature (const objects::CMappedFeat &feat)   const objects::CMappedFeat &  CLinkedFeature::GetMappedFeature () const   objects::CMappedFeat &  CLinkedFeature::GetMappedFeature ()   const objects::CSeq_feat &  CLinkedFeature::GetFeature () const   const TLinkedFeatsCLinkedFeature::GetChildren () const   TLinkedFeatsCLinkedFeature::GetChildren ()   void  CLinkedFeature::AddChild (CLinkedFeature *feat)   void  CLinkedFeature::AddChild (const objects::CMappedFeat &feat)   virtual void  ISeqTaskProgressCallback::SetTaskName (const string &name)=0   virtual void  ISeqTaskProgressCallback::SetTaskCompleted (int completed)=0   set total finished task number. More...
  virtual void  ISeqTaskProgressCallback::AddTaskCompleted (int delta)=0   set to add newly finished task number. More...
  virtual void  ISeqTaskProgressCallback::SetTaskTotal (int total)=0   virtual bool  ISeqTaskProgressCallback::StopRequested () const =0   virtual  ISeqTaskProgressCallback::~ISeqTaskProgressCallback ()   static TAnnotNameType  CSeqUtils::NameTypeStrToValue (const string &type)   static const stringCSeqUtils::NameTypeValueToStr (TAnnotNameType type)   static objects::SAnnotSelector  CSeqUtils::GetAnnotSelector (TAnnotFlags flags=0)   request an annotation selector for a given type More...
  static objects::SAnnotSelector  CSeqUtils::GetAnnotSelector (objects::SAnnotSelector::TAnnotType choice, TAnnotFlags flags=0)   static objects::SAnnotSelector  CSeqUtils::GetAnnotSelector (objects::SAnnotSelector::TFeatType, TAnnotFlags flags=0)   static objects::SAnnotSelector  CSeqUtils::GetAnnotSelector (objects::SAnnotSelector::TFeatSubtype, TAnnotFlags flags=0)   static objects::SAnnotSelector  CSeqUtils::GetAnnotSelector (const vector< string > &annots)   create a annotation selector for collecting annotation names only. More...
  static objects::SAnnotSelector  CSeqUtils::GetAnnotSelector (const vector< string > &annots, bool adaptive, int depth)   static void  CSeqUtils::SetAnnot (objects::SAnnotSelector &sel, const string &annot)   help function for setting up an annotation. More...
  static CRegistryReadView  CSeqUtils::GetSelectorRegistry ()   helper functions to read selector-related tune-up info (mostly segment limits) from registry: More...
  static int  CSeqUtils::GetMaxSearchSegments (const CRegistryReadView &view)   static objects::SAnnotSelector::EMaxSearchSegmentsAction  CSeqUtils::GetMaxSearchSegmentsAction (const CRegistryReadView &view)   static int  CSeqUtils::GetMaxSearchTime (const CRegistryReadView &view)   static bool  CSeqUtils::CheckMaxSearchSegments (int actual, int max, objects::SAnnotSelector::EMaxSearchSegmentsAction action)   check actual number of segments against max and perform the action if the actual number is more than max returns true if actual is more than max More...
  static void  CSeqUtils::SetResolveDepth (objects::SAnnotSelector &sel, bool adaptive, int depth=-1)   help function for setting selector resolve depth. More...
  static bool  CSeqUtils::LinkFeatures (CLinkedFeature::TLinkedFeats &feats, TFeatLinkingMode mode=1, ISeqTaskProgressCallback *p_cb=NULL)   Link features into a hierarchical list. More...
  static CRef< objects::CSeq_loc >  CSeqUtils::RemapChildToParent (const objects::CSeq_loc &parent, const objects::CSeq_loc &child, objects::CScope *scope=NULL)   remap a location to a parent location. More...
  static bool  CSeqUtils::Match (const objects::CSeq_id &id1, const objects::CSeq_id &id2, objects::CScope *scope=NULL)   check to see if two seq-ids are identical. More...
  static bool  CSeqUtils::Match (const objects::CSeq_id_Handle &id1, const objects::CSeq_id_Handle &id2, objects::CScope *scope=NULL)   static CRef< objects::CSeq_loc >  CSeqUtils::CreateSeq_loc (const objects::CSeq_id &id, const CRangeCollection< TSeqPos > &ranges)   static bool  CSeqUtils::GetRangeCollection (const objects::CSeq_id &id, const objects::CHandleRangeMap &map, CRangeCollection< TSeqPos > &ranges)   static objects::CBioseq *  CSeqUtils::SeqLocToBioseq (objects::CScope &scope, const objects::CSeq_loc &loc)   Construct a bioseq to fit a given location. More...
  static CRef< objects::CSeq_loc >  CSeqUtils::MixLocToLoc (const objects::CSeq_loc &mix_loc, const objects::CBioseq_Handle &handle)   Create a new seq-loc with a unique seq-id from a "mixed" loc. More...
  static string  CSeqUtils::GetAnnotName (const objects::CSeq_annot_Handle &annot_handle)   static string  CSeqUtils::GetAnnotName (const objects::CSeq_annot &annot)   static string  CSeqUtils::GetAnnotComment (const objects::CSeq_annot_Handle &annot_handle)   static string  CSeqUtils::GetAnnotComment (const objects::CSeq_annot &annot)   static CConstRef< objects::CUser_field >  CSeqUtils::GetAnnotUserField (const objects::CSeq_annot &annot, const string &type, const string &label)   static bool  CSeqUtils::IsNAA (const string &annot, bool isStrict=false)   check if a given annotation is a named annotation accession[.version][number] when isSctrict == false, includes extended NAs since it is considered no harm to relax the rules for all NAs More...
  static bool  CSeqUtils::IsNAA_Name (const string &annot)   check if a given annotation is a named annotation name with '.' replaced with '_'. More...
  static bool  CSeqUtils::IsExtendedNAA (const string &annot, bool isStrict=false)   check if a given annotation is an extended NAA (named accession[.version][number], as used in e.g. More...
  static bool  CSeqUtils::IsExtendedNAA_Name (const string &annot)   check if a given annotation is an extended NAA name with '.' replaced with '_'. More...
  static bool  CSeqUtils::IsAlignDb (const string &annot)   check if a given annotation is AlignDb (potentially suffixed with batch identication string after a '#') More...
  static string  CSeqUtils::GetAlignDbBatch (const string &annot)   get a batch string from AlignDb annotation suffixed with batch identication string after a '#' More...
  static string  CSeqUtils::GetAlignDbIsQuery (const string &annot)   get a is_source_assembly_query string from AlignDb annotation suffixed after a second '#' More...
  static string  CSeqUtils::MakeRmtAnnotName (const string &sSuffix)   create an annotation name for a remote file pipeline, appending sSuffix More...
  static bool  CSeqUtils::isRmtAnnotName (const string &sAnnotname)   check if a given annotation was created by a remote file pipeline More...
  static bool  CSeqUtils::isRmtPipelineFileType (const string &sFileType)   check if a file type is one of remote file types More...
  static bool  CSeqUtils::IsUnnamed (const string &annot)   check if a given annotation is a unnamed annotation. More...
  static const stringCSeqUtils::GetUnnamedAnnot ()   Get the commonly used symbol representing a unnnamed annotation. More...
  static bool  CSeqUtils::IsVDBAccession (const string &acc)   Check if string starts with ("SRA", "SRR", "DRR", "ERR") More...
  static bool  CSeqUtils::IsPseudoFeature (const objects::CSeq_feat &feat)   static bool  CSeqUtils::IsPartialFeature (const objects::CSeq_feat &feat)   static bool  CSeqUtils::IsPartialStart (const objects::CSeq_loc &loc)   static bool  CSeqUtils::IsPartialStop (const objects::CSeq_loc &loc)   static bool  CSeqUtils::IsSameStrands (const objects::CSeq_loc &loc)   static bool  CSeqUtils::IsException (const objects::CSeq_feat &feat)   static string  CSeqUtils::GetNcbiBaseUrl ()   static string  CSeqUtils::CreateTableStart ()   help methods for creating HTML text More...
  static string  CSeqUtils::CreateTableEnd ()   static string  CSeqUtils::CreateTableRow (const string &tag="", const string &value="")   static string  CSeqUtils::CreateSectionRow (const string &tag)   static string  CSeqUtils::CreateLinkRow (const string &tag, const string &label, const string &url)   static bool  CSeqUtils::isQuasiLocal (const objects::CBioseq_Handle &handle)   check that a given accession is either local or unrecognizable this can be important to avoid unnecessary calls to NCBI services More...
  static TLocVec  CSeqUtils::GetGiPlacements (TGi gi, int time_out_sec=5, THTTP_Flags flags=fHTTP_AutoReconnect)   Retrieve mapped-up sequences. More...
  static bool  CSeqUtils::CanHavePlacements (const objects::CSeq_id &seqid)   check that a given seq-id can potentially have placements (to weed out cases like local ids) More...
  static TLocVec  CSeqUtils::GetAccessionPlacements (const objects::CSeq_id &id, objects::CScope &scope, int time_out_sec=1, THTTP_Flags flags=fHTTP_AutoReconnect)   Retrieve mapped-up sequences. More...
  static TLocVec  CSeqUtils::GetAccessionPlacementsMsec (const objects::CSeq_id &id, objects::CScope &scope, unsigned long time_out_msec=1000, THTTP_Flags flags=fHTTP_AutoReconnect)   same, with a timeout in milliseconds More...
  static TLocVec  CSeqUtils::GetLocPlacements (const objects::CSeq_loc &loc, int time_out_sec=1)   Retrieve locations on mapped-up sequences Help method for retrieving upper level sequences for a given loc. More...
  static bool  CSeqUtils::StringToRange (const string &range_str, long &from, long &to)   Convert a range string to a range. More...
  static string  CSeqUtils::GetChrGI (TGi gi)   try to get a chromosome from a GI More...
  static string  CSeqUtils::GetChrId (const string &id_str, objects::CScope &scope)   same as GetChrGI(), but takes an string with id (that must correspond to some GI) More...
  static void  CSeqUtils::GetAssmIds_GIChr (TEntrezIds &gc_ids, TGi gi)   get all assembly ids associated with a gi where this gi is a chromosome More...
  static void  CSeqUtils::GetAssmAccs_Gi (TAccs &accs, TGi gi)   get all assembly accessions corresponding to a GI More...
  static void  CSeqUtils::GetAssmIds_GI (TEntrezIds &gc_ids, TGi gi)   get all assembly ids associated with a gi. More...
  static bool  CSeqUtils::isTopLevel (const objects::CSeq_id &seq_id, const string &assm_acc, objects::CScope *scope=NULL)   static TMappingInfo  CSeqUtils::GetRnaMappingInfo (const objects::CSeq_loc &feat_loc, const objects::CMappedFeat &feat, const objects::CBioseq_Handle &handle)   Helper function to generate mapping info between the specified product sequence and genomic sequence using the anotated alignment. More...
  static TMappingInfo  CSeqUtils::GetCdsMappingInfoFromRna (const TMappingInfo &rna_mapping_info, const objects::CSeq_feat &rna_feat, const objects::CMappedFeat &mapped_cds_feat, const objects::CSeq_loc &feat_loc, objects::CScope &scope, const int feat_offset=0)   Derive the CDS feature mapping information based on its parent RNA feature mapping info. More...
  static TMappingInfo  CSeqUtils::GetMappingInfoFromLocation (const objects::CSeq_loc &feat_loc, const objects::CSeq_id &product_id, const int feat_offset=0)   static CConstRef< objects::CSeq_loc >  CSeqUtils::GetFeatLocation (const objects::CSeq_feat &feat, const objects::CBioseq_Handle &bsh)   static objects::CMappedFeat  CSeqUtils::GetMrnaForCds (const objects::CMappedFeat &cds_feat, const string &named_acc=string())   static void  CSeqUtils::GetMappingInfo (const objects::CMappedFeat &mapped_feat, const objects::CBioseq_Handle &bsh, TMappingInfo &info, const string &annot=string())   static bool  CSeqUtils::GetGIString (const string &sid, string *gi_str)   ad-hoc GI extraction (for misformed seq-id strings like: "gi|55823257|ref|YP_141698.1" (data coming from some other ad-hoc scripts) More...
  template<class T > static string  CSeqUtils::CreateIdStr (const vector< T > &uids)   Convert a list of ids into a comma-delimited string. More...
  static void  CSeqUtils::ELinkQuery (const string &db_from, const string &db_to, const TEntrezIds &uids_from, TEntrezIds &uids_to, const string &cmd="neighbor", const string &xpath="//Link/Id/text()")   Queries elink.fcgi with a vector of uids/seq-ids (seq-ids preferred for future compatibility) and returns a vector of uids, filtered by the xpath query note that return is still uids only since at this point trying to support seq-ids in return is fruitless. More...
  static void  CSeqUtils::ELinkQuery (const string &db_from, const string &db_to, const TSeqIdHandles &uids_from, TEntrezIds &uids_to, const string &cmd="neighbor", const string &xpath="//Link/Id/text()")   static void  CSeqUtils::ELinkQuery (const string &db_from, const string &db_to, const TEntrezIds &uids_from, xml::document &linkset, const string &cmd="neighbor")   Queries elink.fcgi and returns an xml document. More...
  static void  CSeqUtils::ELinkQuery (const string &db_from, const string &db_to, const TSeqIdHandles &uids_from, xml::document &linkset, const string &cmd="neighbor")   static void  CSeqUtils::ESearchQuery (const string &db, const string &term, TEntrezIds &uids, size_t &count, const int ret_max, const string &xpath="//IdList/Id/text()")   Queries esearch.fcgi and returns a vector of uids/seq-ids (seq-ids preferred for future compatibility), filtered by the xpath query. More...
  static void  CSeqUtils::ESearchQuery (const string &db, const string &term, const string &web_env, const string &query_key, TEntrezIds &uids, size_t &count, int retstart=0, const string &xpath="//IdList/Id/text()")   Queries esearch.fcgi and returns a vector of uids, filtered by the xpath query. More...
  static void  CSeqUtils::ESearchQuery (const string &db, const string &term, const string &web_env, const string &query_key, xml::document &searchset, int retstart=0)   Queries esearch.fcgi and returns an xml document. More...
  static std::string  CSeqUtils::GetXmlChildNodeValue (const xml::node &parent, const std::string &name)   Returns the contents of the specified child node. More...
  static int  CSeqUtils::GetGenCode (const objects::CBioseq_Handle &handle)   Returns Bioseq's Genetic Code. More...
  static void  CSeqUtils::CreateCoverageAnnotName (const string &annot_name, string &coverage_annot)   static bool  CSeqUtils::IsCoverageAnnotName (const string &annot_name)   static void  CSeqUtils::ParseRanges (const string &sRanges, TRanges &ranges)   static void  CSeqUtils::SetAnnotShown (objects::CSeq_annot &annot, bool isShown)   static bool  CSeqUtils::GetAnnotShown (const objects::CSeq_annot &annot)   static CRef< objects::CSeq_id >  CSeqUtils::MapStringId (const string &str, objects::IIdMapper *mapper)   static bool  CSeqUtils::IsCrossOrigin (const objects::CSeq_loc &loc)   static bool  CSeqUtils::IsCrossOrigin (const objects::CSeq_align &align)   static void  CSeqUtils::x_GetAssmIds_GI (string &gc_ids, TGi gi)   get all assembly ids associated with a gi. More...
    CGencollIdMapperAdapter::CGencollIdMapperAdapter (CRef< CGencollIdMapper > mapper, const CGencollIdMapper::SIdSpec &spec)   -------------------------------- CGencollIdMapperAdapter ——————————– More...
  virtual objects::CSeq_id_Handle  CGencollIdMapperAdapter::Map (const objects::CSeq_id_Handle &idh) override   virtual CRef< objects::CSeq_loc >  CGencollIdMapperAdapter::Map (const objects::CSeq_loc &loc) override   virtual void  CGencollIdMapperAdapter::MapObject (CSerialObject &obj) override   static IIdMapperCGencollIdMapperAdapter::GetIdMapper (CRef< objects::CGC_Assembly > assm)   CConstRef< objects::CBioseq >  GetBioseqForSeqdesc (CRef< objects::CScope > scope, const objects::CSeqdesc &seq_desc)   objects::CBioseq_Handle  GetBioseqForSeqFeat (const objects::CSeq_feat &f, objects::CScope &scope)   objects::CSeq_feat_Handle  GetSeqFeatHandleForBadLocFeature (const objects::CSeq_feat &feat, objects::CScope &scope)   objects::CSeq_entry_Handle  GetSeqEntryForPubdesc (CRef< objects::CScope > scope, const objects::CPubdesc &pubdesc)   objects::CSeq_entry_Handle  GetTopSeqEntryFromScopedObject (SConstScopedObject &obj)   vector< const objects::CFeatListItem * >  GetSortedFeatList (objects::CSeq_entry_Handle seh, size_t max=numeric_limits< size_t >::max())     CAlignGlyph::CAlignGlyph (CConstRef< IAlnGraphicDataSource > aln_mgr, const objects::CSeq_align_Handle &orig_align, const objects::CSeq_align &mapped_align, int orig_anchor)   const IAlnGraphicDataSourceCAlignGlyph::GetAlignMgr (void) const   Inline methods. More...
  const objects::CSeq_align &  CAlignGlyph::GetAlignment (void) const   const objects::CSeq_align_Handle &  CAlignGlyph::GetOrigAlignment (void) const   TAlnAnchorPair  CAlignGlyph::GetAlnAnchorPair (void) const   int  CAlignGlyph::GetOrigAnchor (void) const   TModelUnit  CAlignGlyph::GetBarHeight () const   void  CAlignGlyph::SetConfig (const CAlignmentConfig *conf)   void  CAlignGlyph::SetScore (const ISGAlnScore &score)   void  CAlignGlyph::ApplyFading () const   void  CAlignGlyph::DrawPWAlignElem (const TModelRect &rcm, bool selected, bool show_label, const CRgbaColor &c_fg, const CRgbaColor &c_seq, const CRgbaColor &c_mis) const   void  CAlignGlyph::GetTitle (string *title, CLabel::ELabelType type) const   bool  CAlignGlyph::IsNegative () const   void  CAlignGlyph::SetShowScore ()   bool  CAlignGlyph::IsSimplified () const   bool  CAlignGlyph::IsLastRow () const   virtual void  CAlignGlyph::x_Draw () const   The default renderer for this layout object. More...
  virtual void  CAlignGlyph::x_UpdateBoundingBox ()   Update the bounding box assuming children's sizes are fixed if any. More...
  void  CAlignGlyph::x_DrawPWAlign () const   void  CAlignGlyph::x_DrawMultiAlign () const   void  CAlignGlyph::x_DrawMultiAlignLabel (int row, TModelUnit y) const   void  CAlignGlyph::x_DrawAlignRowSequence (TModelUnit center_y, int row, const CRgbaColor &c_fg, const CRgbaColor &c_seq, const CRgbaColor &c_mis) const   void  CAlignGlyph::x_RenderNonAveragableScores (TModelUnit yy, TSignedSeqRange aln_range, TSeqRange seq_range, TModelUnit height, int row, bool override_color, const CRgbaColor &read_status_color) const   void  CAlignGlyph::x_RenderAveragableScores (TModelUnit yy, TSignedSeqRange aln_range, TSeqRange seq_range, TModelUnit height, int row, bool override_color, const CRgbaColor &read_status_color) const   bool  CAlignGlyph::x_IsPWAlign () const   void  CAlignGlyph::x_CalcIntervals (TIntervals &intervals, int target_row=-1) const   bool  CAlignGlyph::x_ShowLabel () const   bool  CAlignGlyph::x_ShowScore () const   bool  CAlignGlyph::x_ShowUnalignedTails (TModelUnit align_len) const   void  CAlignGlyph::x_GetOverrideColor (bool &override_color, CRgbaColor &read_status_color) const   void  CAlignGlyph::x_DrawGaps (const SDrawContext &ctx) const   void  CAlignGlyph::x_DrawInserts (const SDrawContext &ctx) const   void  CAlignGlyph::x_DrawIntronsAndInternalUnalignedRegions (const SDrawContext &ctx, TSignedSeqPos from, TSignedSeqPos to) const   void  CAlignGlyph::x_DrawInternalUnalignedRegions (const SDrawContext &ctx, TMUnitRanges &unaligned_regions) const   void  CAlignGlyph::x_DrawTailGlyphs (const SDrawContext &ctx, bool show_label, const CRgbaColor &c_fg) const   void  CAlignGlyph::x_DrawTailSequences (const SDrawContext &ctx, const CRgbaColor &c_fg) const   void  CAlignGlyph::x_DrawUnalignedBar (const ETail tail, const SDrawContext &ctx, const CRgbaColor &c_fg) const   void  CAlignGlyph::x_DrawUnalignedRowSequence (const ETail tail, const SDrawContext &ctx, const CRgbaColor &c_fg) const   void  CAlignGlyph::x_DrawNonConsensusSpliceSites (const SDrawContext &ctx) const   void  CAlignGlyph::x_DrawNoScoreAlign (const SDrawContext &ctx, const CRgbaColor &c_fg) const   void  CAlignGlyph::x_DrawStrandIndicators (const SDrawContext &ctx) const   void  CAlignGlyph::x_DrawSimplified (const SDrawContext &ctx, const CRgbaColor &c_fg) const   TSeqRange  CAlignGlyph::x_GetAlnTailRange (const ETail tail, const SDrawContext &ctx) const   TSeqRange  CAlignGlyph::x_ConvertAlnTaillRngToSeqRng (const ETail tail, const SDrawContext &ctx, const TSeqRange &aln_range) const   TModelUnit  CAlignGlyph::x_GetTailLabelWidth (const TSignedSeqPos tail) const   TModelUnit  CAlignGlyph::x_GetTailWidth (const TSignedSeqPos tail, const TSignedSeqPos visible_tail, const TSignedSeqPos base_width_curr) const   bool  CAlignGlyph::x_IsSRA () const   virtual CConstRef< CObjectCSwitchPointGlyph::GetObject (TSeqPos pos) const   Access the alignment as a CObject. More...
  virtual void  CSwitchPointGlyph::GetObjects (vector< CConstRef< CObject > > &objs) const   virtual bool  CSwitchPointGlyph::HasObject (CConstRef< CObject > obj) const   const objects::CSeq_loc &  CSwitchPointGlyph::GetLocation (void) const   Access the alignments's remapped location. More...
  const objects::CSeq_align &  CSwitchPointGlyph::GetAlignment (void) const   CRef< objects::CSeqMapSwitchPoint >  CSwitchPointGlyph::GetSwitchPoints () const   virtual void  CSwitchPointGlyph::x_Draw () const   The default renderer for this layout object. More...
  virtual void  CSwitchPointGlyph::x_UpdateBoundingBox ()   Update the bounding box assuming children's sizes are fixed if any. More...
  const objects::CBioseq_Handle &  CAlignmentSmear::m_BioseqHandle   TSegMap  CAlignmentSmear::m_AccumSeg   TGapMap  CAlignmentSmear::m_AccumGap   EAlignSmearStrand  CAlignmentSmear::m_StrandType   string  CAlignmentSmear::m_Label   unsigned long  CAlignmentSmear::m_CntAligns   unsigned long  CAlignmentSmear::m_CntMixes   string  CTrackInfo::m_DataId   data indentifier. More...
  string  CTrackInfo::m_Dbname   data source such as ID, SADB, cSRA and SRA More...
  string  CTrackInfo::m_Title   annotation's title, optional More...
  string  CTrackInfo::m_Descr   detail info about this annot More...
  string  CTrackInfo::m_AnnotType   annot type, such as ftable, seq-table, align More...
  string  CTrackInfo::m_Subtype   track-specific type. More...
  string  CTrackInfo::m_Group   string  CTrackInfo::m_Subgroup   string  CTrackInfo::m_SettingGroup   string  CTrackInfo::m_Filter   string  CTrackInfo::m_TrackId   track id (may be generated) More...
  int  CTrackInfo::m_Order   bool  CTrackInfo::m_Show {true}   string  CAnnotMetaData::m_Name   annotation name, e.g. named annotation accession More...
  string  CAnnotMetaData::m_Id   annotation id. It may only apply to NAs from SADB More...
  string  CAnnotMetaData::m_Title   annotation title More...
  string  CAnnotMetaData::m_Descr   annotation description (or comment) More...
  string  CAnnotMetaData::m_AssmAcc   GenColl assembly accession. More...
  string  CAnnotMetaData::m_xClass   annotation category More...
  string  CAnnotMetaData::m_SubCategory   annotation subcategory More...
  string  CAnnotMetaData::m_AnnotType   annot type, such as ftable, seq-table, align More...
  string  CAnnotMetaData::m_AnnotChain   string  CAnnotMetaData::m_Scope   NAA-specific info. More...
  string  CAnnotMetaData::m_OtherName   set< stringCAnnotMetaData::m_Subtypes   feature/track types (track-specific) More...
  ELinksStatus  CAnnotMetaData::m_LinksStatus   TLinks  CAnnotMetaData::m_Links   bool  CAnnotMetaData::m_Shown   int  CLayoutFeatLabel::column   CRef< objects::CSeq_loc >  CLayoutFeatLabel::m_Location   CConstRef< objects::CSeq_id >  CNAUtils::m_TargetSeq   The target sequence associating with the NAAs. More...
  CRef< objects::CScope >  CNAUtils::m_Scope   Scope helping resolve sequences and retrieve annotations. More...
  objects::CBioseq_Handle  CNAUtils::m_BioseqHandle   Derived values which make sense only if m_TargetSeq is set. More...
  objects::CSeq_id_Handle  CNAUtils::m_SeqIdHandle   sequence handles More...
  TGi  CNAUtils::m_Gi   GI of m_TargetSeq; it may be ZERO_GI for one of two reasons: either a target seq is not given at all or it does not have a GI. More...
  EEntrezDB  CNAUtils::m_SeqDB {EEDB_Undef}   Entrez db name for m_TargetSeq: nucleotide/protein or Undef if no TargetSeq is given. More...
  int  CNAUtils::m_MaxNAMeta   maximal number of NAAs for retrieving meta-data. More...
  static TNAAtoUidCache  CNAUtils::sm_NAAtoUidCache   static TEntrezIdtoMetaDataCache  CNAUtils::sm_UidtoMetaDataCache   static TEntrezIdtoGiCache  CNAUtils::sm_UidtoGiCache   static const string  kCoverageStr = "coverage"   objects::CMappedFeat  CLinkedFeature::m_Feat   TLinkedFeats  CLinkedFeature::m_Children   CRef< CGencollIdMapperCGencollIdMapperAdapter::m_Mapper   CGencollIdMapper::SIdSpec  CGencollIdMapperAdapter::m_Spec   TSignedSeqRange  CAlignGlyph::SDrawContext::aln_range   TSeqRange  CAlignGlyph::SDrawContext::seq_range   TSeqRange  CAlignGlyph::SDrawContext::whole_range   bool  CAlignGlyph::SDrawContext::reverse_strand = false   TSignedSeqPos  CAlignGlyph::SDrawContext::tail_5 = 0   TSignedSeqPos  CAlignGlyph::SDrawContext::tail_3 = 0   TSeqPos  CAlignGlyph::SDrawContext::base_width_anchor = 0   TSeqPos  CAlignGlyph::SDrawContext::base_width_curr = 0   TSeqPos  CAlignGlyph::SDrawContext::f = 0   TSeqPos  CAlignGlyph::SDrawContext::t = 0   TModelUnit  CAlignGlyph::SDrawContext::yy = 0   TModelUnit  CAlignGlyph::SDrawContext::half = 0   TModelUnit  CAlignGlyph::SDrawContext::bar_h = 0   TModelUnit  CAlignGlyph::SDrawContext::center_y = 0   bool  CAlignGlyph::SDrawContext::override_color = false   CRgbaColor  CAlignGlyph::SDrawContext::read_status_color   CConstRef< IAlnGraphicDataSourceCAlignGlyph::m_AlnMgr   pointer to the actual alignment information. More...
  CConstRef< objects::CSeq_align >  CAlignGlyph::m_SeqAlign   objects::CSeq_align_Handle  CAlignGlyph::m_OrigSeqAlign   int  CAlignGlyph::m_OrigAnchor   The anchor row number in original Seq-algin, not alnmgr. More...
  CRef< objects::CSeq_loc >  CAlignGlyph::m_Location   TIntervals  CAlignGlyph::m_Intervals   intervals. More...
  CConstRef< CAlignmentConfigCAlignGlyph::m_Config   CConstIRef< ISGAlnScoreCAlignGlyph::m_Score   bool  CAlignGlyph::m_ShowScore   bool  CAlignGlyph::m_DisableTooltipsCaching   Indicates whether the front-end can cache the tooltips. More...
  float  CAlignGlyph::m_FadeFactor   CRef< objects::CSeqMapSwitchPoint >  CSwitchPointGlyph::m_MapPoint   pointer to the actual alignment information. More...
  CRef< objects::CSeq_loc >  CSwitchPointGlyph::m_Location   vector< TSeqRangeCSwitchPointGlyph::m_Intervals   intervals (like for features or alignments). More...
 

Utility and support routines for the GUI framework.

These routines make use of the object manager and associated tools.

◆ __GUI_SEQ_UTILS_DEFINED__ #define __GUI_SEQ_UTILS_DEFINED__

Definition at line 119 of file utils.hpp.

◆ EXT_POINT__NONASN_TRACK_DATA_FACTORY #define EXT_POINT__NONASN_TRACK_DATA_FACTORY   "nonasn_track_data_factory"

Definition at line 51 of file nonasn_track_data.hpp.

◆ runlen_iterator ◆ score_type ◆ TAccs ◆ TAlnAnchorPair ◆ TAlnList ◆ TAnnotFlags ◆ TAnnotNameType ◆ TAnnots ◆ TAttrTable ◆ TBlastTrackShowFlags ◆ TDataBlob [1/3] ◆ TDataBlob [2/3] ◆ TDataBlob [3/3] ◆ TEntrezIds [1/2] ◆ TEntrezIds [2/2] ◆ TEntrezIdtoGiCache ◆ TEntrezIdtoMetaDataCache ◆ TFeatLinkingMode ◆ TFeatureFlags ◆ TGapMap ◆ TGenomicInterval ◆ TGis [1/2]

get all GIs for a given NA accession

Definition at line 176 of file na_utils.hpp.

◆ TGis [2/2] ◆ TIds ◆ TLinkedFeats ◆ TLinks ◆ TLocVec ◆ TMappedInt ◆ TMappingInfo ◆ TModelRange ◆ TMUnitRanges ◆ TNAA ◆ TNAAs ◆ TNAAtoUidCache ◆ TNAMetaDataSet ◆ TProdInterval ◆ TRanges ◆ TSegMap ◆ TSeqIdHandles ◆ TTrackInfoList [1/2] ◆ TTrackInfoList [2/2] ◆ anonymous enum

flags controlling feature retrieval

Enumerator fFeature_LinkFeatures  fFeature_Default 

Definition at line 145 of file utils.hpp.

◆ anonymous enum

flags controlling use of annotation selectors

Enumerator fAnnot_UnsetNamed  fAnnot_UnsetDepth 

Definition at line 152 of file utils.hpp.

◆ EAlignSmearStrand Enumerator eSmearStrand_Both  eSmearStrand_Pos  eSmearStrand_Neg 

Definition at line 61 of file alignment_smear.hpp.

◆ EAlignSpacing ◆ EAnnotationNameType

flags for classifying annotation names.

Enumerator eAnnot_Unnamed 

unnamed annotation

eAnnot_Named 

all named annotations

eAnnot_All 

all annotations

eAnnot_Other 

any given named annots

Definition at line 131 of file utils.hpp.

◆ EBlastTrackShowFlags

flags controlling BLAST track default visibility

Enumerator fBlastTrackShowFlag_Original  fBlastTrackShowFlag_Cleaned 

Definition at line 484 of file utils.hpp.

◆ EEntrezDB

eutils databases that can be used

Enumerator EEDB_Undef  EEDB_Nucleotide  EEDB_Protein  EEDB_All 

try both nucleotide and protein databases, merge results

Definition at line 126 of file na_utils.hpp.

◆ ELinksStatus Enumerator ELinksStatus_Undef  ELinksStatus_Present  ELinksStatus_Absent 

Definition at line 88 of file annot_info.hpp.

◆ EMetaDataSource

source of obtained NA metadata were internal caches hit, partially hit or totally missed during some cached operations

Enumerator EMetaDataSource_Undef  EMetaDataSource_Cache  EMetaDataSource_Mixed  EMetaDataSource_Eutils  EMetaDataSource_EmptyRequest  EMetaDataSource_EmptyAfterFilteringRequest 

Definition at line 134 of file na_utils.hpp.

◆ ETail ◆ ETearLineLimits ◆ EUidsSource Enumerator EUidsSource_Undef  EUidsSource_Cache  EUidsSource_Mixed  EUidsSource_Eutils  EUidsSource_EmptyRequest 

Definition at line 143 of file na_utils.hpp.

◆ AddAlignment() [1/2]

Add this one alignment to my smear.

Definition at line 338 of file alignment_smear.cpp.

References CDensityMap< CntType >::AddRange(), CSparseAln::CreateSegmentIterator(), IAlnSegmentIterator::eSkipGaps, CSparseAln::GetAlnRange(), IAlnSegment::GetAlnRange(), CSparseAln::GetAnchor(), CRange_Base::GetFrom(), CSparseAln::GetNumRows(), CRange_Base::GetTo(), CAlignmentSmear::m_AccumGap, CAlignmentSmear::m_AccumSeg, and row.

◆ AddAlignment() [2/2] void CAlignmentSmear::AddAlignment ( const objects::CAlnMap &  align )

Add this one alignment to my smear.

◆ AddAlignments() [1/2] ◆ AddAlignments() [2/2] ◆ AddAnnot() ◆ AddChild() [1/2] ◆ AddChild() [2/2] void CLinkedFeature::AddChild ( const objects::CMappedFeat &  feat ) inline

Definition at line 96 of file utils.hpp.

◆ AddNonAsnData() ◆ AddTaskCompleted() virtual void ISeqTaskProgressCallback::AddTaskCompleted ( int  delta ) pure virtual ◆ ApplyFading() void CAlignGlyph::ApplyFading ( ) const ◆ CAlignGlyph()

Definition at line 78 of file alignment_glyph.cpp.

References eNa_strand_minus, eNa_strand_plus, IScoringAlignment::GetAnchor(), IScoringAlignment::GetBaseWidth(), IAlnGraphicDataSource::GetSeqId(), IAlnGraphicDataSource::GetSeqStart(), IAlnGraphicDataSource::GetSeqStop(), IAlnGraphicDataSource::IsNegativeStrand(), CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Location, CRef< C, Locker >::Reset(), and CAlignGlyph::x_IsPWAlign().

◆ CAlignmentSmear() ◆ CanHavePlacements() bool CSeqUtils::CanHavePlacements ( const objects::CSeq_id &  seqid ) static

check that a given seq-id can potentially have placements (to weed out cases like local ids)

Definition at line 1089 of file utils.cpp.

References CSeq_id_Base::e_Genbank, CSeq_id_Base::e_Gi, CSeq_id::eAcc_refseq_contig, CSeq_id::eAcc_refseq_genome, CSeq_id::eAcc_refseq_genomic, CSeq_id::eAcc_refseq_mrna, CSeq_id::eAcc_refseq_mrna_predicted, CSeq_id::eAcc_refseq_ncrna, CSeq_id::eAcc_refseq_ncrna_predicted, CSeq_id::eAcc_refseq_prot, CSeq_id::eAcc_refseq_prot_predicted, CSeq_id::eAcc_refseq_unreserved, CSeq_id::eAcc_refseq_wgs_intermed, CSeq_id::eAcc_refseq_wgs_nuc, CSeq_id::eAcc_refseq_wgs_prot, CSeq_id::eAcc_type_mask, and info.

Referenced by CSeqUtils::GetAccessionPlacementsMsec().

◆ CAnnotMetaData() CAnnotMetaData::CAnnotMetaData ( ) inline

Definition at line 121 of file annot_info.hpp.

◆ CBioTreeAttrReader() [1/2] ◆ CBioTreeAttrReader() [2/2] ◆ CGencollIdMapperAdapter() ◆ CheckLineReader() void CBioTreeAttrReader::CheckLineReader ( ILineReaderilr ) protected ◆ CheckMaxSearchSegments() bool CSeqUtils::CheckMaxSearchSegments ( int  actual, int  max, objects::SAnnotSelector::EMaxSearchSegmentsAction  action  ) static ◆ CLayoutFeatLabel() CLayoutFeatLabel::CLayoutFeatLabel ( const objects::CMappedFeat &  feat )

Definition at line 41 of file feat_label.cpp.

◆ CLayoutPWAlign() ◆ CLinkedFeature() CLinkedFeature::CLinkedFeature ( const objects::CMappedFeat &  feat ) inline

Definition at line 81 of file utils.hpp.

◆ CNAUtils() [1/3] ◆ CNAUtils() [2/3] CNAUtils::CNAUtils ( const objects::CSeq_id &  id )

Ctor with target sequence id.

Only the named annotations associated with the target sequence will be returned. However, the target sequence is ignored if the requested NAAs are explicitly listed.

◆ CNAUtils() [3/3] CNAUtils::CNAUtils ( const objects::CSeq_id &  id, objects::CScope &  scope  ) ◆ CreateCoverageAnnotName() void CSeqUtils::CreateCoverageAnnotName ( const stringannot_name, stringcoverage_annot  ) inlinestatic ◆ CreateIdStr() ◆ CreateLinkRow() ◆ CreateSectionRow() ◆ CreateSeq_loc()

Definition at line 556 of file utils.cpp.

References CPacked_seqint::AddInterval(), CPacked_seqint_Base::Get(), ITERATE, CPacked_seqint_Base::Set(), CSeq_loc::SetInt(), and CSeq_loc::SetPacked_int().

Referenced by CViewGraphic::GetSearchLoc(), CCrossAlignView::GetSelection(), CDotMatrixView::GetSelection(), CMultiAlignView::GetSelection(), CSeqTextView::GetSelection(), and CViewGraphic::GetSelection().

◆ CreateTableEnd() string CSeqUtils::CreateTableEnd ( ) static ◆ CreateTableRow() ◆ CreateTableStart() string CSeqUtils::CreateTableStart ( ) static

help methods for creating HTML text

Definition at line 979 of file utils.cpp.

◆ CreateTrackData() ◆ CSwitchPointGlyph() CSwitchPointGlyph::CSwitchPointGlyph ( CRef< objects::CSeqMapSwitchPoint >  map_points ) ◆ CTrackInfo() ◆ DataType2TrackType() ◆ DECLARE_CLASS_STATIC_FAST_MUTEX() [1/3] CNAUtils::DECLARE_CLASS_STATIC_FAST_MUTEX ( sm_NAAtoUidCacheMutex  ) private ◆ DECLARE_CLASS_STATIC_FAST_MUTEX() [2/3] CNAUtils::DECLARE_CLASS_STATIC_FAST_MUTEX ( sm_UidtoGiCacheMutex  ) private ◆ DECLARE_CLASS_STATIC_FAST_MUTEX() [3/3] CNAUtils::DECLARE_CLASS_STATIC_FAST_MUTEX ( sm_UidtoMetaDataCacheMutex  ) private ◆ DoSearch() [1/2] virtual void INonAsnTrackData::DoSearch ( const objects::CSeq_id *  seq_id, const stringsSearchTerm, list< CRef< CObject >> &  results  ) const pure virtual ◆ DoSearch() [2/2] ◆ DrawPWAlignElem()

Definition at line 967 of file alignment_glyph.cpp.

References abs, CGlRect< T >::Bottom(), IRender::Color4f(), IRender::ColorC(), ctx, IRender::Disable(), CRenderingContext::DrawSelection(), CRenderingContext::DrawTriangle(), CAlignGlyph::e3_Prime, CAlignGlyph::e5_Prime, IAlnExplorer::eLeft, COpenRange< Position >::Empty(), IRender::Enable(), IAlnGraphicDataSource::ePartial_3prime, IAlnGraphicDataSource::ePartial_5prime, IAlnExplorer::eRight, Error(), CAlignmentConfig::eTails_Hide, CAlignmentConfig::eTails_ShowGlyph, CAlignmentConfig::eTails_ShowSequence, IAlnGraphicDataSource::GetAlnPosFromSeqPos(), IAlnGraphicDataSource::GetAlnRangeWithTails(), IScoringAlignment::GetAnchor(), CAlignGlyph::GetBarHeight(), IScoringAlignment::GetBaseWidth(), CRange_Base::GetFrom(), GetGl(), CRenderingContext::GetGlPane(), CException::GetMsg(), IScoringAlignment::GetNumRows(), IAlnGraphicDataSource::GetPartialFlags(), IAlnGraphicDataSource::GetQuery(), CRenderingContext::GetScale(), CGlPane::GetScaleY(), IAlnGraphicDataSource::GetSeqStart(), IAlnGraphicDataSource::GetSeqStop(), COpenRange< Position >::GetToOpen(), IAlnGraphicDataSource::GetUnalignedTails(), CRenderingContext::IntersectVisible(), IAlnGraphicDataSource::IsNegativeStrand(), CAlignGlyph::IsSimplified(), LOG_POST, CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_DisableTooltipsCaching, CAlignGlyph::m_FadeFactor, CAlignGlyph::m_Score, CAlignmentConfig::m_UnalignedSequence, CAlignmentConfig::m_UnalignedTailsMode, row, CRenderingContext::ScreenToSeq(), CRenderingContext::SeqToScreen(), swap(), Warning(), CRenderingContext::WillSeqLetterFit(), CAlignGlyph::x_DrawAlignRowSequence(), CAlignGlyph::x_DrawGaps(), CAlignGlyph::x_DrawInserts(), CAlignGlyph::x_DrawIntronsAndInternalUnalignedRegions(), CAlignGlyph::x_DrawNonConsensusSpliceSites(), CAlignGlyph::x_DrawNoScoreAlign(), CAlignGlyph::x_DrawSimplified(), CAlignGlyph::x_DrawStrandIndicators(), CAlignGlyph::x_DrawTailGlyphs(), CAlignGlyph::x_DrawTailSequences(), CAlignGlyph::x_DrawUnalignedRowSequence(), CAlignGlyph::x_GetOverrideColor(), CAlignGlyph::x_RenderAveragableScores(), CAlignGlyph::x_RenderNonAveragableScores(), CAlignGlyph::x_ShowScore(), and CAlignGlyph::x_ShowUnalignedTails().

Referenced by CAlignGlyph::x_DrawPWAlign().

◆ ELinkQuery() [1/4] ◆ ELinkQuery() [2/4] ◆ ELinkQuery() [3/4] ◆ ELinkQuery() [4/4] ◆ ESearchQuery() [1/3] ◆ ESearchQuery() [2/3] ◆ ESearchQuery() [3/3] ◆ FeatSubtypes2TrackSubtypes()

Convert feature subtypes to track subtypes.

If the feature subtype list contains 'gene' feature, all gene, RNA, cdregion and exon feature subtypes will be combined into one track subtype: gene_model. If the feature type is variation_ref, the track type will be dbVar. If the feature tyep is variation, the track type will be dbSNP. For anything else, track type will be just treated as a feature track subtype.

Definition at line 206 of file na_utils.cpp.

References CSeqFeatData_Base::e_Gene, set< Key, Compare >::end(), set< Key, Compare >::erase(), set< Key, Compare >::find(), CSeqFeatData::GetFeatList(), CFeatList::GetStoragekey(), set< Key, Compare >::insert(), CDataTrackUtils::IsGeneModelFeature(), ITERATE, and kSnpSubtypeStr.

Referenced by CNAUtils::GetNATrackInfo().

◆ GetAccessionPlacements() ◆ GetAccessionPlacementsMsec()

same, with a timeout in milliseconds

Definition at line 1135 of file utils.cpp.

References CSeqUtils::CanHavePlacements(), eGetId_ForceGi, eSerial_AsnText, flags, CSeq_id_Handle::GetGi(), GetId(), GetLinksURL(), GetSeqIdString(), NcbiMsToTimeout(), CObjectIStream::Open(), and s_GetAlnMapplingLocs().

Referenced by CSeqUtils::GetAccessionPlacements().

◆ GetAlignDbBatch() ◆ GetAlignDbIsQuery()

get a is_source_assembly_query string from AlignDb annotation suffixed after a second '#'

get a is_source_assembly_query string fro AlignDb annotation suffixed after a second '#'

Definition at line 878 of file utils.cpp.

References CSeqUtils::IsAlignDb(), NStr::Split(), and string.

◆ GetAlignment() [1/2] const objects::CSeq_align & CAlignGlyph::GetAlignment ( void  ) const inline ◆ GetAlignment() [2/2] const objects::CSeq_align & CSwitchPointGlyph::GetAlignment ( void  ) const ◆ GetAlignMgr()

Inline methods.

Definition at line 249 of file alignment_glyph.hpp.

References CAlignGlyph::m_AlnMgr.

Referenced by CSGAlignmentDS::CalculateAlignmentScore(), CMatePairGlyph::CMatePairGlyph(), CSGAlignmentDS::GetAlignType(), CSGAlignmentDS::InitAlignQualityScore(), CSGAlignmentDS::InitAlignScore(), CSGAlignmentDS::InitAlignScoreCache(), CAlignGlyph::LessBySeqPos(), CAlignmentTrack::x_AddAlignmentLayout(), CSGAlignmentJob::x_CreateFeatGlyph(), CAlignmentTrack::x_GetAlignGlyphType(), and CSGAlignmentJob::x_LoadAlignmentFeats().

◆ GetAlignType() string CDataTrackUtils::GetAlignType ( const objects::CSeq_align &  align, objects::CScope &  scope  ) static

Get alignment type.

The alignment types include:

Definition at line 77 of file na_utils.cpp.

References CSeq_align::CheckNumRows(), CSeq_inst_Base::eMol_aa, CSeq_inst_Base::eMol_dna, CSeq_inst_Base::eMol_na, CSeq_inst_Base::eMol_rna, fAlign_DNA, fAlign_Invalid, fAlign_Mixed, fAlign_Protein, CBioseq_Handle::GetBioseqCore(), CScope::GetBioseqHandle(), CBioseq_Base::GetInst(), CSeq_inst_Base::GetMol(), CSeq_align::GetSeq_id(), kEmptyStr, and row.

Referenced by CNAUtils::GetNATrackInfo().

◆ GetAllGIs() ◆ GetAllNAAs()

Get a list of NAAs associated with the target sequence.

It returns only the named annotation names only (no meta-data). If the target sequence is not set, it returns nothing.

Parameters
naas data structure for returned NA names. context is a viewer context that predefines a set of NAAs applied only under the given viewer context. Maybe, we can remove it when TMS is fully integrated.

Definition at line 529 of file na_utils.cpp.

References context, CNAUtils::x_GetNAAs(), and CNAUtils::x_GetNAIds().

◆ GetAllNAMetaData() ◆ GetAlnAnchorPair() ◆ GetAnnotComment() [1/2] ◆ GetAnnotComment() [2/2] ◆ GetAnnotName() [1/2] ◆ GetAnnotName() [2/2] ◆ GetAnnots() ◆ GetAnnotSelector() [1/6]

create a annotation selector for collecting annotation names only.

Parameters

Definition at line 266 of file utils.cpp.

References SAnnotSelector::AddNamedAnnots(), SAnnotSelector::AddUnnamedAnnots(), CSeqUtils::eAnnot_All, CSeqUtils::eAnnot_Named, CSeqUtils::eAnnot_Other, CSeqUtils::eAnnot_Unnamed, SAnnotSelector::ExcludeUnnamedAnnots(), CSeqUtils::GetAnnotSelector(), SAnnotSelector::IncludeNamedAnnotAccession(), CSeqUtils::IsExtendedNAA(), CSeqUtils::IsNAA(), ITERATE, CSeqUtils::NameTypeStrToValue(), SAnnotSelector::SetCollectNames(), and NStr::StartsWith().

◆ GetAnnotSelector() [2/6] ◆ GetAnnotSelector() [3/6] static objects::SAnnotSelector CSeqUtils::GetAnnotSelector ( objects::SAnnotSelector::TAnnotType  choice, TAnnotFlags  flags = 0  ) static ◆ GetAnnotSelector() [4/6] static objects::SAnnotSelector CSeqUtils::GetAnnotSelector ( objects::SAnnotSelector::TFeatSubtype  , TAnnotFlags  flags = 0  ) static ◆ GetAnnotSelector() [5/6] static objects::SAnnotSelector CSeqUtils::GetAnnotSelector ( objects::SAnnotSelector::TFeatType  , TAnnotFlags  flags = 0  ) static ◆ GetAnnotSelector() [6/6]

request an annotation selector for a given type

Definition at line 168 of file utils.cpp.

References SAnnotSelector::ExcludeNamedAnnots(), CSeqUtils::fAnnot_UnsetDepth, CSeqUtils::fAnnot_UnsetNamed, flags, CRegistryReadView::GetBool(), CGuiRegistry::GetInstance(), CRegistryReadView::GetKeys(), CGuiRegistry::GetReadView(), CRegistryReadView::GetString(), SAnnotSelector::IncludeNamedAnnotAccession(), ITERATE, NULL, SAnnotSelector::SetAdaptiveDepth(), SAnnotSelector::SetExcludeExternal(), SAnnotSelector::SetOverlapTotalRange(), and SAnnotSelector::SetResolveAll().

Referenced by CAlignmentSmear::AddAnnot(), CLinkUtils::AddDbxrefLinksForSNP(), CSGAlignmentDS::CalcAlnStat(), CBinsTrack::CBinsTrack(), CFeatureTrack::CFeatureTrack(), CGeneModelTrack::CGeneModelTrack(), CGraphTrack::CGraphTrack(), CHapmapTrack::CHapmapTrack(), Convert_Seq_loc_Seq_align(), Convert_Seq_loc_Seq_annot(), Convert_Seq_loc_Seq_feat(), Convert_Seq_loc_Seq_graph(), CSubAnnotationPanel::Create5ColFeatTable(), CVarTrackFactory::CreateTracks(), CFeatureTrackFactory::CreateTracks(), CGraphTrackFactory::CreateTracks(), CSeqTableGraphTrackFactory::CreateTracks(), CSequenceTrackFactory::CreateTracks(), CAlignmentTrackFactory::CreateTracks(), CGeneModelFactory::CreateTracks(), CSeqTextJob::CSeqTextJob(), CGBObjectLoader::Execute(), NSearchFeatPanel::GatherFeatures(), CSGAlignmentDS::GetAlignmentCost(), CSGAlignmentJob::GetAlignType(), CEpigenomicsDS::GetAnnotNames(), CSGSnpDS::GetAnnotNames(), CSeqUtils::GetAnnotSelector(), CSeqTextPaneConfig::GetCaseFeature(), CSGAlignmentDS::GetDataLoader(), NSnpAnnot::GetFeat_CI(), CSeqTextDataSourceInterval::GetFeatureData(), CSeqTextDataSource::GetFeaturesAtPosition(), CSeqTextDataSourceInterval::GetFeaturesAtPosition(), CSGFeatureDS::GetFilters(), NSnpAnnot::GetGraph_CI(), CSGAlignmentDS::GetGraphCost(), CGuiObjectInfoVariation::GetLinks(), CSeqTextDataSourceInterval::GetSubtypesForAlternatingExons(), CSeqTextDataSourceInterval::GetToolTipForPosition(), CBinsDS::GetTrackNames(), CSGHapmapDS::GetTrackNames(), CLDBlockDS::GetTrackNames(), CSeqTextDataSourceInterval::GetVariations(), CFeatTableDS::Init(), CAlnVecMultiDataSource::Init(), CAlnMultiDSBuilder::Init(), CHitMatrixDSBuilder::Init(), CSGAlignmentDS::InitAlignType(), CSGAlignmentDS::LoadAlignFeats(), CSGAlignmentDS::LoadAlignments(), CSGAlignmentDS::LoadCoverageGraph(), CTraceDataProxy::LoadData(), CSGTraceGraphDS::LoadData(), CEpigenomicsDS::LoadData(), CSeqTextDataSourceInterval::RenderFeatureExtras(), CAlignTabExportJob::Run(), C5ColExportJob::Run(), CFlatFileExportJob::Run(), CFeatCompareJob_Align::Run(), CFeatCompareJob_Location::Run(), CTestBMApp::Run(), s_Create5ColFeatTable(), s_GetAnnotSelector(), s_GetMappedFeat(), s_Render_SeqFeat(), CSeqTextPaneConfig::SetCaseFeature(), CSnpJob::x_FetchFtable(), CBinsJob::x_FetchGraphs(), CSnpJob::x_FetchGraphs(), CSGAlignmentJob::x_GetAlignments(), CDensityMapDS::x_GetAnnotSelector(), x_GetAnnotSelector(), CGuiObjectInfoSeq_feat::x_GetProductSequence(), CwxAnnotConfigDlg::x_InitAnnotList(), CLDBlockJob::x_Load(), CSGAlnQualityScore::x_RetrieveQualityMap(), CFlatFeatureRetrieveJob::x_Run(), CFeatureSearchJob::x_SearchFeatures(), CFeatureSearchJob::x_SearchForSNP(), CAlignTabExportPage2::x_StartAlignNamesJob(), CFeatureGraph::x_StartJob(), CAlignTabExportPage2::x_StartNAAlignNamesJob(), and x_ToBlastVec().

◆ GetAnnotShown() bool CSeqUtils::GetAnnotShown ( const objects::CSeq_annot &  annot ) static ◆ GetAnnotUserField() ◆ GetAssmAccs_Gi() void CSeqUtils::GetAssmAccs_Gi ( TAccsaccs, TGi  gi  ) static

get all assembly accessions corresponding to a GI

Definition at line 1561 of file utils.cpp.

References xml::node_set::begin(), set< Key, Compare >::clear(), CSeqUtils::CreateIdStr(), xml::node_set::end(), Error(), xml::node::get_content(), xml::document::get_root_node(), CSeqUtils::GetAssmIds_GI(), CException::GetMsg(), set< Key, Compare >::insert(), kAssmDb, kRetMax, LOG_POST, xml::node::run_xpath_query(), CEutilsClient::SetMaxReturn(), and CEutilsClient::Summary().

◆ GetAssmIds_GI() ◆ GetAssmIds_GIChr()

get all assembly ids associated with a gi where this gi is a chromosome

Note
transplanted from w_loaders/assm_info.cpp because this is needed for GetChrGI()
Parameters
gi GI to try to match to a chromosome in any assembly gc_ids

Definition at line 1365 of file utils.cpp.

References xml::node_set::begin(), CSeqUtils::CreateIdStr(), CSeqUtils::ELinkQuery(), ctll::empty(), xml::node_set::end(), Error(), xml::node::get_content(), xml::document::get_root_node(), CException::GetMsg(), GI_TO, kAssmDb, kNucDb, kRetMax, LOG_POST, xml::node::run_xpath_query(), CEutilsClient::SetMaxReturn(), and CEutilsClient::Summary().

Referenced by CSeqUtils::GetChrGI().

◆ GetBarHeight() ◆ GetBioseqForSeqdesc() ◆ GetBioseqForSeqFeat() objects::CBioseq_Handle GetBioseqForSeqFeat ( const objects::CSeq_feat &  f, objects::CScope &  scope  )

Referenced by CCitationsPanel::CreateControls(), CreateEditorForObject(), CCmdPromoteCDS::Execute(), CMacroBioData_FeatIterBase::GetBioseqHandle(), CMacroBioData_FeatIntervalIter::GetBioseqHandle(), s_GetAccession(), CMacroFunction_RemoveBothPartials::s_RemoveBothPartials(), CMacroFunction_SetBothPartials::s_SetBothEndsPartial(), CGenericPropsPanel::x_IsRefSeq(), and CIdentifiersPanel::x_UpdateXrefDescriptions().

◆ GetBlob() ◆ GetCategory() ◆ GetCdsMappingInfoFromRna()

Derive the CDS feature mapping information based on its parent RNA feature mapping info.

Definition at line 2037 of file utils.cpp.

References CSeq_id::Assign(), CSeq_feat_Base::CanGetProduct(), CSeq_loc::CompareSubLoc(), done, eExtreme_Biological, eNa_strand_minus, eNa_strand_plus, CSeqFeatData::eSubtype_cdregion, SAnnotSelector::ExcludeNamedAnnots(), CSeq_loc::fMerge_AbuttingOnly, CPacked_seqint_Base::Get(), CScope::GetBioseqHandle(), CRange_Base::GetFrom(), CSeq_loc::GetId(), CSeq_feat_Base::GetLocation(), CMappedFeat::GetMappedFeature(), CSeq_loc_Base::GetPacked_int(), CSeq_feat_Base::GetProduct(), CMappedFeat::GetProduct(), CSeq_loc::GetStart(), CSeq_loc::GetStop(), CSeq_loc::GetTotalRange(), COpenRange< TSeqPos >::GetWhole(), SAnnotSelector::IncludeFeatSubtype(), int, CSeq_feat_Base::IsSetExcept(), ITERATE, CSeq_id::Match(), CSeq_loc::Merge(), NULL, r1, r2, s_AdjustToAnnotatedCDS(), SAnnotSelector::SetAdaptiveDepth(), SAnnotSelector::SetExactDepth(), CSeq_interval_Base::SetFrom(), CSeq_interval_Base::SetId(), CSeq_loc::SetPacked_int(), SAnnotSelector::SetResolveAll(), SAnnotSelector::SetResolveDepth(), CSeq_interval_Base::SetStrand(), and CSeq_interval_Base::SetTo().

Referenced by CSeqUtils::GetMappingInfo(), CSGFeatureJob::x_CreateCrossOriginGlyphs(), and CSGFeatureJob::x_CreateFeature1().

◆ GetChildren() [1/2] ◆ GetChildren() [2/2] ◆ GetChrGI() ◆ GetChrId() ◆ GetColumn() int CLayoutFeatLabel::GetColumn ( void  ) const inline ◆ GetColumnHeader() void CDataTrackUtils::GetColumnHeader ( set< string > &  headers, const objects::CSeq_annot &  annot  ) static

Collect all column header names for a given seq-table.

The header name is from either field-name or field-id.

Definition at line 165 of file na_utils.cpp.

References CSeqTable_column_info_Base::CanGetField_id(), CSeqTable_column_info_Base::CanGetField_name(), CEnumeratedTypeValues::FindName(), CSeq_table_Base::GetColumns(), CSeq_annot_Base::GetData(), CSeqTable_column_info_Base::GetField_id(), CSeqTable_column_info_Base::GetField_name(), CSeq_annot_Base::C_Data::GetSeq_table(), set< Key, Compare >::insert(), CSeq_annot::IsSeq_table(), and ITERATE.

Referenced by CNAUtils::GetNATrackInfo().

◆ GetDataSourceTypeName() ◆ GetDisplayName() ◆ GetFeatLocation() ◆ GetFeatSubtypes() void CDataTrackUtils::GetFeatSubtypes ( const objects::CSeq_annot &  annot, set< string > &  subtypes  ) static ◆ GetFeature() const objects::CSeq_feat& CLinkedFeature::GetFeature ( ) const inline ◆ GetGenCode() int CSeqUtils::GetGenCode ( const objects::CBioseq_Handle &  handle ) static ◆ GetGiPlacements()

Retrieve mapped-up sequences.

Help method for retrieving upper level sequences for a given gi.

Parameters
gi the source sequence gi

Definition at line 1069 of file utils.cpp.

References Error(), eSerial_AsnText, flags, GetLinksURL(), CException::GetMsg(), LOG_POST, NStr::NumericToString(), CObjectIStream::Open(), s_GetAlnMapplingLocs(), STimeoutTag::sec, and STimeoutTag::usec.

◆ GetGIString() ◆ GetHTMLActiveAreas() void CAlignGlyph::GetHTMLActiveAreas ( TAreaVector *  ) const virtual

Get html active areas.

This function is for CGI mode only. By default, it does nothing.

Reimplemented from CSeqGlyph.

Definition at line 155 of file alignment_glyph.cpp.

References CHTMLActiveArea::fNoCaching, IScoringAlignment::GetNumRows(), CAlignGlyph::GetSignature(), CSeqGlyph::GetVisible(), IAlnGraphicDataSource::IsNegativeStrand(), CAlignGlyph::m_AlnMgr, CAlignGlyph::m_DisableTooltipsCaching, CHTMLActiveArea::m_Flags, CHTMLActiveArea::m_PositiveStrand, CHTMLActiveArea::m_Signature, and CSeqGlyph::x_InitHTMLActiveArea().

◆ GetIdMapper() IIdMapper * CGencollIdMapperAdapter::GetIdMapper ( CRef< objects::CGC_Assembly >  assm ) static

Definition at line 2880 of file utils.cpp.

References CGencollIdMapper::SIdSpec::Alias, CGencollIdMapperAdapter::CGencollIdMapperAdapter(), CGC_TypedSeqId_Base::e_Genbank, CGC_SeqIdAlias::e_Public, CGC_TypedSeqId_Base::e_Refseq, eGC_SequenceRole_top_level, CGC_Assembly::IsRefSeq(), CGencollIdMapper::SIdSpec::Role, and CGencollIdMapper::SIdSpec::TypedChoice.

Referenced by CBamUIDataSource::AddDataLoader(), SCoverageData::GetMapper(), CVcfLoadingJob::x_CreateProjectItems(), CVcfRefSequencesPanel::x_FillList(), and CBamUILoadManager::x_GetBamRefSeqs().

◆ GetIntervals() ◆ GetKey() ◆ GetLabel() string CAlignmentSmear::GetLabel ( void  ) const ◆ GetLocation() [1/3] const objects::CSeq_loc & CLayoutFeatLabel::GetLocation ( void  ) const ◆ GetLocation() [2/3] const objects::CSeq_loc & CAlignGlyph::GetLocation ( void  ) const virtual ◆ GetLocation() [3/3] const objects::CSeq_loc & CSwitchPointGlyph::GetLocation ( void  ) const ◆ GetLocPlacements()

Retrieve locations on mapped-up sequences Help method for retrieving upper level sequences for a given loc.

Parameters
loc source location (expected to be a pnt or int)
Returns
list of locations represented as intervals

Definition at line 1161 of file utils.cpp.

References CSeq_align::CheckNumRows(), Error(), eSerial_AsnText, fHTTP_AutoReconnect, CRange_Base::GetFrom(), CSeq_id_Base::GetGi(), GetLinksURL(), CException::GetMsg(), CSeq_align_Base::GetSegs(), CSeq_align::GetSeq_id(), CSeq_align_Base::C_Segs::GetStd(), CRange_Base::GetTo(), INVALID_GI, CSeq_id_Base::IsGi(), CSeq_align_Base::C_Segs::IsStd(), ITERATE, LOG_POST, NStr::NumericToString(), CObjectIStream::Open(), STimeoutTag::sec, swap(), and STimeoutTag::usec.

◆ GetMappedFeature() [1/2] objects::CMappedFeat& CLinkedFeature::GetMappedFeature ( ) inline

Definition at line 85 of file utils.hpp.

◆ GetMappedFeature() [2/2] const objects::CMappedFeat& CLinkedFeature::GetMappedFeature ( ) const inline

Definition at line 83 of file utils.hpp.

◆ GetMappingInfo()

Definition at line 2282 of file utils.cpp.

References CSeqFeatData_Base::e_Cdregion, eNa_strand_minus, CSeqFeatData::eSubtype_V_segment, CSeqFeatData_Base::GetCdregion(), CSeqUtils::GetCdsMappingInfoFromRna(), CSeq_feat_Base::GetData(), CSeqUtils::GetFeatLocation(), CCdregion_Base::GetFrame(), CSeq_loc::GetId(), CMappedFeat::GetLocation(), CMappedFeat::GetMappedFeature(), CSeqUtils::GetMappingInfoFromLocation(), CSeqUtils::GetMrnaForCds(), CMappedFeat::GetOriginalFeature(), CSeq_feat_Base::GetProduct(), CSeqUtils::GetRnaMappingInfo(), CBioseq_Handle::GetScope(), GetStrand(), CSeqFeatData::GetSubtype(), info, NStr::IntToString(), CSeqFeatData_Base::IsRna(), CCdregion_Base::IsSetFrame(), CSeq_feat_Base::IsSetProduct(), offset, and CSeqFeatData_Base::Which().

Referenced by CGuiObjectInfoSeq_feat::x_GetProductSequence().

◆ GetMappingInfoFromLocation() ◆ GetMaxSearchSegments() ◆ GetMaxSearchSegmentsAction() ◆ GetMaxSearchTime() ◆ GetMaxValue() ◆ GetMrnaForCds() ◆ GetNAMetaData() [1/2] ◆ GetNAMetaData() [2/2] ◆ GetNATrackInfo() [1/4]

Do data track discovery for a given NA.

This method relies on NA meta-data to do data discovery completely or partially depending on the annotation type. For example, for seq-table, it will need to look at the data to report the column names. For alignment, it will need to check the alignment type: protein or nucleotide.

Definition at line 607 of file na_utils.cpp.

References CNAUtils::GetNAMetaData().

Referenced by CNAUtils::GetNATrackInfo().

◆ GetNATrackInfo() [2/4]

Do data track discovery for a given NA with meta-data.

See also
void GetNATrackInfo(TTrackInfoList& track_info, const string& naa) const;

Definition at line 616 of file na_utils.cpp.

References SAnnotSelector::AddNamedAnnots(), set< Key, Compare >::begin(), data, CSeq_annot_Base::C_Data::e_Align, CSeq_annot_Base::C_Data::e_Ftable, CSeq_annot_Base::C_Data::e_Graph, CSeq_annot_Base::C_Data::e_Seq_table, map_checker< Container >::empty(), set< Key, Compare >::empty(), map_checker< Container >::end(), CDataTrackUtils::FeatSubtypes2TrackSubtypes(), map_checker< Container >::find(), ftable, CDataTrackUtils::GetAlignType(), CDataTrackUtils::GetColumnHeader(), CSeq_annot_Handle::GetCompleteSeq_annot(), CSeq_annot_Base::GetData(), CSeq_table_Base::GetFeat_subtype(), CSeq_annot_Base::C_Data::GetSeq_table(), CDataTrackUtils::GetSeqTableSubtype(), COpenRange< TSeqPos >::GetWhole(), SAnnotSelector::IncludeAnnotType(), SAnnotSelector::IncludeNamedAnnotAccession(), info, set< Key, Compare >::insert(), CSeq_table_Base::IsSetFeat_subtype(), ITERATE, CNAUtils::m_BioseqHandle, CNAUtils::m_Scope, CNAUtils::m_TargetSeq, s_GetFeatSubtypeStr(), CSeq_annot_Base::C_Data::SelectionName(), SAnnotSelector::SetCollectNames(), and SAnnotSelector::SetMaxSize().

◆ GetNATrackInfo() [3/4] ◆ GetNATrackInfo() [4/4] ◆ GetNcbiBaseUrl() string CSeqUtils::GetNcbiBaseUrl ( ) static ◆ GetNonAsnDataBlob() [1/2] ◆ GetNonAsnDataBlob() [2/2] ◆ GetObject() [1/3] ◆ GetObject() [2/3] ◆ GetObject() [3/3] ◆ GetObjects() [1/3] ◆ GetObjects() [2/3] ◆ GetObjects() [3/3] void CSwitchPointGlyph::GetObjects ( vector< CConstRef< CObject > > &  objs ) const virtual ◆ GetOrigAlignment() const objects::CSeq_align_Handle & CAlignGlyph::GetOrigAlignment ( void  ) const inline ◆ GetOrigAnchor() int CAlignGlyph::GetOrigAnchor ( void  ) const inline ◆ GetRange() [1/2] TSeqRange CLayoutFeatLabel::GetRange ( void  ) const ◆ GetRange() [2/2] TSeqRange CAlignGlyph::GetRange ( void  ) const virtual ◆ GetRangeCollection() ◆ GetRnaMappingInfo() ◆ GetSelectorRegistry() ◆ GetSeqEntryForPubdesc() ◆ GetSeqFeatHandleForBadLocFeature() ◆ GetSeqTableSubtype() ◆ GetShown() virtual bool INonAsnTrackData::GetShown ( ) const pure virtual

Implemented in CVcfTrackData.

◆ GetSignature() string CAlignGlyph::GetSignature ( ) const virtual

return signature for this glyph.

Implements IObjectBasedGlyph.

Definition at line 212 of file alignment_glyph.cpp.

References CSeq_loc::Assign(), CObjFingerprint::GetAlignSignature(), IScoringAlignment::GetAnchor(), CAlignGlyph::GetLocation(), CAlignGlyph::GetObject(), CAlignGlyph::GetOrigAlignment(), CRenderingContext::GetScope(), IAlnGraphicDataSource::GetSeqId(), CAlignGlyph::m_AlnMgr, CSeqGlyph::m_Context, CAlignGlyph::m_Location, CAlignGlyph::m_OrigSeqAlign, CSeq_loc::SetId(), and CAlignGlyph::x_IsSRA().

Referenced by CAlignGlyph::GetHTMLActiveAreas().

◆ GetSortedFeatList() vector<const objects::CFeatListItem *> GetSortedFeatList ( objects::CSeq_entry_Handle  seh, size_t  max = numeric_limits< size_t >::max()  )

Referenced by CMacroEditorContext::CMacroEditorContext(), CAECRFrame::CreateControls(), CCorrectIntervalOrder::Init(), CRemoveFeaturesDlg::Init(), CRemoveGeneXrefs::Init(), CSuppressGenes::Init(), CFeatureTypePanel::ListPresentFeaturesFirst(), CAdjustFeaturesForGaps::PopulateFeatureList(), CMacroFeatsOnSeqPanel::x_GetFeatureChoices(), CAddFeatureBetweenDlg::x_ListFeatures(), CBulkOtherAddPanel::x_ListFeatures(), and CAlignOtherAddPanel::x_ListFeatures().

◆ GetStrandType() ◆ GetSubcategory() ◆ GetSubkey() ◆ GetSwitchPoints() ◆ GetTitle()

Definition at line 1189 of file alignment_glyph.cpp.

References CLabel::eContent, CLabel::eDescription, CLabel::eDescriptionBrief, CLabel::eType, CLabel::eUserTypeAndContent, CLabel::GetLabel(), IScoringAlignment::GetNumRows(), CAlignGlyph::GetOrigAlignment(), CRenderingContext::GetScope(), CAlignGlyph::m_AlnMgr, CSeqGlyph::m_Context, CAlignGlyph::m_OrigAnchor, CAlignGlyph::m_OrigSeqAlign, row, NStr::UIntToString(), and CAlignGlyph::x_IsPWAlign().

Referenced by CAlignGlyph::x_DrawPWAlign(), and CAlignGlyph::x_UpdateBoundingBox().

◆ GetTooltip()

Get the tooltip if available.

The x and y are in 'world' coord system which is the coord. system for the uppermost layout object.

Reimplemented from CSeqGlyph.

Definition at line 118 of file alignment_glyph.cpp.

References ITooltipFormatter::AddRow(), CAlignGlyph::GetAlignment(), CRef< C, Locker >::GetPointer(), CRenderingContext::GetScale(), CRenderingContext::GetScope(), CSeqGlyph::GetVisible(), CRenderingContext::IsFlippedStrand(), CAlignGlyph::IsLastRow(), CAlignGlyph::m_AlnMgr, CSeqGlyph::m_Context, CAlignGlyph::m_OrigAnchor, NULL, CGuiObjectInfoSeq_align::SetAnchorRow(), CGuiObjectInfoSeq_align::SetDataSource(), CGuiObjectInfoSeq_align::SetFlippedStrands(), CGuiObjectInfoSeq_align::SetScale(), and CGlPoint< T >::X().

◆ GetTopSeqEntryFromScopedObject()

Definition at line 2596 of file utils.cpp.

References CScope::eMissing_Null, GetBioseqForSeqFeat(), GetDefaultTopLevelSeqEntry(), CConstRef< C, Locker >::GetPointer(), GetSeqEntryForPubdesc(), GetSeqEntryForSeqdesc(), CBioseq_Handle::GetTopLevelEntry(), CBioseq_set_Handle::GetTopLevelEntry(), SConstScopedObject::object, and SConstScopedObject::scope.

Referenced by CEditingBtnsPanel::EditSequence(), CSequenceEditingEventHandler::EditSequence(), CSelectFeatures::GetMainObject(), CSUCDataGenerator::GetSUCResults(), CBulkCmdDlg::GetTopLevelSeqEntryAndProcessor(), CValidatePanel::GetTopSeqAndSeqSubmit(), CEditObjViewDlgModal::InitWidget(), IsEditable(), CAddFeatureBetweenDlg::OnApplyButton(), CEditingBtnsPanel::OnDataChange(), CUnculTaxTool::OnRefreshBtn(), CSelectTargetDlg::OnSelTargetAcceptClick(), CDiscrepancyPanel::OpenEditor(), CRemoveSet::remove_sets_from_set(), s_Create5ColFeatTable(), CGuiCoreHelper::Sync(), CTableViewWithTextViewNav::x_EditObject(), CSuspectProductRulesEditor::x_SetUpTSEandUnDoManager(), and CSequenceEditingEventHandler::x_SetUpTSEandUnDoManager().

◆ GetTrackInfo() [1/2] ◆ GetTrackInfo() [2/2]

Get data track information from a seq-annot.

◆ GetTrackMetaData() ◆ GetType() [1/2] CLayoutFeatLabel::EType CLayoutFeatLabel::GetType ( void  ) const

Definition at line 79 of file feat_label.cpp.

◆ GetType() [2/2] CLayoutPWAlign::EType CLayoutPWAlign::GetType ( void  ) const

Definition at line 48 of file pw_alignment.cpp.

◆ GetUnnamedAnnot()

Get the commonly used symbol representing a unnnamed annotation.

Definition at line 534 of file utils.hpp.

Referenced by CTrackConfigManager::AdjustTrackOrder(), CGraphGlyph::CGraphGlyph(), CGeneModelFactory::CreateTracks(), CSGFeatureJob::GetAnnotNames(), CSGSegmentSmearJob::GetAnnotNames(), CSGAlignmentJob::GetAnnotNames(), CSGSeqGraphJob::GetAnnotNames(), CEpigenomicsDS::GetAnnotNames(), CSGFeatureJob::GetAnnotNames_var(), CHistParamsManager::GetHistParams(), CSGSeqGraphJob::GetSeqtableAnnots(), CHistParamsManager::HasSettings(), CHistParamsManager::IsTempSettings(), CSeqUtils::IsUnnamed(), CTempTrackProxy::SaveToRegistry(), CSGAnnotJob::x_AddGraphObject(), CHistParamsManager::x_AddSettings(), CBatchFeatJob::x_LoadFeatProducts(), CSGSeqGraphJob::x_LoadSeqTable(), and CAlignTabExportPage2::x_StartAlignNamesJob().

◆ GetXmlChildNodeValue() ◆ HasNonAsnData() [1/2] ◆ HasNonAsnData() [2/2] virtual bool INonAsnDataSource::HasNonAsnData ( const stringannot_name ) const pure virtual ◆ HasObject() [1/2] ◆ HasObject() [2/2] ◆ IsAlignDb() ◆ IsClickable() bool CAlignGlyph::IsClickable ( ) const virtual

Query if this glyph is clickable.

Mainly for chaging mouse cursor for clickable glyph. By default, it returns false. If a glyph is clickable, but there is no need to change mouse cursor due to any other reason, such as there is already other visual hint, then don't need to override this function.

Reimplemented from CSeqGlyph.

Definition at line 182 of file alignment_glyph.cpp.

◆ IsCoverageAnnotName() ◆ IsCrossOrigin() [1/2] ◆ IsCrossOrigin() [2/2] ◆ IsException() bool CSeqUtils::IsException ( const objects::CSeq_feat &  feat ) static ◆ IsExtendedNAA()

check if a given annotation is an extended NAA (named accession[.version][number], as used in e.g.

SNP2) when isSctrict == false, regular NAs are now included into this as well i.e. the result of calling this is now the same as IsNAA

Definition at line 851 of file utils.cpp.

References s_IsExtendedNAA().

Referenced by CSnpTrackFactory::CreateTracks(), CSeqUtils::GetAnnotSelector(), NSnpAnnot::GetGraph_CI(), CSnpTrackFactory::GetMatchedAnnots(), CTempTrackProxy::IsExtendedNA(), CSeqUtils::IsNAA(), s_ConvertMetaData(), CSeqUtils::SetAnnot(), and CSnpJob::x_FetchGraphs().

◆ IsExtendedNAA_Name() ◆ IsGeneModelFeature() bool CDataTrackUtils::IsGeneModelFeature ( int  type, int  subtype  ) static

Does feature belong to gene model track Gene, RNA, cdregion, exon, C_region, and VDJ segments.

Definition at line 190 of file na_utils.cpp.

References CSeqFeatData_Base::e_Cdregion, CSeqFeatData_Base::e_Gene, CSeqFeatData_Base::e_Rna, CSeqFeatData::eSubtype_C_region, CSeqFeatData::eSubtype_D_segment, CSeqFeatData::eSubtype_exon, CSeqFeatData::eSubtype_J_segment, CSeqFeatData::eSubtype_misc_RNA, and CSeqFeatData::eSubtype_V_segment.

Referenced by CDataTrackUtils::FeatSubtypes2TrackSubtypes(), CTrackConfigManager::ValidFeatureTrack(), CAlignmentTrack::x_AddAlignFeatLayout(), and CSGAlignmentJob::x_LoadAlignmentFeats().

◆ IsLastRow() bool CAlignGlyph::IsLastRow ( ) const inline ◆ IsNAA()

check if a given annotation is a named annotation accession[.version][number] when isSctrict == false, includes extended NAs since it is considered no harm to relax the rules for all NAs

Definition at line 797 of file utils.cpp.

References CSeqUtils::IsExtendedNAA(), and s_IsNAA().

Referenced by CObjFingerprint::GetAlignSignature(), CSGSegmentSmearJob::GetAnnotNames(), CSeqUtils::GetAnnotSelector(), CObjFingerprint::GetFeatSignature(), CObjFingerprint::GetGraphSignature(), CObjFingerprint::GetHistogramSignature(), ILayoutTrackFactory::GetMatchedAnnots(), CAllOtherFeaturesTrackFactory::GetSettings(), CVarTrack::InitHTMLActiveArea(), CTempTrackProxy::IsNA(), CTrackConfigManager::OnShownList(), CObjFingerprint::ParseSignature(), CTrackInitializationJob::Run(), CSnpJob::s_AdjustAnnotName(), CSeqUtils::SetAnnot(), CHapmapJob::x_Load(), and CGenBankLoadOptionPanel::x_ProccessText().

◆ IsNAA_Name() ◆ IsNegative() bool CAlignGlyph::IsNegative ( ) const inline ◆ IsPartialFeature() bool CSeqUtils::IsPartialFeature ( const objects::CSeq_feat &  feat ) static ◆ IsPartialStart() bool CSeqUtils::IsPartialStart ( const objects::CSeq_loc &  loc ) static ◆ IsPartialStop() bool CSeqUtils::IsPartialStop ( const objects::CSeq_loc &  loc ) static ◆ IsPseudoFeature() bool CSeqUtils::IsPseudoFeature ( const objects::CSeq_feat &  feat ) static ◆ isQuasiLocal() bool CSeqUtils::isQuasiLocal ( const objects::CBioseq_Handle &  handle ) static ◆ isRmtAnnotName() ◆ isRmtPipelineFileType() ◆ IsSameStrands() bool CSeqUtils::IsSameStrands ( const objects::CSeq_loc &  loc ) static ◆ IsSimplified() bool CAlignGlyph::IsSimplified ( ) const inline ◆ isTopLevel()

Definition at line 1476 of file utils.cpp.

References CSeq_id::AsFastaString(), CSeq_id::eAcc_refseq_chromosome, map_checker< Container >::end(), Error(), map_checker< Container >::find(), CScope::GetBioseqHandle(), GetGiForId(), CSeq_id::IdentifyAccession(), info, CGencollSvc::isGenCollSequence(), LOG_POST, m_TopLevels, m_TopLevelsLock, CSeqUtils::Match(), s_GetAssemblySeqIds(), and ZERO_GI.

◆ IsUnnamed() ◆ IsVDBAccession() ◆ LessBySeqPos() ◆ LinkFeatures()

Link features into a hierarchical list.

This function will transform a linear, feature-order-sorted list of CLinkedFeature into a hierarchically arranged list in which genes are linked to mRNAs, mRNAs to CDSs, etc.

Parameters
mode 0:eFeatId_ignore, 1:eFeatId_by_type, 2:eFeatId_always

Definition at line 453 of file utils.cpp.

References ISeqTaskProgressCallback::AddTaskCompleted(), NON_CONST_ITERATE, ISeqTaskProgressCallback::SetTaskCompleted(), ISeqTaskProgressCallback::SetTaskName(), ISeqTaskProgressCallback::SetTaskTotal(), and ISeqTaskProgressCallback::StopRequested().

Referenced by CGeneModelFeatJob::GetFilters(), CGeneModelFeatJob::x_CreateFeaturesWithFilter(), CGeneModelFeatJob::x_Execute(), CSGFeatureJob::x_LinkFeatures(), and CSGAlignmentJob::x_LoadAlignmentFeats().

◆ MakeRmtAnnotName()

create an annotation name for a remote file pipeline, appending sSuffix

Definition at line 808 of file utils.cpp.

◆ Map() [1/2] objects::CSeq_id_Handle CGencollIdMapperAdapter::Map ( const objects::CSeq_id_Handle &  idh ) overridevirtual ◆ Map() [2/2] CRef< objects::CSeq_loc > CGencollIdMapperAdapter::Map ( const objects::CSeq_loc &  loc ) overridevirtual ◆ MapObject() ◆ MapStringId() CRef< objects::CSeq_id > CSeqUtils::MapStringId ( const stringstr, objects::IIdMapper *  mapper  ) static ◆ MaskGaps() void CAlignmentSmear::MaskGaps ( ) ◆ Match() [1/2] static bool CSeqUtils::Match ( const objects::CSeq_id &  id1, const objects::CSeq_id &  id2, objects::CScope *  scope = NULL  ) static

check to see if two seq-ids are identical.

If provided with a scope, this function will use the synonyms available through a scope to check for identicality. Note that this may require network access, and may be slow.

Referenced by CVisibleRange::Clamp(), CQueryFuncPromoteEq::Evaluate(), CQueryFuncPromoteIn::Evaluate(), CProjectView::GetReflectionInfo(), CSeqUtils::isTopLevel(), CVisibleRange::Match(), CAlnMultiWidget::SetSelectedIds(), CTaxTreeBrowser::SetSelectedUids(), and CComponentSearchJob::x_DoSearch().

◆ Match() [2/2] static bool CSeqUtils::Match ( const objects::CSeq_id_Handle &  id1, const objects::CSeq_id_Handle &  id2, objects::CScope *  scope = NULL  ) static ◆ MixLocToLoc() CRef< CSeq_loc > CSeqUtils::MixLocToLoc ( const objects::CSeq_loc &  mix_loc, const objects::CBioseq_Handle &  handle  ) static

Create a new seq-loc with a unique seq-id from a "mixed" loc.

"Mixed" means mixed seq-ids, e.g. a seq-loc with multi seq-ids.

Definition at line 662 of file utils.cpp.

References CPacked_seqint::AddInterval(), COpenRange< Position >::Empty(), CPacked_seqint_Base::Get(), CRange_Base::GetFrom(), CBioseq_Handle::GetSeqId(), CRange_Base::GetTo(), CBioseq_Handle::IsSynonym(), CPacked_seqint_Base::Set(), CSeq_loc::SetInt(), and CSeq_loc::SetPacked_int().

Referenced by CSeqUtils::GetFeatLocation(), CSGFeatureJob::x_CreateCrossOriginGlyphs(), CSGFeatureJob::x_CreateFeature1(), and CGuiObjectInfoSeq_feat::x_GetFeatLocation().

◆ NameTypeStrToValue()

Definition at line 141 of file utils.cpp.

References CSeqUtils::eAnnot_Other.

Referenced by CTrackConfigManager::AdjustTrackOrder(), CAlignmentTrackFactory::CreateTracks(), NSearchFeatPanel::GatherFeatures(), CSeqUtils::GetAnnotSelector(), NSnpAnnot::GetFeat_CI(), CSnpJob::s_AdjustAnnotName(), CFeatureTrack::SetAnnot(), CGeneModelTrack::SetAnnot(), CGraphTrack::SetAnnot(), CSeqUtils::SetAnnot(), NSearchFeatPanel::CTrackFeatSubtype::Track(), CSnpJob::x_FetchFtable(), and CSnpJob::x_FetchGraphs().

◆ NameTypeValueToStr() ◆ NeedTooltip()

Check if need to show tooltip.

If the tooltip retrieval is trivial, the derived glyph may decide to fill out the tooltip (info object) in this call.

Reimplemented from CSeqGlyph.

Definition at line 112 of file alignment_glyph.cpp.

◆ operator<() [1/2] ◆ operator<() [2/2] ◆ operator=() ◆ ParseRanges() ◆ Read()

Read attributes stream into the table.

Definition at line 62 of file biotree_attr_reader.cpp.

References CNcbiTable< TValue, TRow, TColumn >::AddColumn(), CNcbiTable< TValue, TRow, TColumn >::AddRow(), CStreamLineReader::AtEOF(), CBioTreeAttrReader::CheckLineReader(), CNcbiTable< TValue, TRow, TColumn >::Cols(), ERR_POST, NStr::fSplit_Tokenize, CNcbiTable< TValue, TRow, TColumn >::GetCell(), CStreamLineReader::GetLineNumber(), i, ITERATE, l(), LOG_POST, NCBI_THROW2, row, NStr::Split(), CBioTreeAttrReader::TableValueDecode(), and Warning().

Referenced by CPhyloTreeWidget::OnLoadAttributes().

◆ RemapChildToParent() CRef< CSeq_loc > CSeqUtils::RemapChildToParent ( const objects::CSeq_loc &  parent, const objects::CSeq_loc &  child, objects::CScope *  scope = NULL  ) static ◆ RemoveNonAsnData() ◆ s_LoadBlob() ◆ SeparateStrands() bool CAlignmentSmear::SeparateStrands ( const objects::CSeq_annot &  seq_annot ) static ◆ SeqLocToBioseq() CBioseq * CSeqUtils::SeqLocToBioseq ( objects::CScope &  scope, const objects::CSeq_loc &  loc  ) static

Construct a bioseq to fit a given location.

If the location is of type 'whole', then a duplicate of the original will be returned; otherwise, a new bioseq will be constructed to cover just the region indicated in the seq-loc

Definition at line 601 of file utils.cpp.

References CSerialObject::Assign(), CBioseq_Handle::eCoding_Iupac, CSeq_inst_Base::eMol_aa, CSeq_inst_Base::eMol_na, CSeq_inst_Base::eRepr_raw, CScope::GetBioseqHandle(), CBioseq_Handle::GetCompleteBioseq(), CSeq_loc::GetLabel(), CSeqVector::GetSeqData(), CBioseq_Handle::GetSeqId(), CSeqVector::IsProtein(), CSeq_loc_Base::IsWhole(), CSeqportUtil::Pack(), CRef< C, Locker >::Release(), CBioseq_Base::SetDescr(), CBioseq_Base::SetId(), CBioseq_Base::SetInst(), CSeqdesc_Base::SetTitle(), and CSeqVector::size().

◆ SetAnnot() void CSeqUtils::SetAnnot ( objects::SAnnotSelector &  sel, const stringannot  ) static

help function for setting up an annotation.

Definition at line 321 of file utils.cpp.

References CSeqUtils::eAnnot_All, CSeqUtils::eAnnot_Named, CSeqUtils::eAnnot_Other, CSeqUtils::eAnnot_Unnamed, CSeqUtils::IsExtendedNAA(), CSeqUtils::IsNAA(), and CSeqUtils::NameTypeStrToValue().

Referenced by CSGAlignmentDS::CalcAlnStat(), CSGAlignmentDS::GetAlignmentCost(), CSGFeatureDS::GetFilters(), CSGAlignmentDS::GetGraphCost(), CSGAlignmentDS::LoadAlignments(), CSGAlignmentDS::LoadCoverageGraph(), CEpigenomicsDS::LoadData(), and CAlignTabExportJob::Run().

◆ SetAnnotShown() void CSeqUtils::SetAnnotShown ( objects::CSeq_annot &  annot, bool  isShown  ) static ◆ SetColumn() void CLayoutFeatLabel::SetColumn ( int  col ) inline ◆ SetConfig() ◆ SetLabel() void CAlignmentSmear::SetLabel ( const stringlabel ) ◆ SetMaxNAs() void CNAUtils::SetMaxNAs ( int  size ) ◆ SetNonAsnDataRegistry() ◆ SetRange() ◆ SetResolveDepth() void CSeqUtils::SetResolveDepth ( objects::SAnnotSelector &  sel, bool  adaptive, int  depth = -1  ) static

help function for setting selector resolve depth.

Parameters
sel target annotation selector adaptive adaptive selector if true, otherwise, exact selector depth resolve depth. For adaptive selector, it resolves all if depth < 0, otherwie resolve up to the specified depth. For exact selector, depth is the exact the resovle depth (>=0).

Definition at line 406 of file utils.cpp.

References depth, CSeqUtils::GetMaxSearchSegments(), CSeqUtils::GetMaxSearchSegmentsAction(), CSeqUtils::GetMaxSearchTime(), and CSeqUtils::GetSelectorRegistry().

Referenced by CSGAlignmentDS::CalcAlnStat(), CFeatureTrack::GenerateAsn1(), CGeneModelTrack::GenerateAsn1(), CSGAlignmentDS::GetAlignmentCost(), CEpigenomicsDS::GetAnnotNames(), CSGFeatureDS::GetAnnotNames(), CSGSegmentMapDS::GetAnnotNames(), CSGAlignmentDS::GetAnnotNames(), CSGGraphDS::GetAnnotNames(), CSGSnpDS::GetAnnotNames(), CSGFeatureDS::GetAnnotNames_var(), CSeqUtils::GetAnnotSelector(), NSnpAnnot::GetFeat_CI(), NSnpAnnot::GetGraph_CI(), CSGAlignmentDS::GetGraphCost(), CSGGraphDS::GetSeqtableAnnots(), CBinsDS::GetTrackNames(), CSGHapmapDS::GetTrackNames(), CLDBlockDS::GetTrackNames(), CSGAlignmentDS::LoadAlignments(), CSGAlignmentDS::LoadCoverageGraph(), CEpigenomicsDS::LoadData(), CSGFeatureDS::LoadGeneModelFeatures(), CSGGraphDS::LoadSeqGraphs(), CAlignTabExportJob::Run(), CSnpJob::x_FetchFtable(), CBinsJob::x_FetchGraphs(), CSnpJob::x_FetchGraphs(), CHapmapJob::x_Load(), CLDBlockJob::x_Load(), and CAlignTabExportPage2::x_StartAlignNamesJob().

◆ SetScore() ◆ SetShowScore() void CAlignGlyph::SetShowScore ( ) inline ◆ SetTaskCompleted() virtual void ISeqTaskProgressCallback::SetTaskCompleted ( int  completed ) pure virtual ◆ SetTaskName() virtual void ISeqTaskProgressCallback::SetTaskName ( const stringname ) pure virtual ◆ SetTaskTotal() virtual void ISeqTaskProgressCallback::SetTaskTotal ( int  total ) pure virtual ◆ SmearGapBegin() ◆ SmearSegBegin() ◆ StopRequested() virtual bool ISeqTaskProgressCallback::StopRequested ( ) const pure virtual ◆ StringToRange() bool CSeqUtils::StringToRange ( const stringrange_str, long &  from, long &  to  ) static ◆ TableValueDecode() void CBioTreeAttrReader::TableValueDecode ( strings ) protected ◆ x_CalcIntervals() [1/2] void CAlignGlyph::x_CalcIntervals ( TIntervalsintervals, int  target_row = -1  ) const private

Definition at line 2386 of file alignment_glyph.cpp.

References IScoringAlignment::CreateSegmentIterator(), IAlnExplorer::eLeft, COpenRange< Position >::Empty(), IAlnExplorer::eRight, Error(), IAlnSegmentIterator::eSkipGaps, IAlnGraphicDataSource::GetAlnPosFromSeqPos(), IAlnSegment::GetAlnRange(), IScoringAlignment::GetAnchor(), IScoringAlignment::GetBaseWidth(), CRange_Base::GetFrom(), IAlnSegment::GetRange(), IScoringAlignment::GetSeqPosFromAlnPos(), IAlnGraphicDataSource::GetSeqStart(), IAlnGraphicDataSource::GetSeqStop(), CRange_Base::GetTo(), CRenderingContext::IntersectVisible(), IAlnSegment::IsAligned(), IAlnSegment::IsIndel(), CAlignGlyph::IsSimplified(), kMinSegDistance, LOG_POST, CAlignGlyph::m_AlnMgr, CSeqGlyph::m_Context, max(), r(), row, CRenderingContext::SeqToScreen(), and swap().

Referenced by CAlignGlyph::x_DrawMultiAlign(), and CAlignGlyph::x_UpdateBoundingBox().

◆ x_CalcIntervals() [2/2] void CLayoutPWAlign::x_CalcIntervals ( void  ) const protectedvirtual ◆ x_ConvertAlnTaillRngToSeqRng() ◆ x_Draw() [1/2] void CAlignGlyph::x_Draw ( ) const protectedvirtual

The default renderer for this layout object.

Implements CSeqGlyph.

Definition at line 1249 of file alignment_glyph.cpp.

References CAlignGlyph::ApplyFading(), CSeqGlyph::GetBottom(), CRenderingContext::GetGlPane(), CSeqGlyph::GetTop(), CSeqGlyph::GetVisible(), CGlPane::GetVisibleRect(), CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawPWAlign(), and CAlignGlyph::x_IsPWAlign().

◆ x_Draw() [2/2] void CSwitchPointGlyph::x_Draw ( ) const protectedvirtual ◆ x_DrawAlignRowSequence()

Definition at line 1673 of file alignment_glyph.cpp.

References IRender::Color3f(), IRender::ColorC(), CSeqManip::Complement(), IScoringAlignment::CreateSegmentIterator(), CRenderingContext::DrawDisk2(), CRenderingContext::DrawLineStrip(), CSeqUtil::e_Iupacaa, CSeqUtil::e_Iupacna, CBioseq_Handle::eCoding_Iupac, IAlnExplorer::eLeft, eMaxRowLimit, COpenRange< Position >::Empty(), CAlignGlyph::eOne2One, CAlignGlyph::eOne2Three, IAlnExplorer::eRight, IAlnSegmentIterator::eSkipGaps, CAlignGlyph::eThree2One, IScoringMethod::fForeground, CSeqTranslator::fIs5PrimePartial, IAlnGraphicDataSource::GetAlnPosFromSeqPos(), IAlnSegment::GetAlnRange(), IScoringAlignment::GetAlnSeqString(), IScoringAlignment::GetAnchor(), CAlignGlyph::GetBarHeight(), IScoringAlignment::GetBaseWidth(), IAlnGraphicDataSource::GetBioseqHandle(), CBioseq_Handle::GetBioseqLength(), CRange_Base::GetFrom(), IAlnGraphicDataSource::GetGenCode(), GetGl(), CSeqGlyph::GetLeft(), IAlnSegment::GetRange(), CSeqGlyph::GetRight(), CSeqVector::GetSeqData(), IScoringAlignment::GetSeqPosFromAlnPos(), IAlnGraphicDataSource::GetSeqStart(), IAlnGraphicDataSource::GetSeqStop(), CBioseq_Handle::GetSeqVector(), CSeqGlyph::GetTearline(), CRange_Base::GetTo(), CSeqGlyph::GetWidth(), CRenderingContext::IntersectVisible(), CBioseq_Handle::IsAa(), CRenderingContext::IsFlippedStrand(), CAlignGlyph::IsLastRow(), IAlnGraphicDataSource::IsNegativeStrand(), kPWAlignPackLevel, CRgbaColor::Lighten(), CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_LabelFont, CAlignGlyph::m_Score, CAlignmentConfig::m_SeqFont, CAlignmentConfig::m_ShowIdenticalBases, match(), min(), msg(), NULL, r(), CSeqManip::Reverse(), CSeqManip::ReverseComplement(), row, CRenderingContext::ScreenToSeq(), CRenderingContext::SeqToScreen(), COpenRange< Position >::Set(), CRgbaColor::SetAlpha(), CRange_Base::SetFrom(), CGenetic_code::SetId(), swap(), IRender::TextHeight(), CRenderingContext::TextOut(), IRender::TextWidth(), and CSeqTranslator::Translate().

Referenced by CAlignGlyph::DrawPWAlignElem(), and CAlignGlyph::x_DrawMultiAlign().

◆ x_DrawGaps()

Definition at line 248 of file alignment_glyph.cpp.

References IRender::ColorC(), IScoringAlignment::CreateSegmentIterator(), ctx, IRender::Disable(), CRenderingContext::DrawLine(), IAlnSegmentIterator::eAllSegments, IAlnGraphicDataSource::eCigar_N, COpenRange< Position >::Empty(), IAlnSegment::fIndel, IAlnSegment::GetAlnRange(), IScoringAlignment::GetAnchor(), IAlnGraphicDataSource::GetCigarAtAlnPos(), CRange_Base::GetFrom(), GetGl(), IScoringAlignment::GetNumRows(), IAlnSegment::GetRange(), IScoringAlignment::GetSeqPosFromAlnPos(), CRange_Base::GetTo(), IAlnSegment::GetType(), IRender::LineWidth(), CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_Gap, CAlignmentConfig::m_Intron, row, CRenderingContext::SeqToScreen(), and swap().

Referenced by CAlignGlyph::DrawPWAlignElem().

◆ x_DrawInserts()

Definition at line 322 of file alignment_glyph.cpp.

References IRender::ColorC(), CompressLength(), IScoringAlignment::CreateSegmentIterator(), ctx, IRender::Disable(), CRenderingContext::DrawLine(), CRenderingContext::DrawTriangle(), IAlnSegmentIterator::eAllSegments, IAlnExplorer::eBackwards, IAlnExplorer::eForward, COpenRange< Position >::Empty(), CAlignmentConfig::eNormal, IAlnExplorer::eRight, IAlnSegment::fAligned, IAlnSegment::fIndel, IAlnSegment::GetAlnRange(), IScoringAlignment::GetAnchor(), CRange_Base::GetFrom(), GetGl(), COpenRange< Position >::GetLength(), IScoringAlignment::GetNumRows(), IAlnSegment::GetRange(), CRenderingContext::GetScale(), IScoringAlignment::GetSeqPosFromAlnPos(), CRange_Base::GetTo(), IAlnSegment::GetType(), int, CRgbaColor::Interpolate(), IAlnGraphicDataSource::IsNegativeStrand(), len, CRgbaColor::Lighten(), CAlignGlyph::m_AlnMgr, CAlignmentConfig::m_CompactMode, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_DisableTooltipsCaching, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_Insertion, max(), min(), row, CRenderingContext::ScreenToSeq(), and CRenderingContext::SeqToScreen().

Referenced by CAlignGlyph::DrawPWAlignElem().

◆ x_DrawInternalUnalignedRegions()

Definition at line 505 of file alignment_glyph.cpp.

References IRender::ColorC(), IScoringAlignment::CreateSegmentIterator(), ctx, CRenderingContext::DrawStippledLine(), IAlnSegmentIterator::eAllSegments, IAlnExplorer::eLeft, COpenRange< Position >::Empty(), IAlnExplorer::eRight, IAlnSegment::fUnaligned, NStr::fWithCommas, IAlnSegment::GetAlnRange(), IScoringAlignment::GetAnchor(), CRange_Base::GetFrom(), GetGl(), CRenderingContext::GetGlPane(), COpenRange< Position >::GetLength(), IScoringAlignment::GetNumRows(), IAlnSegment::GetRange(), IScoringAlignment::GetSeqPosFromAlnPos(), CRange_Base::GetTo(), COpenRange< Position >::GetToOpen(), IAlnSegment::GetType(), CGlPane::GetViewport(), CRenderingContext::GetViewWidth(), i, CRenderingContext::IntersectVisible(), NStr::IntToString(), CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_DisableTooltipsCaching, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_Label, CAlignmentConfig::m_LabelFont, round(), row, CRenderingContext::ScreenToSeq(), CRange_Base::SetFrom(), swap(), IRender::TextHeight(), CRenderingContext::TextOut(), IRender::TextWidth(), and CGlRect< T >::Width().

Referenced by CAlignGlyph::x_DrawIntronsAndInternalUnalignedRegions().

◆ x_DrawIntronsAndInternalUnalignedRegions() ◆ x_DrawMultiAlign() void CAlignGlyph::x_DrawMultiAlign ( ) const private

Definition at line 1436 of file alignment_glyph.cpp.

References IRender::Color4f(), IRender::ColorC(), CompressLength(), IScoringAlignment::CreateSegmentIterator(), IRender::Disable(), CRenderingContext::Draw3DQuad(), CRenderingContext::DrawLine(), CRenderingContext::DrawLine_NoAA(), CRenderingContext::DrawSelection(), IAlnSegmentIterator::eAllSegments, IAlnExplorer::eLeft, COpenRange< Position >::Empty(), CAlignmentConfig::ePos_Above, CAlignmentConfig::ePos_Side, IAlnExplorer::eRight, Error(), IAlnSegment::fIndel, IAlnGraphicDataSource::GetAlnPosFromSeqPos(), IAlnSegment::GetAlnRange(), IScoringAlignment::GetAnchor(), CAlignGlyph::GetBarHeight(), IScoringAlignment::GetBaseWidth(), CRange_Base::GetFrom(), GetGl(), COpenRange< Position >::GetLength(), CSeqGlyph::GetModelRect(), CException::GetMsg(), IScoringAlignment::GetNumRows(), IAlnSegment::GetRange(), IAlnGraphicDataSource::GetSeqAlnRange(), IScoringAlignment::GetSeqPosFromAlnPos(), IAlnGraphicDataSource::GetSeqStart(), IAlnGraphicDataSource::GetSeqStop(), CRange_Base::GetTo(), IAlnSegment::GetType(), COpenRange< Position >::IntersectionWith(), CRenderingContext::IntersectVisible(), CRenderingContext::IsFlippedStrand(), CRenderingContext::IsHorizontal(), IAlnGraphicDataSource::IsNegativeStrand(), CSeqGlyph::IsSelected(), ITERATE, kAlignRowSpace, kLabelSpace_v, len, IRender::LineWidth(), LOG_POST, CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_FG, CAlignmentConfig::m_Insertion, CAlignmentConfig::m_LabelFont, CAlignmentConfig::m_LabelPos, CAlignGlyph::m_Score, CAlignmentConfig::m_SeqFont, CAlignmentConfig::m_SeqMismatch, CAlignmentConfig::m_Sequence, max(), row, CRenderingContext::ScreenToSeq(), COpenRange< Position >::Set(), swap(), IRender::TextHeight(), CRenderingContext::TextOut(), CGlRect< T >::Top(), Warning(), CRenderingContext::WillLabelFit(), CRenderingContext::WillSeqLetterFit(), CAlignGlyph::x_CalcIntervals(), CAlignGlyph::x_DrawAlignRowSequence(), CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_GetOverrideColor(), CAlignGlyph::x_RenderAveragableScores(), CAlignGlyph::x_RenderNonAveragableScores(), CAlignGlyph::x_ShowLabel(), and CAlignGlyph::x_ShowScore().

Referenced by CAlignGlyph::x_Draw().

◆ x_DrawMultiAlignLabel() void CAlignGlyph::x_DrawMultiAlignLabel ( int  row, TModelUnit  y  ) const private

Definition at line 1632 of file alignment_glyph.cpp.

References IRender::ColorC(), CRenderingContext::DrawBackground(), CLabel::eContent, CAlignmentConfig::ePos_Above, IScoringAlignment::GetAnchor(), CRange_Base::GetFrom(), GetGl(), CLabel::GetLabel(), CSeqGlyph::GetLeft(), COpenRange< Position >::GetLength(), CRenderingContext::GetScope(), CRenderingContext::GetSelLabelColor(), IAlnGraphicDataSource::GetSeqId(), CRange_Base::GetTo(), CRenderingContext::IntersectVisible(), IAlnGraphicDataSource::IsNegativeStrand(), CSeqGlyph::IsSelected(), label, CAlignGlyph::m_AlnMgr, CAlignmentConfig::m_BG, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_Label, CAlignmentConfig::m_LabelFont, CAlignmentConfig::m_LabelPos, row, CRenderingContext::ScreenToSeq(), CRenderingContext::SeqToScreen(), IRender::TextHeight(), CRenderingContext::TextOut(), IRender::TextWidth(), and CGlTextureFont::Truncate().

Referenced by CAlignGlyph::x_DrawMultiAlign().

◆ x_DrawNonConsensusSpliceSites()

Definition at line 850 of file alignment_glyph.cpp.

References IRender::ColorC(), ctx, CRenderingContext::DrawLine(), CSeq_align_Base::C_Segs::e_Spliced, eNa_strand_minus, CSpliced_exon_Base::GetAcceptor_before_exon(), CSplice_site_Base::GetBases(), CSpliced_exon_Base::GetDonor_after_exon(), CSpliced_seg_Base::GetExons(), CSpliced_exon_Base::GetGenomic_end(), CSpliced_exon_Base::GetGenomic_start(), GetGl(), CSpliced_seg::GetSeqStrand(), IsConsensusSplice(), CSpliced_exon_Base::IsSetAcceptor_before_exon(), CSpliced_exon_Base::IsSetDonor_after_exon(), ITERATE, kEmptyStr, IRender::LineWidth(), CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_NonConsensus, CAlignGlyph::m_OrigAnchor, and CAlignGlyph::m_SeqAlign.

Referenced by CAlignGlyph::DrawPWAlignElem().

◆ x_DrawNoScoreAlign() ◆ x_DrawPWAlign() void CAlignGlyph::x_DrawPWAlign ( ) const private

Definition at line 1372 of file alignment_glyph.cpp.

References IRender::ColorC(), CRenderingContext::DrawBackground(), CAlignGlyph::DrawPWAlignElem(), CLabel::eDefault, CAlignmentConfig::ePos_Above, CSeqGlyph::GetBottom(), CRange_Base::GetFrom(), GetGl(), CSeqGlyph::GetLeft(), COpenRange< Position >::GetLength(), CSeqGlyph::GetModelRect(), CSeqGlyph::GetRight(), CRenderingContext::GetSelLabelColor(), CAlignGlyph::GetTitle(), CRange_Base::GetTo(), CRenderingContext::IntersectVisible(), IAlnGraphicDataSource::IsNegativeStrand(), CSeqGlyph::IsSelected(), label, CAlignGlyph::m_AlnMgr, CAlignmentConfig::m_BG, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_FG, CAlignmentConfig::m_Label, CAlignmentConfig::m_LabelFont, CAlignmentConfig::m_LabelPos, CAlignmentConfig::m_SeqMismatch, CAlignmentConfig::m_Sequence, CRenderingContext::ScreenToSeq(), CRenderingContext::SeqToScreen(), IRender::TextHeight(), CRenderingContext::TextOut(), IRender::TextWidth(), CGlRect< T >::Top(), CGlTextureFont::Truncate(), and CAlignGlyph::x_ShowLabel().

Referenced by CAlignGlyph::x_Draw().

◆ x_DrawSimplified()

Definition at line 932 of file alignment_glyph.cpp.

References color, IRender::ColorC(), ctx, CRenderingContext::Draw3DQuad(), CRenderingContext::DrawQuad(), CSeq_align::eScore_IdentityCount, CSeq_align::eScore_PercentIdentity, GetGl(), int, CRgbaColor::Interpolate(), IAlnGraphicDataSource::IsRegular(), CAlignGlyph::m_AlnMgr, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignGlyph::m_SeqAlign, CAlignGlyph::m_ShowScore, and CAlignGlyph::x_DrawStrandIndicators().

Referenced by CAlignGlyph::DrawPWAlignElem().

◆ x_DrawStrandIndicators()

Definition at line 913 of file alignment_glyph.cpp.

References IRender::Color4f(), ctx, CRenderingContext::DrawGreaterLessSign(), CAlignmentConfig::eExtremeCompact, GetGl(), CAlignmentConfig::m_CompactMode, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CRenderingContext::SeqToScreen(), and CRenderingContext::WillSeqLetterFit().

Referenced by CAlignGlyph::DrawPWAlignElem(), and CAlignGlyph::x_DrawSimplified().

◆ x_DrawTailGlyphs()

Definition at line 615 of file alignment_glyph.cpp.

References IRender::ColorC(), ctx, CRenderingContext::DrawUnalignedTail(), CAlignGlyph::e3_Prime, CAlignGlyph::e5_Prime, CAlignmentConfig::eTails_ShowSequence, NStr::fWithCommas, IScoringAlignment::GetAnchor(), IAlnGraphicDataSource::GetBioseqHandle(), CRange_Base::GetFrom(), GetGl(), CRange_Base::GetTo(), COpenRange< Position >::GetToOpen(), IAlnGraphicDataSource::GetUnalignedTails(), NStr::IntToString(), CGuiObjectInfoSeq_align::IsPolyA(), kCompactLabelSpace_h, kCompactTailGlyphLen, kLabelSpace_h, kTailGlyphLen, CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, CAlignmentConfig::m_Label, CAlignmentConfig::m_LabelFont, CAlignmentConfig::m_TailColor, CAlignmentConfig::m_UnalignedTailsMode, CRenderingContext::ScreenToSeq(), ncbi::grid::netcache::search::fields::size, IRender::TextHeight(), CRenderingContext::TextOut(), IRender::TextWidth(), CAlignGlyph::x_ConvertAlnTaillRngToSeqRng(), and CAlignGlyph::x_GetAlnTailRange().

Referenced by CAlignGlyph::DrawPWAlignElem(), and CAlignGlyph::x_DrawTailSequences().

◆ x_DrawTailSequences() ◆ x_DrawUnalignedBar()

Definition at line 710 of file alignment_glyph.cpp.

References IRender::Color4d(), ctx, COpenRange< Position >::Empty(), CRgbaColor::GetBlue(), CRange_Base::GetFrom(), GetGl(), CRgbaColor::GetGreen(), CRgbaColor::GetRed(), CRenderingContext::GetScale(), CRange_Base::GetTo(), COpenRange< Position >::GetToOpen(), CRenderingContext::IntersectVisible(), CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, IRender::PolygonMode(), IRender::PopMatrix(), IRender::PushMatrix(), IRender::Rectd(), IRender::Scalef(), CRenderingContext::SeqToScreenX(), and CAlignGlyph::x_GetAlnTailRange().

Referenced by CAlignGlyph::x_DrawTailSequences().

◆ x_DrawUnalignedRowSequence()

Definition at line 733 of file alignment_glyph.cpp.

References IRender::ColorC(), CSeqManip::Complement(), ctx, CSeqUtil::e_Iupacaa, CSeqUtil::e_Iupacna, CBioseq_Handle::eCoding_Iupac, COpenRange< Position >::Empty(), CAlignGlyph::eOne2One, CAlignGlyph::eOne2Three, CAlignGlyph::eThree2One, CSeqTranslator::fDefault, IScoringAlignment::GetAnchor(), IAlnGraphicDataSource::GetBioseqHandle(), CRange_Base::GetFrom(), IAlnGraphicDataSource::GetGenCode(), GetGl(), CSeqVector::GetSeqData(), CBioseq_Handle::GetSeqVector(), CRange_Base::GetTo(), CRenderingContext::IntersectVisible(), CBioseq_Handle::IsAa(), CRenderingContext::IsFlippedStrand(), kPWAlignPackLevel, CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignmentConfig::m_SeqFont, CSeqManip::Reverse(), CSeqManip::ReverseComplement(), CRenderingContext::ScreenToSeq(), CRange_Base::SetFrom(), CGenetic_code::SetId(), CRange_Base::SetTo(), swap(), IRender::TextHeight(), CRenderingContext::TextOut(), IRender::TextWidth(), CSeqTranslator::Translate(), CAlignGlyph::x_ConvertAlnTaillRngToSeqRng(), and CAlignGlyph::x_GetAlnTailRange().

Referenced by CAlignGlyph::DrawPWAlignElem().

◆ x_FilterNAIds() ◆ x_GetAllGIs() [1/2]

get all GIs for a given uid this needs a given database where to search for GIs

Parameters
if isIncremental == true, the newly found GIs are appended to gis, not erasing it

Definition at line 1096 of file na_utils.cpp.

References xml::node::begin(), set< Key, Compare >::clear(), CNAUtils::EEDB_Undef, CSeqUtils::ELinkQuery(), ctll::empty(), map_checker< Container >::end(), xml::node::end(), Error(), CNAUtils::EUidsSource_Cache, CNAUtils::EUidsSource_Eutils, CNAUtils::EUidsSource_Mixed, map_checker< Container >::find(), xml::node::get_content(), xml::node::get_name(), xml::document::get_root_node(), CException::GetMsg(), set< Key, Compare >::insert(), xml::node::is_text(), ITERATE, LOG_POST, NCBI_ASSERT, s_EEDBToString(), s_MakeUidtoGiCacheKey(), CNAUtils::sm_UidtoGiCache, and ct::sort().

Referenced by CNAUtils::GetAllGIs(), CNAUtils::x_GetAllGIs(), and CNAUtils::x_NAIdMatchesGI().

◆ x_GetAllGIs() [2/2] ◆ x_GetAllNAIds() void CNAUtils::x_GetAllNAIds ( TEntrezIdsuids ) const private

get all available NA uids for a given gi.

Definition at line 804 of file na_utils.cpp.

References CStopWatch::AsSmartString(), CSeqUtils::ELinkQuery(), Error(), CTimeSpan::eSSP_Millisecond, first(), CException::GetMsg(), i, info, LOG_POST, CNAUtils::m_SeqDB, CNAUtils::m_SeqIdHandle, s_EEDBToString(), CStopWatch::Start(), CStopWatch::Stop(), and sw.

Referenced by CNAUtils::x_GetNAIds().

◆ x_GetAllNAIdsWithContext()

get all available NA ids applied to a viewer context for a given gi.

Definition at line 831 of file na_utils.cpp.

References xml::node_set::begin(), context, count, CSeqUtils::ELinkQuery(), xml::node_set::empty(), Error(), CSeqUtils::ESearchQuery(), xml::node::get_content(), xml::document::get_root_node(), CException::GetMsg(), LOG_POST, CNAUtils::m_SeqDB, CNAUtils::m_SeqIdHandle, xml::node::run_xpath_query(), and s_EEDBToString().

Referenced by CNAUtils::x_GetNAIds().

◆ x_GetAlnTailRange() ◆ x_GetAnnotName() string CAlignmentSmear::x_GetAnnotName ( const objects::CSeq_annot &  seq_annot ) staticprivate

Definition at line 462 of file alignment_smear.cpp.

References CUser_field_Base::CanGetData(), CUser_field_Base::CanGetLabel(), CUser_object_Base::CanGetType(), CUser_field_Base::C_Data::e_Bool, CUser_field_Base::C_Data::e_Int, CAnnotdesc_Base::e_Name, CObject_id_Base::e_Str, CAnnotdesc_Base::e_User, CUser_field_Base::C_Data::GetBool(), CUser_field_Base::GetData(), CUser_object_Base::GetData(), CUser_field_Base::GetLabel(), CAnnotdesc_Base::GetName(), CObject_id_Base::GetStr(), CUser_object_Base::GetType(), CAnnotdesc_Base::GetUser(), ITERATE, label, s_BlastFieldKey(), s_HistFieldKey(), CObject_id_Base::Which(), CUser_field_Base::C_Data::Which(), and CAnnotdesc_Base::Which().

Referenced by CAlignmentSmear::SeparateStrands().

◆ x_GetAssmIds_GI()

get all assembly ids associated with a gi.

◆ x_GetNAAs() ◆ x_GetNAEntrezLinks()

Retrieve Entrez links for a given NA.

Definition at line 1467 of file na_utils.cpp.

References xml::node_set::begin(), CSeqUtils::CreateIdStr(), data, CSeqUtils::ELinkQuery(), CAnnotMetaData::ELinksStatus_Absent, CAnnotMetaData::ELinksStatus_Present, xml::node_set::end(), Error(), xml::node::find(), xml::node::get_content(), xml::document::get_root_node(), CException::GetMsg(), LOG_POST, NON_CONST_ITERATE, and xml::node::run_xpath_query().

Referenced by CNAUtils::x_GetNAMetaData().

◆ x_GetNAId()

get an id for a given NAA string returns false if no id is found

Definition at line 1262 of file na_utils.cpp.

References map_checker< Container >::end(), Error(), CNAUtils::EUidsSource_Cache, CNAUtils::EUidsSource_Eutils, CNAUtils::EUidsSource_Mixed, map_checker< Container >::find(), CException::GetMsg(), kRetMax, LOG_POST, NCBI_ASSERT, CEutilsClient::Search(), CEutilsClient::SetMaxReturn(), and CNAUtils::sm_NAAtoUidCache.

Referenced by CNAUtils::GetAllGIs(), and CNAUtils::x_SearchNAIds().

◆ x_GetNAIds() ◆ x_GetNAMetaData()

Retrieve NA meta data for a list of NA uids.

Definition at line 883 of file na_utils.cpp.

References CStopWatch::AsSmartString(), data, CAnnotMetaData::ELinksStatus_Undef, CNAUtils::EMetaDataSource_Cache, CNAUtils::EMetaDataSource_EmptyRequest, CNAUtils::EMetaDataSource_Eutils, CNAUtils::EMetaDataSource_Mixed, map_checker< Container >::end(), NStr::Equal(), CTimeSpan::eSSP_Millisecond, map_checker< Container >::find(), first(), xml::node::get_content(), i, info, ITERATE, CNAUtils::m_MaxNAMeta, NON_CONST_ITERATE, NStr::NumericToString(), CNAUtils::sm_UidtoMetaDataCache, CStopWatch::Start(), CStopWatch::Stop(), sw, CNAUtils::x_GetNAEntrezLinks(), and CNAUtils::x_ParseNAMetaData().

Referenced by CNAUtils::GetAllNAMetaData(), and CNAUtils::GetNAMetaData().

◆ x_GetOverrideColor() void CAlignGlyph::x_GetOverrideColor ( booloverride_color, CRgbaColorread_status_color  ) const private ◆ x_GetTailLabelWidth() ◆ x_GetTailWidth()

Definition at line 2564 of file alignment_glyph.cpp.

References CAlignmentConfig::eTails_ShowGlyph, CAlignmentConfig::eTails_ShowSequence, CAlignGlyph::GetBarHeight(), kCompactLabelSpace_h, kCompactTailGlyphLen, kLabelSpace_h, kTailGlyphLen, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignmentConfig::m_UnalignedTailsMode, CRenderingContext::ScreenToSeq(), and CAlignGlyph::x_GetTailLabelWidth().

Referenced by CAlignGlyph::x_UpdateBoundingBox().

◆ x_Init() void CNAUtils::x_Init ( void  ) private

Initialize some internal states.

Definition at line 769 of file na_utils.cpp.

References CNAUtils::EEDB_Nucleotide, CNAUtils::EEDB_Protein, eGetId_ForceGi, CSeq_id_Handle::GetGi(), GetId(), kRetMax, CNAUtils::m_BioseqHandle, CNAUtils::m_Gi, CNAUtils::m_MaxNAMeta, CNAUtils::m_Scope, CNAUtils::m_SeqDB, CNAUtils::m_SeqIdHandle, CNAUtils::m_TargetSeq, and ZERO_GI.

Referenced by CNAUtils::CNAUtils().

◆ x_IsPWAlign() bool CAlignGlyph::x_IsPWAlign ( ) const inlineprivate ◆ x_IsSRA() bool CAlignGlyph::x_IsSRA ( ) const private

Definition at line 2604 of file alignment_glyph.cpp.

References CSeq_id::AsFastaString(), eGetId_Canonical, IScoringAlignment::GetAnchor(), GetId(), CRenderingContext::GetScope(), IAlnGraphicDataSource::GetSeqId(), CSeq_id_Handle::GetSeqId(), CSeqUtils::IsVDBAccession(), CAlignGlyph::m_AlnMgr, CSeqGlyph::m_Context, and CAlignGlyph::m_OrigSeqAlign.

Referenced by CAlignGlyph::GetSignature().

◆ x_NAIdMatchesGI() ◆ x_ParseNAMetaData()

Parse the meta-data xml DocSum.

Definition at line 1317 of file na_utils.cpp.

References data, CSeq_annot_Base::C_Data::e_Align, CSeq_annot_Base::C_Data::e_Ftable, CSeq_annot_Base::C_Data::e_Graph, CSeq_annot_Base::C_Data::e_Seq_table, set< Key, Compare >::end(), NStr::Equal(), set< Key, Compare >::find(), ftable, xml::document::get_root_node(), i, set< Key, Compare >::insert(), ITERATE, kEmptyStr, label, NULL, NStr::Replace(), and CSeq_annot_Base::C_Data::SelectionName().

Referenced by CNAUtils::x_GetNAMetaData().

◆ x_RenderAveragableScores()

Definition at line 2214 of file alignment_glyph.cpp.

References abs, IRender::Begin(), color, IRender::Color4d(), IScoringAlignment::CreateSegmentIterator(), IAlnSegmentIterator::eAllSegments, IAlnExplorer::eBackwards, IAlnExplorer::eForward, COpenRange< Position >::Empty(), IRender::End(), IScoringMethod::fBackground, IAlnSegment::GetAlnRange(), IScoringAlignment::GetAnchor(), IAlnScoreIterator::GetAttr(), IScoringAlignment::GetBaseWidth(), IAlnScoreIterator::GetFrom(), CRange_Base::GetFrom(), GetGl(), CRenderingContext::GetGlPane(), CRenderingContext::GetScale(), CGlPane::GetScaleY(), IScoringAlignment::GetSeqPosFromAlnPos(), IAlnScoreIterator::GetTo(), CRange_Base::GetTo(), COpenRange< Position >::GetToOpen(), i, CRgbaColor::Interpolate(), IAlnSegment::IsAligned(), IAlnSegment::IsGap(), IAlnSegment::IsIndel(), len, IRender::LineWidth(), CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, SScPix2::m_GapLen, SScPix2::m_GapScore, SScPix2::m_Init, CAlignmentConfig::m_Insertion, SScPix2::m_IntLen, SScPix2::m_IntScore, SScPix2::m_MinScore, CAlignGlyph::m_Score, max(), min(), IRender::PolygonMode(), IRender::PopMatrix(), IRender::PushMatrix(), r(), IRender::Rectd(), row, IRender::Scalef(), CRenderingContext::SeqToScreen(), CRenderingContext::SeqToScreenXInModelUnit(), CRange_Base::SetFrom(), CRange_Base::SetTo(), swap(), and IRender::Vertex2d().

Referenced by CAlignGlyph::DrawPWAlignElem(), and CAlignGlyph::x_DrawMultiAlign().

◆ x_RenderNonAveragableScores()

Definition at line 2046 of file alignment_glyph.cpp.

References IRender::Begin(), color, IRender::ColorC(), IScoringAlignment::CreateSegmentIterator(), IRender::End(), IAlnSegmentIterator::eSkipGaps, IScoringMethod::fBackground, FSetPixMaxCoverage(), IAlnSegment::GetAlnRange(), IScoringAlignment::GetAnchor(), IAlnScoreIterator::GetAttr(), IScoringAlignment::GetBaseWidth(), IAlnScoreIterator::GetFrom(), CRange_Base::GetFrom(), GetGl(), CRenderingContext::GetScale(), IScoringAlignment::GetSeqPosFromAlnPos(), IAlnScoreIterator::GetTo(), COpenRange< Position >::GetToOpen(), i, IAlnSegment::IsGap(), CAlignGlyph::m_AlnMgr, CSeqGlyph::m_Context, CAlignGlyph::m_FadeFactor, SScPix::m_Gap, SScPix::m_MaxCoverage, CAlignGlyph::m_Score, SScPix::m_Score, IRender::PopMatrix(), IRender::PushMatrix(), r(), IRender::Rectd(), row, IRender::Scalef(), CRenderingContext::SeqToScreenX(), swap(), and IRender::Vertex2d().

Referenced by CAlignGlyph::DrawPWAlignElem(), and CAlignGlyph::x_DrawMultiAlign().

◆ x_SearchNAIds() ◆ x_ShowLabel() bool CAlignGlyph::x_ShowLabel ( ) const private

Definition at line 2461 of file alignment_glyph.cpp.

References CAlignmentConfig::ePos_Above, CAlignmentConfig::ePos_NoLabel, CAlignGlyph::GetRange(), CRenderingContext::IntersectVisible(), CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignmentConfig::m_LabelPos, CAlignmentConfig::m_ShowLabel, r(), and CRenderingContext::WillLabelFit().

Referenced by CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawPWAlign(), and CAlignGlyph::x_UpdateBoundingBox().

◆ x_ShowScore() bool CAlignGlyph::x_ShowScore ( ) const private ◆ x_ShowUnalignedTails()

Definition at line 2485 of file alignment_glyph.cpp.

References IAlnGraphicDataSource::ePolyA_No, CAlignmentConfig::eTails_Hide, IAlnGraphicDataSource::HasPolyATail(), CRenderingContext::IsOverviewMode(), kTailGlyphLen, CAlignGlyph::m_AlnMgr, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_SeqAlign, CAlignmentConfig::m_ShowUnalignedTailsForTrans2GenomicAln, CAlignmentConfig::m_UnalignedTailsMode, and CAlignGlyph::x_IsPWAlign().

Referenced by CAlignGlyph::DrawPWAlignElem(), and CAlignGlyph::x_UpdateBoundingBox().

◆ x_UpdateBoundingBox() [1/2] void CAlignGlyph::x_UpdateBoundingBox ( ) protectedvirtual

Update the bounding box assuming children's sizes are fixed if any.

Implements CSeqGlyph.

Definition at line 1270 of file alignment_glyph.cpp.

References CLabel::eContent, CLabel::eDefault, CAlignmentConfig::eNormal, CAlignmentConfig::ePos_Above, IScoringAlignment::GetAnchor(), CAlignGlyph::GetBarHeight(), IScoringAlignment::GetBaseWidth(), CRange_Base::GetFrom(), GetGl(), CSeqGlyph::GetHeight(), CLabel::GetLabel(), CSeqGlyph::GetLeft(), GetLength(), COpenRange< Position >::GetLength(), IScoringAlignment::GetNumRows(), CAlignGlyph::GetRange(), CRenderingContext::GetScope(), IAlnGraphicDataSource::GetSeqId(), CAlignGlyph::GetTitle(), IAlnGraphicDataSource::GetUnalignedTails(), CSeqGlyph::GetWidth(), IAlnGraphicDataSource::IsNegativeStrand(), CAlignGlyph::IsSimplified(), kAlignRowSpace, kLabelSpace_h, kLabelSpace_v, label, CAlignGlyph::m_AlnMgr, CAlignmentConfig::m_CompactMode, CAlignGlyph::m_Config, CSeqGlyph::m_Context, CAlignGlyph::m_Intervals, CAlignmentConfig::m_LabelFont, CAlignmentConfig::m_LabelPos, max(), row, CRenderingContext::ScreenToSeq(), CRenderingContext::SeqToScreen(), CSeqGlyph::SetHeight(), CSeqGlyph::SetLeft(), CSeqGlyph::SetWidth(), IRender::TextHeight(), IRender::TextWidth(), CAlignGlyph::x_CalcIntervals(), CAlignGlyph::x_GetTailWidth(), CAlignGlyph::x_IsPWAlign(), CAlignGlyph::x_ShowLabel(), and CAlignGlyph::x_ShowUnalignedTails().

◆ x_UpdateBoundingBox() [2/2] void CSwitchPointGlyph::x_UpdateBoundingBox ( ) protectedvirtual ◆ ~INonAsnDataRegistry() virtual INonAsnDataRegistry::~INonAsnDataRegistry ( ) inlinevirtual

Definition at line 99 of file nonasn_track_data.hpp.

◆ ~INonAsnDataSource() ◆ ~INonAsnTrackData() ◆ ~INonAsnTrackDataFactory() virtual INonAsnTrackDataFactory::~INonAsnTrackDataFactory ( ) inlinevirtual

Definition at line 83 of file nonasn_track_data.hpp.

◆ ~ISeqTaskProgressCallback() virtual ISeqTaskProgressCallback::~ISeqTaskProgressCallback ( ) inlinevirtual

Definition at line 116 of file utils.hpp.

◆ aln_range ◆ bar_h ◆ base_width_anchor ◆ base_width_curr ◆ center_y ◆ column int CLayoutFeatLabel::column private ◆ f ◆ half ◆ kCoverageStr ◆ m_AccumGap TGapMap CAlignmentSmear::m_AccumGap private ◆ m_AccumSeg TSegMap CAlignmentSmear::m_AccumSeg private ◆ m_AlnMgr

pointer to the actual alignment information.

Definition at line 217 of file alignment_glyph.hpp.

Referenced by CAlignGlyph::CAlignGlyph(), CAlignGlyph::DrawPWAlignElem(), CAlignGlyph::GetAlignMgr(), CAlignGlyph::GetAlnAnchorPair(), CAlignGlyph::GetHTMLActiveAreas(), CAlignGlyph::GetSignature(), CAlignGlyph::GetTitle(), CAlignGlyph::GetTooltip(), CAlignGlyph::IsNegative(), CAlignGlyph::IsSimplified(), CAlignGlyph::LessBySeqPos(), CAlignGlyph::x_CalcIntervals(), CAlignGlyph::x_ConvertAlnTaillRngToSeqRng(), CAlignGlyph::x_DrawAlignRowSequence(), CAlignGlyph::x_DrawGaps(), CAlignGlyph::x_DrawInserts(), CAlignGlyph::x_DrawInternalUnalignedRegions(), CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_DrawPWAlign(), CAlignGlyph::x_DrawSimplified(), CAlignGlyph::x_DrawTailGlyphs(), CAlignGlyph::x_DrawTailSequences(), CAlignGlyph::x_DrawUnalignedRowSequence(), CAlignGlyph::x_IsPWAlign(), CAlignGlyph::x_IsSRA(), CAlignGlyph::x_RenderAveragableScores(), CAlignGlyph::x_RenderNonAveragableScores(), CAlignGlyph::x_ShowUnalignedTails(), and CAlignGlyph::x_UpdateBoundingBox().

◆ m_AnnotChain ◆ m_AnnotType [1/2] string CTrackInfo::m_AnnotType

annot type, such as ftable, seq-table, align

Definition at line 70 of file annot_info.hpp.

◆ m_AnnotType [2/2] string CAnnotMetaData::m_AnnotType ◆ m_AssmAcc string CAnnotMetaData::m_AssmAcc ◆ m_BioseqHandle [1/2] const objects::CBioseq_Handle& CAlignmentSmear::m_BioseqHandle private ◆ m_BioseqHandle [2/2] objects::CBioseq_Handle CNAUtils::m_BioseqHandle private ◆ m_Children ◆ m_CntAligns ◆ m_CntMixes ◆ m_Config

Definition at line 228 of file alignment_glyph.hpp.

Referenced by CAlignGlyph::DrawPWAlignElem(), CAlignGlyph::GetBarHeight(), CAlignGlyph::SetConfig(), CAlignGlyph::x_DrawAlignRowSequence(), CAlignGlyph::x_DrawGaps(), CAlignGlyph::x_DrawInserts(), CAlignGlyph::x_DrawInternalUnalignedRegions(), CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_DrawNonConsensusSpliceSites(), CAlignGlyph::x_DrawPWAlign(), CAlignGlyph::x_DrawStrandIndicators(), CAlignGlyph::x_DrawTailGlyphs(), CAlignGlyph::x_DrawTailSequences(), CAlignGlyph::x_DrawUnalignedRowSequence(), CAlignGlyph::x_GetTailLabelWidth(), CAlignGlyph::x_GetTailWidth(), CAlignGlyph::x_RenderAveragableScores(), CAlignGlyph::x_ShowLabel(), CAlignGlyph::x_ShowUnalignedTails(), and CAlignGlyph::x_UpdateBoundingBox().

◆ m_DataId

data indentifier.

Different data source may have different data id format. For example, for SADB, it will be NA accession. For ID or other user local data, it will be just annotation name. And for cSRA, it will be just cSRA file path.

Definition at line 66 of file annot_info.hpp.

◆ m_Dbname

data source such as ID, SADB, cSRA and SRA

Definition at line 67 of file annot_info.hpp.

◆ m_Descr [1/2] ◆ m_Descr [2/2] string CAnnotMetaData::m_Descr ◆ m_DisableTooltipsCaching bool CAlignGlyph::m_DisableTooltipsCaching mutableprotected ◆ m_FadeFactor float CAlignGlyph::m_FadeFactor mutableprotected

Definition at line 241 of file alignment_glyph.hpp.

Referenced by CAlignGlyph::ApplyFading(), CAlignGlyph::DrawPWAlignElem(), CAlignGlyph::x_Draw(), CAlignGlyph::x_DrawAlignRowSequence(), CAlignGlyph::x_DrawGaps(), CAlignGlyph::x_DrawInserts(), CAlignGlyph::x_DrawInternalUnalignedRegions(), CAlignGlyph::x_DrawMultiAlign(), CAlignGlyph::x_DrawMultiAlignLabel(), CAlignGlyph::x_DrawNonConsensusSpliceSites(), CAlignGlyph::x_DrawNoScoreAlign(), CAlignGlyph::x_DrawPWAlign(), CAlignGlyph::x_DrawSimplified(), CAlignGlyph::x_DrawStrandIndicators(), CAlignGlyph::x_DrawTailGlyphs(), CAlignGlyph::x_DrawTailSequences(), CAlignGlyph::x_DrawUnalignedBar(), CAlignGlyph::x_GetOverrideColor(), CAlignGlyph::x_RenderAveragableScores(), and CAlignGlyph::x_RenderNonAveragableScores().

◆ m_Feat objects::CMappedFeat CLinkedFeature::m_Feat private

Definition at line 100 of file utils.hpp.

◆ m_Filter ◆ m_Gi ◆ m_Group ◆ m_Id

annotation id. It may only apply to NAs from SADB

Definition at line 101 of file annot_info.hpp.

◆ m_Intervals [1/2] ◆ m_Intervals [2/2] vector<TSeqRange> CSwitchPointGlyph::m_Intervals protected ◆ m_Label string CAlignmentSmear::m_Label private ◆ m_Links ◆ m_LinksStatus ◆ m_Location [1/3] CRef<objects::CSeq_loc> CLayoutFeatLabel::m_Location private ◆ m_Location [2/3] CRef<objects::CSeq_loc> CAlignGlyph::m_Location protected ◆ m_Location [3/3] CRef<objects::CSeq_loc> CSwitchPointGlyph::m_Location protected ◆ m_Mapper ◆ m_MapPoint CRef<objects::CSeqMapSwitchPoint> CSwitchPointGlyph::m_MapPoint protected ◆ m_MaxNAMeta int CNAUtils::m_MaxNAMeta private ◆ m_Name ◆ m_Order ◆ m_OrigAnchor int CAlignGlyph::m_OrigAnchor protected ◆ m_OrigSeqAlign objects::CSeq_align_Handle CAlignGlyph::m_OrigSeqAlign protected ◆ m_OtherName ◆ m_Scope [1/2] string CAnnotMetaData::m_Scope ◆ m_Scope [2/2] CRef<objects::CScope> CNAUtils::m_Scope private ◆ m_Score ◆ m_SeqAlign CConstRef<objects::CSeq_align> CAlignGlyph::m_SeqAlign protected ◆ m_SeqDB ◆ m_SeqIdHandle objects::CSeq_id_Handle CNAUtils::m_SeqIdHandle private ◆ m_SettingGroup ◆ m_Show ◆ m_Shown bool CAnnotMetaData::m_Shown ◆ m_ShowScore bool CAlignGlyph::m_ShowScore protected ◆ m_Spec ◆ m_StrandType ◆ m_SubCategory string CAnnotMetaData::m_SubCategory ◆ m_Subgroup ◆ m_Subtype ◆ m_Subtypes ◆ m_TargetSeq CConstRef<objects::CSeq_id> CNAUtils::m_TargetSeq private

The target sequence associating with the NAAs.

This is optional. If it is set, we only look at the NAAs associated with the target sequence. If it is not set, all requested/found NAAs will be returned. However, the target sequence may be ignored for some cases, such as searching meta-data for a speicfic NA.

Definition at line 305 of file na_utils.hpp.

Referenced by CNAUtils::GetNATrackInfo(), CNAUtils::x_Init(), and CNAUtils::x_NAIdMatchesGI().

◆ m_Title [1/2] ◆ m_Title [2/2] string CAnnotMetaData::m_Title ◆ m_TrackId ◆ m_xClass string CAnnotMetaData::m_xClass ◆ override_color ◆ read_status_color ◆ reverse_strand ◆ seq_range ◆ sm_NAAtoUidCache ◆ sm_UidtoGiCache ◆ sm_UidtoMetaDataCache ◆ t ◆ tail_3 ◆ tail_5 ◆ whole_range ◆ yy

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