Skip to content
Snippets Groups Projects
Commit fd7239e6 authored by nfontrod's avatar nfontrod
Browse files

src/hic_TAD_caller/create_TAD_HiC_files/__main__.py: creation of a function...

src/hic_TAD_caller/create_TAD_HiC_files/__main__.py: creation of a function launcher with a parameter resolution
parent 00fdcad8
Branches
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment