-
Notifications
You must be signed in to change notification settings - Fork 0
/
vcmtools_example.sh
40 lines (32 loc) · 1.27 KB
/
vcmtools_example.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# +
## Specify output folder
output_path="../1.mapped_CMs/vcmtools";
## Specify paths to VCMtools scripts
path_to_main="./main";
## define VCMtools-specific parameters
max_peak_dist=0.5; ## Maximum distance between two peak centers
pv_thresholds="0.001" ## p-values to use for CM mapping
## Specify the number of processs to use
## if parallelizing calculation of correlations (highly recommendded)
n_cores=1; ## default n_cores=1
## Specify chromosomes to use for CM mapping
chromosomes="22"; ## dash defines a range, default is "1-22" (all chromosomes from chr1 to chr22);
## Alternatively, "chromosomes" parameter can be defined as
## "1,5,10" (without spaces) when using, in this example, three chromosomes;
## or "22", when using a single chromosome
## Specify cell type/dataset name
dataset_name="test_data";
## Specify paths to count matrices for ChIP-seq/ATAC-seq data
input_path="../test_data/gzipped_bed";
k4me1_matrix="H3K4me1:${input_path}/H3K4me1_chr22.bed.gz";
k27ac_matrix="H3K27ac:${input_path}/H3K27ac_chr22.bed.gz";
# -
sh ${path_to_main}/pyVCMtools.sh \
-s ${path_to_main}/src \
-d ${dataset_name} \
-m ${max_peak_dist} \
-p ${pv_thresholds} \
-f "${k4me1_matrix},${k27ac_matrix}" \
-c ${chromosomes} \
-n ${n_cores} \
-o ${output_path}