diff --git a/src/nt_composition/__main__.py b/src/nt_composition/__main__.py index 0fd759af25c42a78d647b357fda3fc6d102fd45e..17d0d47fa2987fc61a7586d3a45d68317899caa7 100644 --- a/src/nt_composition/__main__.py +++ b/src/nt_composition/__main__.py @@ -17,7 +17,7 @@ import lazyparser as lp @lp.parse(weight='weight > 0', ft_type=['nt', 'dnt', 'tnt', 'codon', 'aa', 'properties']) def launcher(weight: int = 1, global_weight: int = 0, ft_type: str = 'nt', - same_gene: bool = False, + same_gene: bool = False, compute_mean: bool = True, logging_level: str = "DISABLE"): """ Launch the creation of density file. @@ -30,11 +30,14 @@ def launcher(weight: int = 1, global_weight: int = 0, ft_type: str = 'nt', :param ft_type: The feature type of interest (default 'nt') :param same_gene: Say if we consider as co-localised, exons within the \ same gene (True) or not (False) (default False) + :param compute_mean: True to compute the mean frequency of co-localised \ + exons, false to only compute the frequency of one co-localized exons. \ + (default True) :param logging_level: The level of data to display (default 'DISABLE') """ get_interactions_number(weight, same_gene, logging_level) create_all_frequency_figures(ConfigNt.cpu, weight, global_weight, ft_type, - same_gene, logging_level) + same_gene, compute_mean, logging_level) launcher() \ No newline at end of file