diff --git a/src/find_interaction_cluster/__main__.py b/src/find_interaction_cluster/__main__.py index 78d1afaf90b0e1851104c4b2c79ea0ba5d6a9573..7fecb019c29a066df6eb64047a2f37a28f81d3b7 100644 --- a/src/find_interaction_cluster/__main__.py +++ b/src/find_interaction_cluster/__main__.py @@ -14,6 +14,7 @@ from typing import List from .install_hipMCL import install_hipmcl from .sf_and_communities import multiple_stat_launcher from .nt_and_community import multiple_nt_lmm_launcher +from .create_ppi_files import ppi_stat_launcher import logging from ..logging_conf import logging_def @@ -24,6 +25,7 @@ def launcher(weight: List[int] = (1), same_gene: bool = True, ps: int = ConfigGraph.cpu, html_fig: bool = False, feature: str = 'exon', region: str = '', + iteration_ppi: int = 1000, logging_level: str = "DISABLE"): """ Script used to find communities inside exon co-localized within a project @@ -41,6 +43,8 @@ def launcher(weight: List[int] = (1), :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') + :param iteration_ppi: the number of iteration for ppi analysis + :param ps: The number of processes to use """ logging_def(ConfigGraph.community_folder, __file__, logging_level) if feature == "gene" and not same_gene: @@ -56,6 +60,10 @@ def launcher(weight: List[int] = (1), multiple_nt_lmm_launcher(ps, weight, global_weight, same_gene, feature, region, logging_level) + if feature == "gene": + ppi_stat_launcher(ps, weight, global_weight, same_gene, + ConfigGraph.ppi_threshold, iteration_ppi, + logging_level) launcher() \ No newline at end of file