Bio::mGen - a fast and simple gene loading, helping automate BioPerl processes.
use Bio::mGen; print mGet_set();
or
print mGet_desc($as);
print mGet_list($as,$gn);
print mGet_gene($as);
print mGet_fasta($as);
print mGet_gene($as,$gn);
my $list=mGet_list($as,$gn); my ($prot,$crc,$gene_index,$gn,$size,$range,$list,$pol,$desc,$xtra,)=split(/\|/,$list); print "Gene: $gn, Size: $size, Polarity: $pol\nDescription: $desc\n\n";
mGen_reload_gene($as);
print "PRI division => ".$gb_division{PRI}."\n";
print "ACTG inverted is ".mGen_invert_dna('ACTG')."\n";
my ($start,$stop,%aa)=mGen_translate_table(11); print "Start/Stop codons: $start \/ $stop, GGG equals $aa{GGG}\n"; print "ATGGATTACTGA => ".mGen_codon2aa("ATGGATTACTGA",$start,%aa)."\n";
Bio::mGen This module extracts pre-parsed compressed DNA from "Genbank" and "Refseq" (soon more) databases without draining the NCBI web server resources. Guaranteed to work faster than any module because of the features: Parse-free, compression ensuring twice twice faster download and reading from local disk, caching leading to instant load next time you use the data, and also mirroring.
Bio::mGen
get_desc
Gives AS's Desciption & summary.
get_list
List of genes' descriptions for the particular AS, gene name is optinal.
get_fasta
Reads particular AS whole sequence in fasta format.
get_gene
Reads parsed gene or list of genes for the particular AS. Gene name is optinal - leads to single gene output.
reload_gene
Updates the cache file.
translate_table
Loads the desirable translation table.
Bio::mGen exports the $db_path $base_path $imput_path $fasta_path $cache_path @mGen_urls $mGen_url %gb_division by default, and $offset by non-default.
$db_path $base_path $imput_path $fasta_path $cache_path @mGen_urls $mGen_url %gb_division
$offset
Ivan M Nanev, <cyber_indian at hotmail.com>
Bug reports welcome, patches even more welcome.
To install Bio::mGen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::mGen
CPAN shell
perl -MCPAN -e shell install Bio::mGen
For more information on module installation, please visit the detailed CPAN module installation guide.