#include <head.h>
Public Member Functions | |
| head () | |
| head (const head &hd) | |
| ~head () | |
| void | getHead (istream &ins, char ln[]) |
| void | loadSeqInfo (seqinfo &si, Date &gd) |
| bool | isseg () const |
| bool | firstSeg () const |
| void | segmentOut (ostream &SOUF, char ss[], const seqinfo &mseq) const |
| char * | phylogeny () const |
| char * | getSource () const |
| char * | getOrganism () const |
| void | dump (ostream &SOUF, seqinfo &si) const |
Private Member Functions | |
| void | outAcc (ostream &so) const |
Private Attributes | |
| char | locus [LINE+1] |
| char | ver [35] |
| char | seg [12] |
| char * | source |
| char * | def |
| char * | acess |
| char * | keywd |
| char * | org |
| char * | phyl |
Friends | |
| ostream & | operator<< (ostream &ous, const head &h) |
| head::head | ( | const head & | hd | ) |
| void head::getHead | ( | istream & | ins, | |
| char | ln[] | |||
| ) |
References acess, def, dlc(), getField(), keywd, LINE, locus, org, phyl, rmdquote(), rpldquote(), seg, source, and ver.
Referenced by main().
position of the LOCUS line GB Release 128 The detailed format for the LOCUS line format is as follows:
Positions Contents --------- -------- 01-05 'LOCUS' 06-12 spaces 13-28 Locus name |0,15 29-29 space 30-40 Length of sequence, right-justified |17,27> 41-41 space 42-43 bp |29,30 44-44 space 45-47 spaces, ss- (single-stranded), ds- (double-stranded), or ms- (mixed-stranded) |32,34 48-53 NA, DNA, RNA, tRNA (transfer RNA), rRNA (ribosomal RNA), mRNA (messenger RNA), uRNA (small nuclear RNA), snRNA, snoRNA. Left justified. |<35,40 54-55 space 56-63 'linear' followed by two spaces, or 'circular' |43,50 64-64 space 65-67 The division code (see Section 3.3) |52,54 68-68 space 69-79 Date, in the form dd-MMM-yyyy (e.g., 15-MAR-1991) |56,66
References seqinfo::acc, acess, seqinfo::div, firstwd(), Date::gbstr(), seqinfo::len, seqinfo::linear, seqinfo::locus, locus, org, seqinfo::org, seg, seqinfo::seg, substr(), and seqinfo::type.
Referenced by main().
| bool head::isseg | ( | ) | const [inline] |
| void head::segmentOut | ( | ostream & | SOUF, | |
| char | ss[], | |||
| const seqinfo & | mseq | |||
| ) | const |
| char* head::getSource | ( | ) | const [inline] |
References source.
| void head::dump | ( | ostream & | SOUF, | |
| seqinfo & | si | |||
| ) | const |
write out the headed into ace format
References def, firstSeg(), isseg(), keywd, seqinfo::len, seqinfo::locus, seqinfo::name(), seqinfo::nameseg(), seqinfo::org, outAcc(), segmentOut(), source, seqinfo::type, and ver.
Referenced by main().
| ostream& operator<< | ( | ostream & | ous, | |
| const head & | h | |||
| ) | [friend] |
char head::locus[LINE+1] [private] |
Referenced by getHead(), head(), loadSeqInfo(), and operator<<().
char head::ver[35] [private] |
Referenced by dump(), getHead(), head(), and operator<<().
char head::seg[12] [private] |
Referenced by firstSeg(), getHead(), head(), isseg(), loadSeqInfo(), operator<<(), and segmentOut().
char* head::source [private] |
Referenced by dump(), getHead(), getSource(), head(), and ~head().
char * head::acess [private] |
Referenced by getHead(), head(), loadSeqInfo(), outAcc(), and ~head().
char * head::keywd [private] |
char * head::org [private] |
Referenced by getHead(), getOrganism(), head(), loadSeqInfo(), and ~head().
char * head::phyl [private] |
Referenced by getHead(), head(), phylogeny(), and ~head().
1.5.6