Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
BM_Database Class Reference

Built-in Methods

def __init__ (self)
 Initialize an empty database with possibly a name. More...
 
def __len__ (self)
 Return the number of datasets recorded in the database. More...
 

Manipulating Datasets

def add_dataset (self, dataset)
 Add a dataset to this database. More...
 
def add_datasets_from_directory (self, directory, file_name_re=".*", recursion_level=0)
 Search recursively in a directory all the files matching the input regular expression, and create one dataset per directory maximally at the input recursion_level. More...
 
def get_datasets (self)
 Return all the recorded datasets. More...
 

Detailed Description

Data structure representing a set of datasets. The datasets can be added one by one, or from specification file.