-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrite_config_file.sh
More file actions
42 lines (38 loc) · 1.04 KB
/
write_config_file.sh
File metadata and controls
42 lines (38 loc) · 1.04 KB
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
40
41
42
mdl=$( echo Tenn )
data_dir=/Genomics/akeylab/abwolf/SimulatedDemographic/Sstar/chr1_variable_ref/simulations
admix=$( echo $1 )
chromsize=$( echo 1000000)
configfile=$( echo config_$admix.yaml)
echo '
window_size: "50000"
window_step_size: "10000"
informative_site_method: "derived_in_archaic"
informative_site_range: "0"
null_dataset:
name: "null"
directory: "'$data_dir'/'$mdl'/n1_0.1/null"
# VCF Info
vcf_file_pattern: "vcfs/{sample}.mod.vcf.gz"
chrom_sizes: "'$chromsize'"
# Population info
population_file: "'$mdl'.popfile"
archaic_populations:
- "Neand1"
modern_populations:
- "EUR"
- "ASN"
test_dataset:
name: "'$mdl'_'$admix'"
directory: "'$data_dir'/'$mdl'/n1_0.1/'$admix'"
# VCF Info
vcf_file_pattern: "vcfs/{sample}.mod.vcf.gz"
chrom_sizes: "'$chromsize'"
# Population info
population_file: "'$mdl'.popfile"
archaic_populations:
- "Neand1"
modern_populations:
- "EUR"
- "ASN"
' \
> $configfile