-
Notifications
You must be signed in to change notification settings - Fork 1
/
generate_gap_files.py
19 lines (16 loc) · 993 Bytes
/
generate_gap_files.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import os
import sys
source_path = os.path.dirname(os.path.abspath(sys.argv[0])) + "/3Dpredictor/source"
source_path2 = os.path.dirname(os.path.abspath(sys.argv[0])) + "/3Dpredictor/nn/source"
source_path3 = os.path.dirname(os.path.abspath(sys.argv[0])) + "/source"
sys.path.append(source_path)
sys.path.append(source_path2)
sys.path.append(source_path3)
from find_gaps import generate_gaps
import logging
logging.basicConfig(format='%(asctime)s %(name)s: %(message)s', datefmt='%I:%M:%S', level=logging.INFO)
chr_list = ['2L', '2R', '3L', '3R', 'X']
# chr_list = ["chr2L", "chr2LHet", "chr2R", "chr2RHet", "chr3L", "chr3LHet", "chr3R", "chr3RHet", "chr4", "chrM", "chrX", "chrXHet", "chrYHet"]
generate_gaps(chr_list=chr_list, cool_file = "/mnt/scratch/ws/psbelokopytova/202109061534Polya/nn_anopheles/input/coolers/Acol_4096.cool",
output_gap_folder="/mnt/scratch/ws/psbelokopytova/202109061534Polya/nn_anopheles/input/genomes/Acol_4096",
zero_proc_in_line=97)