From e27b236531cbfd0b77d1f463058ecfa71eba2919 Mon Sep 17 00:00:00 2001 From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr> Date: Thu, 29 Oct 2020 16:52:42 +0100 Subject: [PATCH] src/find_interaction_cluster/__main__.py: add a region parameter --- src/find_interaction_cluster/__main__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/find_interaction_cluster/__main__.py b/src/find_interaction_cluster/__main__.py index 71a3bcc3..78d1afaf 100644 --- a/src/find_interaction_cluster/__main__.py +++ b/src/find_interaction_cluster/__main__.py @@ -23,7 +23,7 @@ def launcher(weight: List[int] = (1), global_weight: List[int] = (0), same_gene: bool = True, ps: int = ConfigGraph.cpu, - html_fig: bool = False, feature: str = 'exon', + html_fig: bool = False, feature: str = 'exon', region: str = '', logging_level: str = "DISABLE"): """ Script used to find communities inside exon co-localized within a project @@ -38,6 +38,8 @@ def launcher(weight: List[int] = (1), same gene (True) or not (False) (default True) :param html_fig: True to display the html figure (default False). :param feature: The feature we want to analyse (default 'exon') + :param region: The region of a gene to analyse (used only if feature \ + is 'gene') (default ''). :param logging_level: The level of data to display (default 'DISABLE') """ logging_def(ConfigGraph.community_folder, __file__, logging_level) @@ -49,9 +51,10 @@ def launcher(weight: List[int] = (1), install_hipmcl("INFO") multiple_community_launcher(1, weight, global_weight, same_gene, html_fig, feature, logging_level) - # multiple_stat_launcher(ps, weight, global_weight, same_gene, feature, - # logging_level) + multiple_stat_launcher(ps, weight, global_weight, same_gene, feature, + logging_level) multiple_nt_lmm_launcher(ps, weight, global_weight, same_gene, feature, + region, logging_level) -- GitLab