-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfit_dfe.bash
More file actions
55 lines (47 loc) · 1.65 KB
/
fit_dfe.bash
File metadata and controls
55 lines (47 loc) · 1.65 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
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
#$ -cwd
#$ -V
#$ -m a
#$ -l h_data=50G
#$ -l h_rt=12:00:00
#$ -l highp
#$ -t 21
#$ -e /u/home/j/jonmah/postproc_error
#$ -o /u/home/j/jonmah/postproc_output
#$ -N fit_dfe_FD_accessory
SGE_TASK_ID=21
#### Python 3
# i=0
# while read line;
# do
# i=$((i+1))
# if [ $i -eq $SGE_TASK_ID ]
# then
# species=$line
# fi
# done < ../Data/good_species_list.txt
# i=0
# while read line;
# do
# i=$((i+1))
# if [ $i -eq $SGE_TASK_ID ]
# then
# species=$line
# fi
# done < ../HighRecombinationData/good_species_list.txt
i=0
while read line;
do
i=$((i+1))
if [ $i -eq $SGE_TASK_ID ]
then
species=$line
fi
done < ../SupplementaryAnalysis/supplementary_species_list.txt
sample_size=14
# Core FD
# python fit_dfe.py ../SupplementaryAnalysis/${species}/core_empirical_syn_downsampled_sfs.txt ../SupplementaryAnalysis/${species}/core_empirical_nonsyn_downsampled_sfs.txt ../SupplementaryAnalysis/${species}/two_epoch_demography.txt two_epoch ../SupplementaryAnalysis/${species}/core
# Accessory FD
# python fit_dfe.py ../SupplementaryAnalysis/${species}/accessory_empirical_syn_downsampled_sfs.txt ../SupplementaryAnalysis/${species}/accessory_empirical_nonsyn_downsampled_sfs.txt ../SupplementaryAnalysis/${species}/accessory_two_epoch_demography.txt two_epoch ../SupplementaryAnalysis/${species}/accessory
# HR core
# python fit_dfe.py ../HighRecombinationAnalysis/${species}/core_0.5_empirical_syn_14_downsampled_sfs.txt ../HighRecombinationAnalysis/${species}/core_0.5_empirical_nonsyn_14_downsampled_sfs.txt ../HighRecombinationAnalysis/${species}/core_0.5_two_epoch_demography.txt two_epoch ../HighRecombinationAnalysis/${species}/core_0.5