![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Built-in Methods | |
| __init__ (self) | |
| Initialize an empty database with possibly a name. | |
| __len__ (self) | |
| Return the number of datasets recorded in the database. | |
Manipulating Datasets | |
| add_dataset (self, dataset) | |
| Add a dataset to this database. | |
| 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. | |
| get_datasets (self) | |
| Return all the recorded datasets. | |
Data structure representing a set of datasets. The datasets can be added one by one, or from specification file.
| __init__ | ( | self | ) |
Initialize an empty database with possibly a name.
| __len__ | ( | self | ) |
Return the number of datasets recorded in the database.
| add_dataset | ( | self, | |
| dataset ) |
Add a dataset to this database.
| 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.
| get_datasets | ( | self | ) |
Return all the recorded datasets.