| Included libraries | Package variables | General documentation | Methods |
| close_gb | No description | Code |
| filepath | No description | Code |
| getnucs | No description | Code |
| goto_origin | No description | Code |
| new | No description | Code |
| next_locus | No description | Code |
| open_gb | No description | Code |
| read_features | No description | Code |
| read_header | No description | Code |
| read_locus | No description | Code |
| close_gb | description | prev | next | Top |
my $this = shift; close(FASTA);}
| filepath | description | prev | next | Top |
my $this = shift; return $infile;}
| getnucs | description | prev | next | Top |
my $this = shift; while(<FASTA>){ $prev = $_; last if (/^\s*\n$/ || /^>/); s/[^A-Za-z]//g; $this->{"SEQ"} .= lc($_); }}
| goto_origin | description | prev | next | Top |
my $this = shift;}
| new | description | prev | next | Top |
my $pkg = shift; my $filename = shift; my $option = shift; my $this = new G("blessed"); bless $this; return $this;}
| next_locus | description | prev | next | Top |
my $this = shift; my $msg = shift; undef %{$this}; $this->read_locus(); $this->getnucs(); if (length($this->{SEQ}) > 0){ $this->seq_info() unless($msg); return 1; }else{ return 0; }}
| open_gb | description | prev | next | Top |
my $this = shift; my $filename = shift; $infile = $filename; open(FASTA, $filename) || die("Error at G::IO::FastaI: $!\n"); return *FASTA;}
| read_features | description | prev | next | Top |
my $this = shift;}
| read_header | description | prev | next | Top |
my $this = shift;}
| read_locus | description | prev | next | Top |
my $this = shift; local($_); if($prev =~ /^>(.*)$/){ $this->{LOCUS}->{id} = $1; return; } while(<FASTA>){ chomp; if (/^>(.*)$/){ $this->{LOCUS}->{id} = $1; last; } }}