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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
|
Testing files for comparing statistics between ms output and scrm ouput
CHECKING THE INITIAL TREE
* Checking -T option
(Good 19Jan14) ##############################################
(GOOD 17 May 14)
(GOOD 1 June 14)
Compare TMRCA
./ms_vs_scrm-tmrca.sh
Output file:
test-tmrca/compareTMRCA
test-tmrca/*.pdf
(Good 19Jan14) ##############################################
(GOOD 17 May 14)
(GOOD 1 June 14)
Compare total branch length
./ms_vs_scrm-bl.sh
Output file:
test-bl/compareBL
test-bl/*.pdf
(Good 19Jan14) ##############################################
(GOOD 17 May 14)
(GOOD 1 June 14)
Compare number of segregating sites (mutations)
./ms_vs_scrm-seg.sh
Output file:
test-seg/compareSEG
test-seg/*.pdf
* Checking segregating sites data
(Good 27Jan14) ##############################################
(GOOD 17 May 14)
(GOOD 31 May 14)
Compare summary statistics of the segregating site statistics (see ms manual section: Using ms with sample_stats)
./ms_vs_scrm_SEG_samplestats.sh
Output file:
test-SEGsamplestats/compareSEG
test-SEGsamplestats/*.pdf
CHECK TMRCA TOTAL BL SEG IN THE FOLLOWING CASES
* Checking -ma option
(Good 28Jan14) ##############################################
(GOOD 17 May 14)
(GOOD 31 May 14)
Compare TMRCA and total branch length, and segregating sites for migration
./ms_vs_scrm-mig.sh
Output file:
test-mig/compareMIG
test-mig/*.pdf
(Good 27Feb 14) ##############################################
(GOOD 17 May 14)
(GOOD 31 May 14)
Compare TMRCA and total branch length, and segregating sites for migration BETWEEN TWO SEQUENCES
./ms_vs_scrm-mig_more.sh
Output file:
test-mig-more/compareMIG
test-mig-more/*.pdf
* Checking the population structure, -eN option
(Good 19Jan14) ##############################################
(GOOD 17 May 14)
(GOOD 31 May 14)
Compare TMRCA and total branch length, and segregating sites for Population structure
./ms_vs_scrm_pop_struct.sh
Output file:
test-POP/comparePop
test-POP/*.pdf
NOTE: Tajima's D only works when sample at least 3 individuals. Therefore, case 1 and 2 in the experiment would not work as the sample sizes are only 2
* Checking -ma option with -eN option
(Good 28Jan14) ##############################################
(GOOD 17 May 14)
(GOOD 31 May 14)
Compare TMRCA and total branch length, and segregating sites for migration
./ms_vs_scrm-mig-popsize.sh
Output file:
test-mig-popsize/compareMIG
test-mig-popsize/*.pdf
* Checking the sub population structure, -en, and -ej options
(GOOD 13Feb14)##############################################
(GOOD 17 May 14)
(GOOD 31 May 14)
Compare TMRCA and total branch length, and segregating sites for migration
./ms_vs_scrm_subpop_struct.sh
Output file:
test-SUBPOP/compareSubPop
test-SUBPOP/*pdf
* Checking growth rate, -G, -eG, and -eg option
(GOOD 10APR14)##############################################
(GOOD 17 May 14)
(GOOD 31 May 14)
Compare TMRCA and total branch length, and segregating sites for migration
./ms_vs_scrm_growth.sh
Output file:
test-GROWTH/compareGrowth
test-GROWTH/*pdf
WITH RECOMBINATION
(Good 27Jan14) ##############################################
(retest 17 May 14)
(GOOD 1 June 14)
Compare TMRCA
Compare total branch length
./ms_vs_scrm-tmrca-wit-recomb.sh
Output file:
test-tmrca-recomb/compareTMRCA-RECOMB
test-tmrca-recomb/compareBL-RECOMB
test-tmrca-recomb/*pdf
(Good Feb 10) ##############################################
(GOOD 1 June 14)
Compare number of segregating sites (mutations)
./ms_vs_scrm-seg_wit_recomb.sh
Output file:
test-seg-recomb/compareSEG-RECOMB
test-seg-recomb/*pdf
NOTE: for most of the cases, there is no significant difference on number of segreating sites. However, if there are only two lineages. The frequncy of few mutations differ.
* Checking -ma option with -r option
(Good 27Feb14) ##############################################
(GOOD 17 May 14)
(GOOD 31 May 14)
Compare TMRCA and total branch length, and segregating sites for migration
./ms_vs_scrm-mig_recomb.sh
Output file:
test-mig-recomb/compareMIG
test-mig-recomb/*.pdf
(Good 27Feb14) ##############################################
(GOOD 31 May 14)
Compare TMRCA and total branch length, and segregating sites for migration BETWEEN TWO SEQUENCES
./ms_vs_scrm-mig_more_recomb.sh
Output file:
test-mig-pair/compareMIG
test-mig-pair/*.pdf
##############################################
Compare spectrum
Compare the Spectrum of the segregating sites, frequencies of observing a k mutation...
(In process 18Jan14, need to check 19Jan14)
./spectrum.sh
./spectrum-wit-recomb.sh
Output file:
test-spectrum/compareSPEC
test-spectrum-recomb/
* Checking growth rate with recombination, -G, -eG, and -eg option
(GOOD 1 June 14)##############################################
Compare TMRCA and total branch length, and segregating sites for migration
./ms_vs_scrm_growth-recomb.sh
Output file:
test-GROWTH-recomb/compareGrowth
test-GROWTH-recomb/*pdf
RECOMBINATION ONLY
(GOOD 18Jan14) ##############################################
Compare number of recombination
./ms_vs_scrm-recomb.sh
Output file:
test-recomb/compareRECOMB
test-recomb/*pdf
##############################################
Compare LD
##############################################
Pairwise differences, see Excoffier and Foll 2011, Supplementary information.
!!! Need to test for the two island model
./pairwise_test.sh
|