ARB
Functions
mg.cxx File Reference
#include "genbank.h"
#include "macke.h"
Include dependency graph for mg.cxx:

Go to the source code of this file.

Functions

static int paren_string (char *line, char *pstring, int index)
 
static void get_atcc_string (const char *line, char *temp, int index)
 
static charget_atcc (const Macke &macke, char *source)
 
static chargenbank_get_atcc (const GenBank &gbk, const Macke &macke)
 
static void correct_subspecies (char *subspecies)
 
static void check_consistency (const char *what, char *const &var, const char *New)
 
static void get_string (char *temp, const char *line, int index)
 
static void copy_subspecies_and_check_consistency (char *const &subspecies, const char *from, int indj)
 
static void copy_strain_and_check_consistency (char *const &strain, const char *from, int indj)
 
static void check_strain_from (char *const &strain, const char *from)
 
static chargenbank_get_strain (const GenBank &gbk)
 
static chargenbank_get_subspecies (const GenBank &gbk)
 
static void mtog_decode_ref_and_remarks (const Macke &macke, GenBank &gbk)
 
static void mtog_genbank_def_and_source (const Macke &macke, GenBank &gbk)
 
int mtog (const Macke &macke, GenBank &gbk, const Seq &seq)
 
int gtom (const GenBank &gbk, Macke &macke)
 

Function Documentation

static int paren_string ( char line,
char pstring,
int  index 
)
static

Definition at line 6 of file mg.cxx.

References str0len().

Referenced by get_atcc().

static void get_atcc_string ( const char line,
char temp,
int  index 
)
static

Definition at line 25 of file mg.cxx.

References str0len().

Referenced by get_atcc().

static char* get_atcc ( const Macke &  macke,
char source 
)
static
static char* genbank_get_atcc ( const GenBank &  gbk,
const Macke &  macke 
)
static

Definition at line 90 of file mg.cxx.

References get_atcc(), has_content(), LONGTEXT, and NULp.

Referenced by gtom().

static void correct_subspecies ( char subspecies)
static

Definition at line 175 of file mg.cxx.

References ca_assert, find_pattern(), and find_strain().

Referenced by copy_subspecies_and_check_consistency().

static void check_consistency ( const char what,
char *const &  var,
const char New 
)
static
static void get_string ( char temp,
const char line,
int  index 
)
static
static void copy_subspecies_and_check_consistency ( char *const &  subspecies,
const char from,
int  indj 
)
static

Definition at line 228 of file mg.cxx.

References check_consistency(), correct_subspecies(), get_string(), and LONGTEXT.

Referenced by genbank_get_subspecies().

static void copy_strain_and_check_consistency ( char *const &  strain,
const char from,
int  indj 
)
static

Definition at line 234 of file mg.cxx.

References check_consistency(), get_string(), and LONGTEXT.

Referenced by check_strain_from(), and genbank_get_strain().

static void check_strain_from ( char *const &  strain,
const char from 
)
static

Definition at line 240 of file mg.cxx.

References copy_strain_and_check_consistency(), has_content(), and skip_strain().

Referenced by genbank_get_strain().

static char* genbank_get_strain ( const GenBank &  gbk)
static
static char* genbank_get_subspecies ( const GenBank &  gbk)
static
static void mtog_decode_ref_and_remarks ( const Macke &  macke,
GenBank &  gbk 
)
static
static void mtog_genbank_def_and_source ( const Macke &  macke,
GenBank &  gbk 
)
static

Definition at line 374 of file mg.cxx.

References Append(), copy_content(), has_content(), skip_eolnl_and_append(), terminate_with(), and warning().

Referenced by mtog().

int mtog ( const Macke &  macke,
GenBank &  gbk,
const Seq seq 
)
int gtom ( const GenBank &  gbk,
Macke &  macke 
)