Go to the SVN repository for this file.
33 #ifndef __process_agpwrite__hpp__ 34 #define __process_agpwrite__hpp__ 48 void do_map(
string&in_out_component_id ) {
49in_out_component_id =
"PREFIX"+ in_out_component_id +
"SUFFIX";
61}
else if(
option==
"map") {
64 throwruntime_error(
"unknown process option: "+
option);
81 m_out= args[
"o"] ? &(args[
"o"].AsOutputFile()) : &cout;
103 unsigned long longnum = 0;
106 if(bioseq.
IsNa()) {
void AgpWrite(CNcbiOstream &os, const objects::CSeqMap &seq_map, const string &object_id, objects::CScope &scope, const vector< char > &component_types=vector< char >(), CAgpWriteComponentIdMapper *comp_id_mapper=nullptr, int agp_version=2)
Write a SeqMap in AGP format, using provided scope.
void do_map(string &in_out_component_id)
unique_ptr< CTestCompIdMapper > comp_id_mapper
virtual void SeqEntryInitialize(CRef< CSeq_entry > &se)
CAgpwriteProcess(const string &option)
void ProcessInitialize(const CArgs &args)
void ProcessInitialize(const CArgs &args)
virtual void SeqEntryInitialize(CRef< CSeq_entry > &se)
CRef< CSeq_entry > m_entry
#define ERR_POST(message)
Error posting with file, line number information but without error codes.
void Error(CExceptionArgs_Base &args)
virtual const char * what(void) const noexcept
Standard report (includes full backlog).
void GetLabel(string *label, ELabelType type=eDefault, TLabelFlags flags=fLabel_Default) const
Append a label for this Seq-id to the supplied string.
@ fLabel_Version
Show the version.
@ eContent
Untagged human-readable accession or the like.
CConstRef< CSeq_id > GetSeqId(void) const
Get id which can be used to access this bioseq handle Throws an exception if none is available.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)
Convert numeric value to string.
constexpr bool empty(list< Ts... >) noexcept
#define VISIT_ALL_BIOSEQS_WITHIN_SEQENTRY(Itr, Var)
VISIT_ALL_BIOSEQS_WITHIN_SEQENTRY.
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