Package Bio :: Package Restriction :: Package _Update :: Module RestrictionCompiler :: Class DictionaryBuilder
[hide private]
[frames] | no frames]

Class DictionaryBuilder

source code

object --+
         |
        DictionaryBuilder

Instance Methods [hide private]
 
__init__()
DictionaryBuilder([e_mail[, ftp_proxy]) -> DictionaryBuilder instance.
source code
None
build_dict(DB)
Construct the dictionary and build the files containing the new dictionaries.
source code
None
install_dict(DB)
Install the newly created dictionary in the site-packages folder.
source code
None
no_install(BD)
build the new dictionary but do not install the dictionary.
source code
None
lastrebasefile(BD)
Check the emboss files are up to date and download them if they are not.
source code
 
parseline(self, line) source code
 
removestart(self, file) source code
 
getblock(self, file, index) source code
 
get(self, block) source code
 
information_mixer(self, file1, file2, file3) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__()
(Constructor)

source code 

DictionaryBuilder([e_mail[, ftp_proxy]) -> DictionaryBuilder instance.

If the emboss files used for the construction need to be updated this class will download them if the ftp connection is correctly set. either in RanaConfig.py or given at run time.

e_mail is the e-mail address used as password for the anonymous ftp connection.

proxy is the ftp_proxy to use if any.

Overrides: object.__init__

install_dict(DB)

source code 

Install the newly created dictionary in the site-packages folder.

May need super user privilege on some architectures.

Returns: None