In [1]:
r_enz = 'HindIII'
In [3]:
from pytadbit.mapping.full_mapper import full_mapper
In [4]:
from pytadbit.mapping.full_mapper import full_mapping
In [15]:
full_mapping('/media/storage/db/reference_genome/Homo_sapiens/hg38/hg38.gem',
nthreads=2, clean=True, r_enz=r_enz,
frag_map=False,
out_map_dir='results/{0}/01_mapping/map{0}_r1'.format(r_enz),
fastq_path='/media/storage/FASTQs/K562_{0}_1.fastq'.format(r_enz),
windows=((1, 25),(1, 30), (1, 40), (1, 75))
In [ ]:
full_mapping('/media/storage/db/reference_genome/Homo_sapiens/hg38/hg38.gem',
nthreads=2, clean=True, r_enz=r_enz,
frag_map=False,
out_map_dir='results/{0}/01_mapping/map{0}_r2'.format(r_enz),
fastq_path='/media/storage/FASTQs/K562_{0}_2.fastq'.format(r_enz),
windows=((1, 25),(1, 30), (1, 40), (1, 75))
In [6]:
! mkdir -p results
In [7]:
! mkdir -p results/HindIII
In [10]:
! mkdir -p results/HindIII/01_mapping
In [8]:
! mkdir -p results/MboI
In [11]:
! mkdir -p results/MboI/01_mapping
In [12]:
! ls
In [16]:
full_mapping('/media/storage/db/reference_genome/Homo_sapiens/hg38/hg38.gem',
nthreads=2, clean=True, r_enz=r_enz,
frag_map=True,
out_map_dir='results/{0}/01_mapping/map{0}_r1'.format(r_enz),
fastq_path='/media/storage/FASTQs/K562_{0}_1.fastq'.format(r_enz))
Out[16]:
In [17]:
full_mapping('/media/storage/db/reference_genome/Homo_sapiens/hg38/hg38.gem',
nthreads=2, clean=True, r_enz=r_enz,
frag_map=True,
out_map_dir='results/{0}/01_mapping/map{0}_r2'.format(r_enz),
fastq_path='/media/storage/FASTQs/K562_{0}_2.fastq'.format(r_enz))
Out[17]:
In [19]:
! head results/HindIII/01_mapping/mapHindIII_r2/K562_HindIII_2_full_1-end.map
In [20]:
! head results/HindIII/01_mapping/mapHindIII_r2/K562_HindIII_2_frag_1-end.map
In [ ]: