NCBI C++ ToolKit
|
Search Toolkit Book for CApplyRNAITSDlg
#include <gui/packages/pkg_sequence_edit/apply_rna_its_dlg.hpp>
Classes | |
struct | SRNAITSChoice |
Public Types | |
enum | ERNA_ITSType { eRNA_ITS_unknown , eRNA_ITS_18S , eRNA_ITS_small , eRNA_ITS_18S_small , eRNA_ITS_Its1 , eRNA_ITS_58S , eRNA_ITS_Its2 , eRNA_ITS_28S , eRNA_ITS_26S , eRNA_ITS_25S , eRNA_ITS_large , eRNA_ITS_28S_large , eRNA_ITS_26S_large , eRNA_ITS_25S_large } |
enum | ERNA_IGSType { eRNA_IGS_unknown , eRNA_IGS_16S , eRNA_IGS_16S_23S_Igs , eRNA_IGS_23S } |
enum | EChoiceSet { eChoice_empty , eChoice_not_empty } |
typedef vector< CConstRef< CSeq_feat > > | TVecConstSeqFeat |
typedef vector< CRef< CSeq_feat > > | TVecSeqFeat |
typedef vector< CConstRef< CSeq_id > > | TVecConstSeqId |
Public Member Functions | |
CApplyRNAITSDlg () | |
Constructors. More... | |
CApplyRNAITSDlg (wxWindow *parent, IWorkbench *wb, wxWindowID id=10307, const wxString &caption=_("Apply rRNA_ITS"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=10307, const wxString &caption=_("Apply rRNA_ITS"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL) |
Creation. More... | |
~CApplyRNAITSDlg () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. More... | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. More... | |
ERNA_ITSType | GetNextRNA_ITSChoice (ERNA_ITSType field_type) |
ERNA_IGSType | GetNextRNA_IGSChoice (ERNA_IGSType field_type) |
void | OnFirstChoiceSelected (wxCommandEvent &event) |
void | OnAnyOtherChoiceSelected (wxCommandEvent &event) |
void | OnITSRadioBoxSelected (wxCommandEvent &event) |
void | OnCtrlFromKillFocus (wxFocusEvent &event) |
void | OnCtrlToKillFocus (wxFocusEvent &event) |
void | OnCloseWindow (wxCloseEvent &event) |
void | OnGoClick (wxCommandEvent &event) |
void | OnCancelClick (wxCommandEvent &event) |
virtual CRef< CCmdComposite > | GetCommand () |
CBulkCmdDlg pure virtual functions. More... | |
virtual string | GetErrorMessage () |
virtual void | SetRegistryPath (const string ®_path) |
virtual void | LoadSettings () |
virtual void | SaveSettings () const |
void | Apply_RNAITS_ToBioseq (const CBioseq_Handle &bsh, CRef< CCmdComposite > composite, bool &modified, bool create_general_only) |
void | Apply_RNAITS_ToBioseqSet (CSeq_entry_Handle entry, CRef< CCmdComposite > composite, bool &modified) |
void | Apply_RNAITS_ToTSE (CRef< CCmdComposite > composite, bool &modified) |
void | AddFeatures (const CBioseq_Handle &bsh, TVecConstSeqFeat &featlist, CRef< CCmdComposite > composite, bool &modified) |
void | Propagate_RNAITSList (const CBioseq_Handle &bsh, TVecConstSeqFeat &featlist, CRef< CCmdComposite > composite, bool &modified, bool create_general_only) |
TVecConstSeqFeat | GetRNAITSList_SeqCoordFromDlg (const CBioseq_Handle &bsh) |
TVecConstSeqFeat | GetRNAITSList_AlignCoordFromDlg (const CBioseq_Handle &bsh) |
TVecConstSeqFeat | ObtainRNAITSList (const CBioseq_Handle &bsh) |
![]() | |
CBulkCmdDlg () | |
Constructors. More... | |
CBulkCmdDlg (IWorkbench *wb) | |
bool | Create (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr) |
bool | Create (wxWindow *parent, IWorkbench *wb, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr) |
~CBulkCmdDlg () | |
Destructor. More... | |
virtual void | OnChildChange (wxWindow *wnd) |
virtual void | ExecuteCmd (CRef< CCmdComposite > cmd) |
bool | GetTopLevelSeqEntryAndProcessor () |
TConstScopedObjects | GetSelectedObjects () |
void | UpdateChildrenFeaturePanels (wxSizer *sizer) |
void | onCancelPressed (wxCommandEvent &event) |
![]() | |
virtual | ~IRegSettings () |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
static const string & | GetRNA_ITSName (ERNA_ITSType field_type) |
static const string & | GetRNA_IGSName (ERNA_IGSType field_type) |
static ERNA_ITSType | GetRNA_ITSTypeFromName (const string &label) |
static ERNA_IGSType | GetRNA_IGSTypeFromName (const string &label) |
Public Attributes | |
wxCheckBox * | m_5partial |
wxCheckBox * | m_3partial |
wxCheckBox * | m_AlignCoords |
wxRadioBox * | m_ITSRadiobox |
wxCheckBox * | m_LeaveUp |
wxButton * | m_OK |
wxButton * | m_Cancel |
Private Member Functions | |
void | x_Set_ITSArray (wxArrayString &Its_tags) |
void | x_Set_IGSArray (wxArrayString &Igs_tags) |
TVecConstSeqFeat | x_UpdatePartials (TVecSeqFeat &featlist) |
if required, sets the first and last features incomplete More... | |
void | x_SetupAlnMgr (void) |
bool | x_IsThereAlignment (void) |
IAlnExplorer::TNumrow | x_GetRow (const CBioseq &bioseq) |
SIZE_TYPE | x_BioseqInAlignments (const CBioseq_Handle &bsh) |
returns the number of dense-seg type alignment which the bioseq belongs to More... | |
vector< CConstRef< CSeq_align > > | x_GetAlignments (const CBioseq_Handle &bsh) |
obtains all dense-seg type alignments where this bioseq is present, in this seq-entry More... | |
TVecConstSeqId | x_SeqIdsAlignedWith (const CBioseq_Handle &bsh, const CSeq_align &align) |
obtains a vector of seqIds aligned with bsh through the given alignment - used for feature propagation More... | |
bool | x_WasPropagatedTo (const CBioseq_Handle &bsh) |
returns true if features were already propagated to the sequence More... | |
void | x_SaveAndDestroyFrame () |
Private Attributes | |
vector< SRNAITSChoice > | m_ChoiceList |
int | m_Choice |
string | m_RegPath |
CRef< CAlnMap > | m_Alnmap |
TVecConstSeqId | m_PropSeqids |
Additional Inherited Members | |
![]() | |
edit::EExistingText | x_GetExistingTextHandling (int num_conflicts, bool allow_multiple=false) |
![]() | |
IWorkbench * | m_Workbench |
ICommandProccessor * | m_CmdProccessor |
objects::CSeq_entry_Handle | m_TopSeqEntry |
CConstRef< objects::CSeq_submit > | m_SeqSubmit |
string | m_ErrorMessage |
CApplyRNAITSDlg class declaration
Definition at line 84 of file apply_rna_its_dlg.hpp.
typedef vector<CConstRef<CSeq_feat> > CApplyRNAITSDlg::TVecConstSeqFeat |
Definition at line 115 of file apply_rna_its_dlg.hpp.
typedef vector<CConstRef<CSeq_id> > CApplyRNAITSDlg::TVecConstSeqId |
Definition at line 117 of file apply_rna_its_dlg.hpp.
typedef vector<CRef<CSeq_feat> > CApplyRNAITSDlg::TVecSeqFeat |
Definition at line 116 of file apply_rna_its_dlg.hpp.
Enumerator | |
---|---|
eChoice_empty | |
eChoice_not_empty |
Definition at line 143 of file apply_rna_its_dlg.hpp.
Enumerator | |
---|---|
eRNA_IGS_unknown | |
eRNA_IGS_16S | |
eRNA_IGS_16S_23S_Igs | |
eRNA_IGS_23S |
Definition at line 136 of file apply_rna_its_dlg.hpp.
Definition at line 119 of file apply_rna_its_dlg.hpp.
CApplyRNAITSDlg::CApplyRNAITSDlg | ( | ) |
CApplyRNAITSDlg::CApplyRNAITSDlg | ( | wxWindow * | parent, |
IWorkbench * | wb, | ||
wxWindowID | id = 10307 , |
||
const wxString & | caption = _("Apply rRNA_ITS") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 154 of file apply_rna_its_dlg.cpp.
References Create(), Init(), NEditingStats::ReportUsage(), and ncbi::grid::netcache::search::fields::size.
CApplyRNAITSDlg::~CApplyRNAITSDlg | ( | ) |
Destructor.
Definition at line 180 of file apply_rna_its_dlg.cpp.
void CApplyRNAITSDlg::AddFeatures | ( | const CBioseq_Handle & | bsh, |
TVecConstSeqFeat & | featlist, | ||
CRef< CCmdComposite > | composite, | ||
bool & | modified | ||
) |
Definition at line 868 of file apply_rna_its_dlg.cpp.
References CCmdComposite::AddCommand(), and CBioseq_Handle::GetSeq_entry_Handle().
Referenced by Apply_RNAITS_ToBioseq(), Apply_RNAITS_ToBioseqSet(), and Apply_RNAITS_ToTSE().
void CApplyRNAITSDlg::Apply_RNAITS_ToBioseq | ( | const CBioseq_Handle & | bsh, |
CRef< CCmdComposite > | composite, | ||
bool & | modified, | ||
bool | create_general_only | ||
) |
Definition at line 890 of file apply_rna_its_dlg.cpp.
References AddFeatures(), GetRNAITSList_SeqCoordFromDlg(), m_AlignCoords, CBulkCmdDlg::m_ErrorMessage, ObtainRNAITSList(), Propagate_RNAITSList(), ToWxString(), and x_BioseqInAlignments().
Referenced by GetCommand().
void CApplyRNAITSDlg::Apply_RNAITS_ToBioseqSet | ( | CSeq_entry_Handle | entry, |
CRef< CCmdComposite > | composite, | ||
bool & | modified | ||
) |
Definition at line 929 of file apply_rna_its_dlg.cpp.
References AddFeatures(), CSeq_inst_Base::eMol_na, CSeq_entry_Handle::IsSeq(), and ObtainRNAITSList().
Referenced by GetCommand().
void CApplyRNAITSDlg::Apply_RNAITS_ToTSE | ( | CRef< CCmdComposite > | composite, |
bool & | modified | ||
) |
Definition at line 940 of file apply_rna_its_dlg.cpp.
References AddFeatures(), CSeq_inst_Base::eMol_na, CBulkCmdDlg::m_TopSeqEntry, ObtainRNAITSList(), and ToWxString().
Referenced by GetCommand().
bool CApplyRNAITSDlg::Create | ( | wxWindow * | parent, |
wxWindowID | id = 10307 , |
||
const wxString & | caption = _("Apply rRNA_ITS") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Creation.
Definition at line 164 of file apply_rna_its_dlg.cpp.
References CBulkCmdDlg::Create(), CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CApplyRNAITSDlg().
void CApplyRNAITSDlg::CreateControls | ( | ) |
Creates the controls and sizers.
Definition at line 198 of file apply_rna_its_dlg.cpp.
References _, eChoice_empty, CApplyRNAITSDlg::SRNAITSChoice::from, CBulkCmdDlg::GetTopLevelSeqEntryAndProcessor(), ID_APPLY, ID_CHECKBOX7, ID_CHECKBOX8, ID_CHECKBOX9, ID_CHOICE_FIFTH, ID_CHOICE_FIRST, ID_CHOICE_FOURTH, ID_CHOICE_SECOND, ID_CHOICE_THIRD, ID_CLOSEBTN, ID_LEAVE_DIALOG_UP, ID_RADIOBOX_ITS_IGS, ID_TEXTCTRL_FFROM, ID_TEXTCTRL_FIFROM, ID_TEXTCTRL_FITO, ID_TEXTCTRL_FOFROM, ID_TEXTCTRL_FOTO, ID_TEXTCTRL_FTO, ID_TEXTCTRL_SFROM, ID_TEXTCTRL_STO, ID_TEXTCTRL_TFROM, ID_TEXTCTRL_TTO, m_3partial, m_5partial, m_AlignCoords, m_Cancel, m_Choice, m_ChoiceList, m_ITSRadiobox, m_LeaveUp, m_OK, n, NULL, OnCtrlFromKillFocus(), OnCtrlToKillFocus(), CApplyRNAITSDlg::SRNAITSChoice::rnaType, CApplyRNAITSDlg::SRNAITSChoice::to, x_IsThereAlignment(), x_Set_IGSArray(), x_Set_ITSArray(), and x_SetupAlnMgr().
Referenced by Create().
wxBitmap CApplyRNAITSDlg::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Get bitmap resources
Definition at line 492 of file apply_rna_its_dlg.cpp.
|
virtual |
CBulkCmdDlg pure virtual functions.
Implements CBulkCmdDlg.
Definition at line 771 of file apply_rna_its_dlg.cpp.
References Apply_RNAITS_ToBioseq(), Apply_RNAITS_ToBioseqSet(), Apply_RNAITS_ToTSE(), CSeq_id::Assign(), CScope::eMissing_Null, ctll::empty(), FocusedOnNucleotides(), CBioseq_set_Handle::GetParentEntry(), CBulkCmdDlg::GetSelectedObjects(), CBulkCmdDlg::GetTopLevelSeqEntryAndProcessor(), CSeq_loc_Base::GetWhole(), CBioseq::IsAa(), CBioseq_Handle::IsAa(), CSeq_submit::IsEntrys(), IsGeneralIdProtPresent(), CBioseq::IsNa(), CBioseq_Handle::IsNa(), CSeq_loc_Base::IsWhole(), ITERATE, kEmptyStr, CBulkCmdDlg::m_ErrorMessage, m_PropSeqids, CBulkCmdDlg::m_TopSeqEntry, NON_CONST_ITERATE, NULL, x_IsThereAlignment(), x_SetupAlnMgr(), and x_WasPropagatedTo().
Referenced by OnGoClick().
|
virtual |
Implements CBulkCmdDlg.
Definition at line 766 of file apply_rna_its_dlg.cpp.
References CBulkCmdDlg::m_ErrorMessage.
Referenced by OnGoClick().
wxIcon CApplyRNAITSDlg::GetIconResource | ( | const wxString & | name | ) |
CApplyRNAITSDlg::ERNA_IGSType CApplyRNAITSDlg::GetNextRNA_IGSChoice | ( | CApplyRNAITSDlg::ERNA_IGSType | field_type | ) |
Definition at line 748 of file apply_rna_its_dlg.cpp.
References eRNA_IGS_16S, eRNA_IGS_16S_23S_Igs, eRNA_IGS_23S, and eRNA_IGS_unknown.
Referenced by OnFirstChoiceSelected().
CApplyRNAITSDlg::ERNA_ITSType CApplyRNAITSDlg::GetNextRNA_ITSChoice | ( | CApplyRNAITSDlg::ERNA_ITSType | field_type | ) |
Definition at line 710 of file apply_rna_its_dlg.cpp.
References eRNA_ITS_18S, eRNA_ITS_18S_small, eRNA_ITS_28S, eRNA_ITS_28S_large, eRNA_ITS_58S, eRNA_ITS_Its1, eRNA_ITS_Its2, eRNA_ITS_large, eRNA_ITS_small, eRNA_ITS_unknown, GetRNA_ITSTypeFromName(), m_ChoiceList, and ToStdString().
Referenced by OnFirstChoiceSelected().
|
static |
Definition at line 115 of file apply_rna_its_dlg.cpp.
References kEmptyStr.
Referenced by OnAnyOtherChoiceSelected(), and OnFirstChoiceSelected().
|
static |
Definition at line 126 of file apply_rna_its_dlg.cpp.
References eRNA_IGS_unknown, and label.
Referenced by OnAnyOtherChoiceSelected(), and OnFirstChoiceSelected().
|
static |
Definition at line 84 of file apply_rna_its_dlg.cpp.
References kEmptyStr.
Referenced by OnAnyOtherChoiceSelected(), OnFirstChoiceSelected(), and x_Set_ITSArray().
|
static |
Definition at line 95 of file apply_rna_its_dlg.cpp.
References eRNA_ITS_unknown, and label.
Referenced by GetNextRNA_ITSChoice(), OnAnyOtherChoiceSelected(), and OnFirstChoiceSelected().
CApplyRNAITSDlg::TVecConstSeqFeat CApplyRNAITSDlg::GetRNAITSList_AlignCoordFromDlg | ( | const CBioseq_Handle & | bsh | ) |
Definition at line 1086 of file apply_rna_its_dlg.cpp.
References AddMiscRNA(), AddRibosomalRNA(), IAlnExplorer::eBackwards, eChoice_empty, IAlnExplorer::eForward, Error(), NStr::FindNoCase(), CBioseq_Handle::GetBioseqLength(), CBioseq_Handle::GetCompleteBioseq(), CException::GetMsg(), CAlnMap::GetSeqPosFromAlnPos(), NStr::IsBlank(), LOG_POST, m_Alnmap, m_ChoiceList, CBulkCmdDlg::m_ErrorMessage, max(), min(), NPOS, NStr::ReplaceInPlace(), row, NStr::StringToInt(), ToStdString(), x_GetRow(), and x_UpdatePartials().
Referenced by ObtainRNAITSList().
CApplyRNAITSDlg::TVecConstSeqFeat CApplyRNAITSDlg::GetRNAITSList_SeqCoordFromDlg | ( | const CBioseq_Handle & | bsh | ) |
Definition at line 1172 of file apply_rna_its_dlg.cpp.
References AddMiscRNA(), AddRibosomalRNA(), eChoice_empty, Error(), NStr::FindNoCase(), CBioseq_Handle::GetBioseqLength(), CException::GetMsg(), NStr::IsBlank(), LOG_POST, m_ChoiceList, max(), min(), NPOS, NStr::ReplaceInPlace(), row, NStr::StringToInt(), ToStdString(), and x_UpdatePartials().
Referenced by Apply_RNAITS_ToBioseq(), and ObtainRNAITSList().
void CApplyRNAITSDlg::Init | ( | void | ) |
Initialises member variables.
Definition at line 184 of file apply_rna_its_dlg.cpp.
References LoadSettings(), m_3partial, m_5partial, m_AlignCoords, m_Alnmap, m_Choice, m_ITSRadiobox, m_LeaveUp, m_PropSeqids, NULL, and SetRegistryPath().
Referenced by CApplyRNAITSDlg().
|
virtual |
Implements IRegSettings.
Definition at line 437 of file apply_rna_its_dlg.cpp.
References CGuiRegistry::GetInstance(), CRegistryReadView::GetInt(), CGuiRegistry::GetReadView(), kApplyChoice, m_Choice, and m_RegPath.
Referenced by Init().
CApplyRNAITSDlg::TVecConstSeqFeat CApplyRNAITSDlg::ObtainRNAITSList | ( | const CBioseq_Handle & | bsh | ) |
Definition at line 880 of file apply_rna_its_dlg.cpp.
References GetRNAITSList_AlignCoordFromDlg(), GetRNAITSList_SeqCoordFromDlg(), and m_AlignCoords.
Referenced by Apply_RNAITS_ToBioseq(), Apply_RNAITS_ToBioseqSet(), and Apply_RNAITS_ToTSE().
void CApplyRNAITSDlg::OnAnyOtherChoiceSelected | ( | wxCommandEvent & | event | ) |
Definition at line 567 of file apply_rna_its_dlg.cpp.
References eChoice_empty, eChoice_not_empty, eRNA_IGS_unknown, eRNA_ITS_unknown, GetRNA_IGSName(), GetRNA_IGSTypeFromName(), GetRNA_ITSName(), GetRNA_ITSTypeFromName(), ID_CHOICE_FIFTH, ID_CHOICE_FOURTH, ID_CHOICE_SECOND, ID_CHOICE_THIRD, m_ChoiceList, m_ITSRadiobox, n, ToStdString(), ToWxString(), and rapidjson::value.
void CApplyRNAITSDlg::OnCancelClick | ( | wxCommandEvent & | event | ) |
Definition at line 462 of file apply_rna_its_dlg.cpp.
References x_SaveAndDestroyFrame().
void CApplyRNAITSDlg::OnCloseWindow | ( | wxCloseEvent & | event | ) |
Definition at line 467 of file apply_rna_its_dlg.cpp.
References x_SaveAndDestroyFrame().
void CApplyRNAITSDlg::OnCtrlFromKillFocus | ( | wxFocusEvent & | event | ) |
Definition at line 615 of file apply_rna_its_dlg.cpp.
References _, eChoice_empty, Error(), CException::GetMsg(), LOG_POST, m_ChoiceList, NPOS, NStr::NumericToString(), NStr::StringToInt(), and ToStdString().
Referenced by CreateControls().
void CApplyRNAITSDlg::OnCtrlToKillFocus | ( | wxFocusEvent & | event | ) |
Definition at line 651 of file apply_rna_its_dlg.cpp.
References _, eChoice_empty, Error(), CException::GetMsg(), LOG_POST, m_ChoiceList, NPOS, NStr::NumericToString(), NStr::StringToInt(), and ToStdString().
Referenced by CreateControls().
void CApplyRNAITSDlg::OnFirstChoiceSelected | ( | wxCommandEvent & | event | ) |
Definition at line 514 of file apply_rna_its_dlg.cpp.
References _, eChoice_empty, eChoice_not_empty, eRNA_IGS_unknown, eRNA_ITS_unknown, GetNextRNA_IGSChoice(), GetNextRNA_ITSChoice(), GetRNA_IGSName(), GetRNA_IGSTypeFromName(), GetRNA_ITSName(), GetRNA_ITSTypeFromName(), m_ChoiceList, m_ITSRadiobox, n, ToStdString(), ToWxString(), and rapidjson::value.
void CApplyRNAITSDlg::OnGoClick | ( | wxCommandEvent & | event | ) |
Definition at line 446 of file apply_rna_its_dlg.cpp.
References cmd, ICommandProccessor::Execute(), GetCommand(), GetErrorMessage(), NStr::IsBlank(), CBulkCmdDlg::m_CmdProccessor, m_LeaveUp, NULL, ToWxString(), and wxT.
void CApplyRNAITSDlg::OnITSRadioBoxSelected | ( | wxCommandEvent & | event | ) |
Definition at line 690 of file apply_rna_its_dlg.cpp.
References m_Choice, m_ChoiceList, m_ITSRadiobox, n, x_Set_IGSArray(), and x_Set_ITSArray().
void CApplyRNAITSDlg::Propagate_RNAITSList | ( | const CBioseq_Handle & | bsh, |
TVecConstSeqFeat & | featlist, | ||
CRef< CCmdComposite > | composite, | ||
bool & | modified, | ||
bool | create_general_only | ||
) |
Definition at line 968 of file apply_rna_its_dlg.cpp.
References CMessageListener_Basic::Count(), CMessageListener_Basic::GetMessage(), CBioseq_Handle::GetSeqId(), IMessage_Base::GetText(), i, ITERATE, CBulkCmdDlg::m_TopSeqEntry, NULL, PropagateToTarget(), ToWxString(), wxT, x_GetAlignments(), and x_SeqIdsAlignedWith().
Referenced by Apply_RNAITS_ToBioseq().
|
virtual |
Implements IRegSettings.
Definition at line 428 of file apply_rna_its_dlg.cpp.
References CGuiRegistry::GetInstance(), CGuiRegistry::GetWriteView(), kApplyChoice, m_Choice, m_RegPath, and CRegistryWriteView::Set().
Referenced by x_SaveAndDestroyFrame().
Implements IRegSettings.
Definition at line 423 of file apply_rna_its_dlg.cpp.
References m_RegPath.
Referenced by Init().
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 483 of file apply_rna_its_dlg.cpp.
|
private |
returns the number of dense-seg type alignment which the bioseq belongs to
Definition at line 1026 of file apply_rna_its_dlg.cpp.
References x_GetAlignments().
Referenced by Apply_RNAITS_ToBioseq().
|
private |
obtains all dense-seg type alignments where this bioseq is present, in this seq-entry
Definition at line 999 of file apply_rna_its_dlg.cpp.
References CBioseq_Handle::GetCompleteBioseq(), CSeq_align_Base::C_Segs::GetDenseg(), CBioseq_Base::GetId(), CDense_seg_Base::GetIds(), CAlign_CI::GetOriginalSeq_align(), CSeq_align_Base::GetSegs(), CSeq_align_Base::C_Segs::IsDenseg(), CDense_seg_Base::IsSetIds(), CSeq_align_Base::IsSetSegs(), ITERATE, and CBulkCmdDlg::m_TopSeqEntry.
Referenced by Propagate_RNAITSList(), and x_BioseqInAlignments().
|
private |
Definition at line 1069 of file apply_rna_its_dlg.cpp.
References CBioseq_Base::GetId(), CAlnMap::GetNumRows(), CAlnMap::GetSeqId(), ITERATE, m_Alnmap, and row.
Referenced by GetRNAITSList_AlignCoordFromDlg().
|
private |
Definition at line 343 of file apply_rna_its_dlg.cpp.
References CAlign_CI::GetOriginalSeq_align(), CSeq_align_Base::GetSegs(), CSeq_align_Base::C_Segs::IsDenseg(), CSeq_align_Base::IsSetSegs(), and CBulkCmdDlg::m_TopSeqEntry.
Referenced by CreateControls(), and GetCommand().
|
private |
Definition at line 472 of file apply_rna_its_dlg.cpp.
References SaveSettings().
Referenced by OnCancelClick(), and OnCloseWindow().
|
private |
obtains a vector of seqIds aligned with bsh through the given alignment - used for feature propagation
Definition at line 1032 of file apply_rna_its_dlg.cpp.
References CBioseq_Handle::GetCompleteBioseq(), CSeq_align_Base::C_Segs::GetDenseg(), CBioseq_Base::GetId(), CDense_seg_Base::GetIds(), CSeq_align_Base::GetSegs(), ITERATE, m_PropSeqids, and CBulkCmdDlg::m_TopSeqEntry.
Referenced by Propagate_RNAITSList().
|
private |
Definition at line 390 of file apply_rna_its_dlg.cpp.
References ToWxString().
Referenced by CreateControls(), and OnITSRadioBoxSelected().
|
private |
Definition at line 372 of file apply_rna_its_dlg.cpp.
References eRNA_ITS_18S, eRNA_ITS_18S_small, eRNA_ITS_25S, eRNA_ITS_25S_large, eRNA_ITS_26S, eRNA_ITS_26S_large, eRNA_ITS_28S, eRNA_ITS_28S_large, eRNA_ITS_58S, eRNA_ITS_Its1, eRNA_ITS_Its2, eRNA_ITS_large, eRNA_ITS_small, eRNA_ITS_unknown, GetRNA_ITSName(), and ToWxString().
Referenced by CreateControls(), and OnITSRadioBoxSelected().
|
private |
Definition at line 357 of file apply_rna_its_dlg.cpp.
References CSeq_align_Base::C_Segs::GetDenseg(), CAlign_CI::GetOriginalSeq_align(), CSeq_align_Base::GetSegs(), CSeq_align_Base::C_Segs::IsDenseg(), CSeq_align_Base::IsSetSegs(), m_Alnmap, CBulkCmdDlg::m_TopSeqEntry, and CRef< C, Locker >::Reset().
Referenced by CreateControls(), and GetCommand().
|
private |
if required, sets the first and last features incomplete
Definition at line 398 of file apply_rna_its_dlg.cpp.
References eExtreme_Biological, ITERATE, m_3partial, and m_5partial.
Referenced by GetRNAITSList_AlignCoordFromDlg(), and GetRNAITSList_SeqCoordFromDlg().
|
private |
returns true if features were already propagated to the sequence
Definition at line 1055 of file apply_rna_its_dlg.cpp.
References CBioseq_Handle::GetCompleteBioseq(), CBioseq_Base::GetId(), ITERATE, and m_PropSeqids.
Referenced by GetCommand().
wxCheckBox* CApplyRNAITSDlg::m_3partial |
Definition at line 202 of file apply_rna_its_dlg.hpp.
Referenced by CreateControls(), Init(), and x_UpdatePartials().
wxCheckBox* CApplyRNAITSDlg::m_5partial |
Definition at line 201 of file apply_rna_its_dlg.hpp.
Referenced by CreateControls(), Init(), and x_UpdatePartials().
wxCheckBox* CApplyRNAITSDlg::m_AlignCoords |
Definition at line 203 of file apply_rna_its_dlg.hpp.
Referenced by Apply_RNAITS_ToBioseq(), CreateControls(), Init(), and ObtainRNAITSList().
Definition at line 241 of file apply_rna_its_dlg.hpp.
Referenced by GetRNAITSList_AlignCoordFromDlg(), Init(), x_GetRow(), and x_SetupAlnMgr().
wxButton* CApplyRNAITSDlg::m_Cancel |
Definition at line 207 of file apply_rna_its_dlg.hpp.
Referenced by CreateControls().
|
private |
Definition at line 239 of file apply_rna_its_dlg.hpp.
Referenced by CreateControls(), Init(), LoadSettings(), OnITSRadioBoxSelected(), and SaveSettings().
|
private |
Definition at line 238 of file apply_rna_its_dlg.hpp.
Referenced by CreateControls(), GetNextRNA_ITSChoice(), GetRNAITSList_AlignCoordFromDlg(), GetRNAITSList_SeqCoordFromDlg(), OnAnyOtherChoiceSelected(), OnCtrlFromKillFocus(), OnCtrlToKillFocus(), OnFirstChoiceSelected(), and OnITSRadioBoxSelected().
wxRadioBox* CApplyRNAITSDlg::m_ITSRadiobox |
Definition at line 204 of file apply_rna_its_dlg.hpp.
Referenced by CreateControls(), Init(), OnAnyOtherChoiceSelected(), OnFirstChoiceSelected(), and OnITSRadioBoxSelected().
wxCheckBox* CApplyRNAITSDlg::m_LeaveUp |
Definition at line 205 of file apply_rna_its_dlg.hpp.
Referenced by CreateControls(), Init(), and OnGoClick().
wxButton* CApplyRNAITSDlg::m_OK |
Definition at line 206 of file apply_rna_its_dlg.hpp.
Referenced by CreateControls().
|
private |
Definition at line 243 of file apply_rna_its_dlg.hpp.
Referenced by GetCommand(), Init(), x_SeqIdsAlignedWith(), and x_WasPropagatedTo().
|
private |
Definition at line 240 of file apply_rna_its_dlg.hpp.
Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().