ARB
|
Go to the source code of this file.
Classes | |
struct | ARB_TIME |
Functions | |
static bool | CheckType (char *seq, int len) |
static void | AsciiTime (void *b, char *asciitime) |
GB_ERROR | ReadGen (char *filename, NA_Alignment &dataset) |
int | WriteGen (NA_Alignment &aln, char *filename, int method) |
void | SetTime (void *b) |
Definition at line 18 of file GDE_Genbank.cxx.
Referenced by ReadGen().
|
static |
Definition at line 45 of file GDE_Genbank.cxx.
References ARB_TIME::dd, GBUFSIZ, GDEmonth, ARB_TIME::mm, SetTime(), and ARB_TIME::yy.
Referenced by ReadGen().
GB_ERROR ReadGen | ( | char * | filename, |
NA_Alignment & | dataset | ||
) |
Definition at line 64 of file GDE_Genbank.cxx.
References AppendNA(), ARB_calloc(), ARB_realloc(), ARB_recalloc(), ARB_strdup(), Arbdb_get_curelem(), Ascii2NA(), AsciiTime(), NA_Sequence::attr, NA_Sequence::authority, buffer, CheckType(), NA_Sequence::col_lut, NA_Sequence::comments, NA_Sequence::comments_len, NA_Sequence::comments_maxlen, Default_PROColor_LKUP, DEFAULT_X_ATTR, NA_Sequence::description, DNA, NA_Alignment::element, NA_Sequence::elementtype, error(), Find(), GB_IO_error(), GBUFSIZ, NA_Sequence::id, InitNASeq(), IS_CIRCULAR, MASK, max, NA_Alignment::maxlen, NULp, NA_Alignment::numelements, NA_Sequence::offset, TimeStamp::origin, PROTEIN, NA_Sequence::rmatrix, RNA, NA_Sequence::seq_name, NA_Sequence::seqlen, NA_Sequence::sequence, NA_Sequence::short_name, SIZE_AUTHORITY, SIZE_DESCRIPTION, SIZE_ID, SIZE_SEQ_NAME, SIZE_SHORT_NAME, strcpy_truncate(), NA_Sequence::t_stamp, TEXT, and NA_Sequence::tmatrix.
Referenced by LoadFile().
int WriteGen | ( | NA_Alignment & | aln, |
char * | filename, | ||
int | method | ||
) |
Definition at line 227 of file GDE_Genbank.cxx.
References ALL, NA_Sequence::attr, NA_Sequence::authority, NA_Sequence::comments, TimeStamp::dd, NA_Sequence::description, DNA, NA_Alignment::element, NA_Sequence::elementtype, GDEmonth, getelem(), NA_Sequence::id, IS_CIRCULAR, MASK, TimeStamp::mm, NA_Alignment::numelements, NA_Sequence::offset, TimeStamp::origin, PROTEIN, RNA, NA_Sequence::seq_name, NA_Sequence::seqlen, NA_Sequence::short_name, NA_Sequence::t_stamp, NA_Sequence::tmatrix, Warning(), and TimeStamp::yy.
Referenced by GDE_startaction_cb().
void SetTime | ( | void * | b | ) |
Definition at line 287 of file GDE_Genbank.cxx.
References ARB_TIME::dd, ARB_TIME::hr, ARB_TIME::mm, ARB_TIME::mn, NULp, ARB_TIME::sc, and ARB_TIME::yy.
Referenced by AsciiTime(), and InitNASeq().