diff --git a/src/hic_TAD_caller/create_TAD_HiC_files/__main__.py b/src/hic_TAD_caller/create_TAD_HiC_files/__main__.py index f2b8a5f0d86c60ea0f654a82128de6b1e58efbc7..cee962ca82ecc5ec6009f7ee7304c1d5f6e6ffa1 100644 --- a/src/hic_TAD_caller/create_TAD_HiC_files/__main__.py +++ b/src/hic_TAD_caller/create_TAD_HiC_files/__main__.py @@ -7,5 +7,20 @@ Description: Launch TAD caller """ from .calling_tads import calling_tads +import lazyparser as lp +from typing import List -calling_tads() + +@lp.parse(resolution=[1000, 2000, 5000, 10000, 25000, 50000, 100000, 250000, + 500000, 1000000, 2500000, 5000000, 10000000]) +def launcher(resolutions: List[int] = 10000): + """ + Call TADs for a list of 4DN nucleome project/ + + :param resolution: The list of resolutions wanted of the Hi-C file + """ + for resolution in resolutions: + calling_tads(resolution) + + +launcher() \ No newline at end of file