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

Set of input file options with multiple values. More...

Options Management

 _add_tuple_option (self, names, common_regex, regexs)
 Add the name of an option into the list and the regex represented the list of files (default is all files).
 _add_option (self, name, regex=".*")
 Add the name of an option into the list and the regex represented the list of files (default is all files).
 add_option_from_nvp_list (self, nvp_list)
 Add a nvp to the options list.
 build_options_list (self, dataset, association_rules)
 From the input dataset and association rules, create the tuples of files.
 get_options_list (self)
 Return the list of possible combinations of IFO.

Detailed Description

Set of input file options with multiple values.

This data structure provides the method get_options_list allowing to return all possible tuples of input files for a run.

Member Function Documentation

◆ _add_option()

_add_option ( self,
name,
regex = ".*" )
protected

Add the name of an option into the list and the regex represented the list of files (default is all files).

◆ _add_tuple_option()

_add_tuple_option ( self,
names,
common_regex,
regexs )
protected

Add the name of an option into the list and the regex represented the list of files (default is all files).

◆ add_option_from_nvp_list()

add_option_from_nvp_list ( self,
nvp_list )

Add a nvp to the options list.

◆ build_options_list()

build_options_list ( self,
dataset,
association_rules )

From the input dataset and association rules, create the tuples of files.

Note that the number of option names determine the arity, i.e the size of a tuple of input files.

◆ get_options_list()

get_options_list ( self)

Return the list of possible combinations of IFO.