|
61 | 61 | author="The International HapMap Consortium",
|
62 | 62 | )
|
63 | 63 |
|
| 64 | +_takahata1993 = stdpopsim.Citation( |
| 65 | + doi="https://doi.org/10.1093/oxfordjournals.molbev.a039995", |
| 66 | + year="1993", |
| 67 | + author="Takahata", |
| 68 | + reasons={stdpopsim.CiteReason.POP_SIZE} |
| 69 | +) |
| 70 | + |
64 | 71 | _tian2019 = stdpopsim.Citation(
|
65 | 72 | doi="https://doi.org/10.1016/j.ajhg.2019.09.012",
|
66 | 73 | year="2019",
|
|
75 | 82 | reasons={stdpopsim.CiteReason.GEN_TIME}
|
76 | 83 | )
|
77 | 84 |
|
78 |
| -_takahata1993 = stdpopsim.Citation( |
79 |
| - doi="https://doi.org/10.1093/oxfordjournals.molbev.a039995", |
80 |
| - year="1993", |
81 |
| - author="Takahata", |
82 |
| - reasons={stdpopsim.CiteReason.POP_SIZE} |
83 |
| -) |
84 |
| - |
85 | 85 | _chromosomes = []
|
86 | 86 | for name, data in genome_data.data["chromosomes"].items():
|
87 | 87 | _chromosomes.append(stdpopsim.Chromosome(
|
|
174 | 174 | )
|
175 | 175 | _species.add_genetic_map(_gm)
|
176 | 176 |
|
| 177 | +# 26 populations in 1000 Genomes |
| 178 | +for pop in ["ACB", "ASW", "BEB", "CDX", "CEU", "CHB", "CHS", "CLM", "ESN", |
| 179 | + "FIN", "GBR", "GIH", "GWD", "IBS", "ITU", "JPT", "KHV", "LWK", |
| 180 | + "MSL", "MXL", "PEL", "PJL", "PUR", "STU", "TSI", "YRI"]: |
| 181 | + _gm = stdpopsim.GeneticMap( |
| 182 | + species=_species, |
| 183 | + id="Pyrho{}_GRCh37".format(pop), |
| 184 | + description="Pyrho population-specific map for {}".format(pop), |
| 185 | + long_description=""" |
| 186 | + This genetic map was inferred using individuals from the {} |
| 187 | + population from Phase 3 of the 1000 Genomes Project. Rates |
| 188 | + were estimated using pyrho (https://github.com/popgenmethods/pyrho) |
| 189 | + while using population-specific population size history estimates |
| 190 | + obtained from smc++ (https://github.com/popgenmethods/smcpp). |
| 191 | + Genetic maps are only available for the 22 autosomes. |
| 192 | + See https://doi.org/10.1126/sciadv.aaw9206 for more |
| 193 | + details.""".format(pop), |
| 194 | + url=( |
| 195 | + "https://stdpopsim.s3-us-west-2.amazonaws.com/genetic_maps/" |
| 196 | + "HomSap/Pyrho{}_GRCh37.tar.gz".format(pop)), |
| 197 | + file_pattern=( |
| 198 | + "Pyrho{}_GRCh37_chr{{id}}.txt".format(pop)), |
| 199 | + citations=[ |
| 200 | + stdpopsim.Citation( |
| 201 | + year=2019, |
| 202 | + author="Spence and Song", |
| 203 | + doi="https://doi.org/10.1126/sciadv.aaw9206", |
| 204 | + reasons={stdpopsim.CiteReason.GEN_MAP})] |
| 205 | + ) |
| 206 | + _species.add_genetic_map(_gm) |
| 207 | + |
177 | 208 |
|
178 | 209 | ###########################################################
|
179 | 210 | #
|
|
0 commit comments