( (
ctx.IsSegmented() &&
ctx.HasParts()) ||
89(
ctx.IsDelta() && !
ctx.IsDeltaLitOnly()) ) {
100 #define FOR_EACH_SEQID_ON_BIOSEQ_HANDLE(Itr, Var) \ 101 ITERATE (CBioseq_Handle::TId, Itr, Var.GetId()) 109 #define GATHER_BLOCK(BlockType, ItemClassName) \ 110 if( cfg.IsShownGenbankBlock(CFlatFileConfig::fGenbankBlocks_##BlockType) ) { \ 111 item.Reset( new ItemClassName(ctx) ); \ 115 #define GATHER_ANCHOR(BlockType, block_str) \ 116 if( cfg.IsShownGenbankBlock(CFlatFileConfig::fGenbankBlocks_##BlockType) ) { \ 117 item.Reset( new CHtmlAnchorItem(ctx, (block_str) ) ); \ 121 #define GATHER_VIA_FUNC(BlockType, FuncName) \ 122 if( cfg.IsShownGenbankBlock(CFlatFileConfig::fGenbankBlocks_##BlockType) ) { \ 150 if(
ctx.IsProt() ) {
151 boolshow_dbsource =
true;
155 switch(sid.
Which()) {
159 const CTextseq_id& tsid = *
id->GetTextseq_Id ();
163show_dbsource =
false;
177 if(
ctx.IsPart() ) {
182vector<string>* rc =
ctx.GetRefCache();
216}
else if(
ctx.DoContigStyle() ) {
261 const string*
first=
nullptr;
262 const string*
last=
nullptr;
264 boolbFirstWgsItem =
true;
286 if( !(*it)->GetLabel().IsStr() ) {
289 const string&
label= (*it)->GetLabel().GetStr();
292 first= &((*it)->GetData().GetStr());
295 last= &((*it)->GetData().GetStr());
300 if( bFirstWgsItem ) {
303bFirstWgsItem =
false;
315 const string*
first=
nullptr;
316 const string*
last=
nullptr;
337 if( !(*it)->GetLabel().IsStr() ) {
340 const string&
label= (*it)->GetLabel().GetStr();
343 first= &((*it)->GetData().GetStr());
346 last= &((*it)->GetData().GetStr());
361 const string*
first=
nullptr;
362 const string*
last=
nullptr;
377 if( !(*it)->GetLabel().IsStr() ) {
380 const string&
label= (*it)->GetLabel().GetStr();
382 first= &((*it)->GetData().GetStr());
384 last= &((*it)->GetData().GetStr());
CScope & GetScope(void) const
const CSeq_loc & GetLocation(void) const
bool IsModeGBench(void) const
bool HideSourceFeatures(void) const
bool IsPolicyFtp(void) const
bool ShowContigFeatures(void) const
bool IsPolicyGenomes(void) const
CRef< CGenbankBlockCallback > GetGenbankBlockCallback(void) const
static const size_t SMARTFEATLIMIT
bool ShowContigAndSeq(void) const
bool IsModeDump(void) const
bool IsModeEntrez(void) const
bool IsFormatLite(void) const
void x_GatherFeatures(void) const
void x_GatherComments(void) const
CRef< CBioseqContext > m_Current
void x_GatherReferences(void) const
void x_GatherSourceFeatures(void) const
void x_GatherSequence(void) const
void x_GatherSourceOrganism(void) const
CFlatItemOStream & ItemOS(void) const
void x_DoSingleSection(CBioseqContext &ctx) const override
void x_GatherTLS(void) const
void x_GatherWGS(void) const
void x_GatherTSA(void) const
Include a standard set of the NCBI C++ Toolkit most basic headers.
static DLIST_TYPE *DLIST_NAME() first(DLIST_LIST_TYPE *list)
static DLIST_TYPE *DLIST_NAME() last(DLIST_LIST_TYPE *list)
#define FOR_EACH_SEQID_ON_BIOSEQ_HANDLE(Itr, Var)
bool s_ShowBaseCount(const CFlatFileConfig &cfg)
#define GATHER_ANCHOR(BlockType, block_str)
#define GATHER_BLOCK(BlockType, ItemClassName)
bool s_ShowContig(CBioseqContext &ctx)
#define GATHER_VIA_FUNC(BlockType, FuncName)
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
CConstRef< CSeq_id > GetSeqId(void) const
CSeq_id::E_Choice Which(void) const
TSeqPos GetLength(const CSeq_id &id, CScope *scope)
Get sequence length if scope not null, else return max possible TSeqPos.
TSeqPos GetBioseqLength(void) const
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
static int CompareNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive compare of a substring with another string.
static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)
Check if a string starts with a specified prefix value.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
static const char label[]
bool IsStr(void) const
Check if variant Str is selected.
const TStr & GetStr(void) const
Get the variant data.
const TData & GetData(void) const
Get the Data member data.
const TType & GetType(void) const
Get the Type member data.
vector< CRef< CUser_field > > TData
bool IsSetAccession(void) const
Check if a value has been assigned to Accession data member.
bool IsWhole(void) const
Check if variant Whole is selected.
const TAccession & GetAccession(void) const
Get the Accession member data.
@ eRepr_map
ordered map of any kind
@ eRepr_virtual
no seq data
@ eTech_targeted
targeted locus sets/studies
@ eTech_tsa
transcriptome shotgun assembly
@ eTech_wgs
whole genome shotgun sequencing
@ eBiomol_transcribed_RNA
transcribed RNA other than existing classes
@ e_User
user defined object
const struct ncbi::grid::netcache::search::fields::SIZE size
#define NCBI_SEQID(Type)
@NAME Convenience macros for NCBI objects
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