Back to index

python-biopython  1.60
Variables
biosql_performance_load Namespace Reference

Variables

tuple server
string db_name = "testload"
tuple db = server.new_database(db_name)
string input_file = "/home/hack/install/biopython/Tests/GenBank/cor6_6.gb"
tuple handle = open(input_file, "r")
tuple parser = GenBank.FeatureParser()
tuple iterator = GenBank.Iterator(handle, parser)
tuple start_time = time.time()
tuple num_records = db.load(iterator)
tuple end_time = time.time()
 elapsed_time = end_time-start_time

Variable Documentation

tuple biosql_performance_load.db = server.new_database(db_name)

Definition at line 18 of file biosql_performance_load.py.

string biosql_performance_load.db_name = "testload"

Definition at line 12 of file biosql_performance_load.py.

Definition at line 29 of file biosql_performance_load.py.

tuple biosql_performance_load.end_time = time.time()

Definition at line 28 of file biosql_performance_load.py.

Definition at line 21 of file biosql_performance_load.py.

string biosql_performance_load.input_file = "/home/hack/install/biopython/Tests/GenBank/cor6_6.gb"

Definition at line 20 of file biosql_performance_load.py.

tuple biosql_performance_load.iterator = GenBank.Iterator(handle, parser)

Definition at line 23 of file biosql_performance_load.py.

Definition at line 27 of file biosql_performance_load.py.

tuple biosql_performance_load.parser = GenBank.FeatureParser()

Definition at line 22 of file biosql_performance_load.py.

Initial value:
00001 BioSeqDatabase.open_database(host = "192.168.0.192", user = "root", 
00002                                        passwd = "", db = "pythonloadtest")

Definition at line 8 of file biosql_performance_load.py.

Definition at line 26 of file biosql_performance_load.py.