: m_Params(params), m_FileNames(
filenames)
63 return "Loading AGP Files";
80 if( !fasta_file.empty() ) {
93 catch(
constexception& e) {
106 constwxString& fn = *it;
111vector<CRef<CSeq_entry> >
entries;
131 catch(
constexception& e) {
bool GetSetGapInfo() const
wxString GetFastaFile() const
virtual string GetErrorMessage(const string &filename=NcbiEmptyString)
Return a string with one (or two, depending on error) source line(s) on which the error occured,...
virtual int ReadStream(CNcbiIstream &is, EFinalize eFinalize=eFinalize_Yes)
Read an AGP file from the given input stream.
This class is used to turn an AGP file into a vector of Seq-entry's.
@ fSetSeqGap
Found gaps will not be given Seq-data such as Type and Linkage.
@ fForceLocalId
All IDs will be treated as local IDs.
TSeqEntryRefVec & GetResult(void)
This gets the results found, but don't call before finalizing.
Base class for reading FASTA sequences.
void SetCanceler(ICanceled *=nullptr)
void x_ShowErrorsDlg(const wxString &title)
void x_UpdateHTMLResults(const wxString &object, objects::ILineErrorListener *errCont, const string &exception="", const string &error_msg="", const wxString &objectName=wxT("File:"))
Interface for testing cancellation request in a long lasting operation.
vector< SObject > TObjects
Operators to edit gaps in sequences.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
const string & GetMsg(void) const
Get message string.
virtual const char * what(void) const noexcept
Standard report (includes full backlog).
virtual bool PreExecute()
CAgpObjectLoader(const CAgpLoadParams ¶ms, const vector< wxString > &filenames)
virtual bool Execute(ICanceled &canceled)
virtual string GetDescription() const
virtual TObjects & GetObjects()
vector< wxString > m_FileNames
virtual bool PostExecute()
static void GetLabel(const CObject &obj, string *label, ELabelType type=eDefault)
CRef< CSeq_entry > ReadSet(int max_seqs=kMax_Int, ILineErrorListener *pMessageListener=nullptr)
Read multiple sequences (by default, as many as are available.)
static CRef< ILineReader > New(const string &filename)
Return a new ILineReader object corresponding to the given filename, taking "-" (but not "....
@ fParseGaps
Make a delta sequence if gaps found.
@ fDisableParseRange
No ranges in seq-ids. Ranges part of seq-id instead.
static CRef< CObjectManager > GetInstance(void)
Return the existing object manager or create one.
void AddDefaults(TPriority pri=kPriority_Default)
Add default data loaders from object manager.
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
virtual bool IsCanceled(void) const =0
static const char label[]
Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...
static wxAcceleratorEntry entries[3]
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