ARB
Functions | Variables
Importer.cxx File Reference
#include "tools.h"
#include "DBwriter.h"
#include <arbdb.h>
#include <arb_stdstr.h>
Include dependency graph for Importer.cxx:

Go to the source code of this file.

Functions

static bool is_escaped (const string &str, size_t pos)
 
static bool splitGenebankTag (const string &line, string &tag, string &content)
 
static long scanSeqlenFromLOCUS (const string &locusContent)
 
static bool splitEmblTag (const string &line, string &tag, string &content)
 
static long scanSeqlenFromID (const string &idContent)
 
bool parseCounter (bool expect, BaseCounter &headerCount, StringParser &parser, Base base, const char *word)
 

Variables

static MetaTag genebank_meta_description []
 
static MetaTag embl_meta_description []
 

Function Documentation

static bool is_escaped ( const string str,
size_t  pos 
)
static

Definition at line 21 of file Importer.cxx.

Referenced by FeatureLine::FeatureLine().

static bool splitGenebankTag ( const string line,
string tag,
string content 
)
static

Definition at line 351 of file Importer.cxx.

References line.

static long scanSeqlenFromLOCUS ( const string locusContent)
static
static bool splitEmblTag ( const string line,
string tag,
string content 
)
static

Definition at line 492 of file Importer.cxx.

References line.

static long scanSeqlenFromID ( const string idContent)
static

Definition at line 521 of file Importer.cxx.

References StringParser::eatSpaces(), and StringParser::extractWord().

bool parseCounter ( bool  expect,
BaseCounter headerCount,
StringParser parser,
Base  base,
const char word 
)
inline

Variable Documentation

MetaTag genebank_meta_description[]
static
Initial value:
= {
{ "LOCUS", "org_locus", MT_HEADER },
{ "REFERENCE", "", MT_REF_START },
{ " AUTHORS", "author", MT_REF },
{ " TITLE", "title", MT_REF },
{ " CONSRTM", "refgrp", MT_REF },
{ " JOURNAL", "journal", MT_REF },
{ " PUBMED", "pubmed_id", MT_REF },
{ " MEDLINE", "medline_id", MT_REF },
{ " REMARK", "refremark", MT_REF },
{ "DEFINITION", "definition", MT_BASIC },
{ "ACCESSION", "acc", MT_BASIC },
{ "VERSION", "version", MT_BASIC },
{ "KEYWORDS", "keywd", MT_BASIC },
{ "SOURCE", "full_name", MT_BASIC },
{ " ORGANISM", "tax", MT_BASIC },
{ "COMMENT", "comment", MT_BASIC },
{ "PROJECT", "projref", MT_BASIC },
{ "FEATURES", "", MT_FEATURE_START },
{ "CONTIG", "", MT_CONTIG },
{ "BASE", "", MT_SEQUENCE_START },
{ "ORIGIN", "", MT_SEQUENCE_START },
{ "//", "", MT_END },
{ "", "", MT_IGNORE },
}
Definition: MetaTag.h:28
Definition: MetaTag.h:22

Definition at line 267 of file Importer.cxx.

MetaTag embl_meta_description[]
static

Definition at line 297 of file Importer.cxx.