brandcm commited on
Commit
4fe4d7b
·
verified ·
1 Parent(s): 2f5848a

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +78 -1
  2. agvs.parquet +3 -0
  3. annotation.parquet +3 -0
  4. genotypes/.DS_Store +0 -0
  5. genotypes/chr1/index.parquet +3 -0
  6. genotypes/chr1/part-0000.parquet +3 -0
  7. genotypes/chr1/part-0001.parquet +3 -0
  8. genotypes/chr1/part-0002.parquet +3 -0
  9. genotypes/chr1/part-0003.parquet +3 -0
  10. genotypes/chr1/part-0004.parquet +3 -0
  11. genotypes/chr1/part-0005.parquet +3 -0
  12. genotypes/chr1/part-0006.parquet +3 -0
  13. genotypes/chr1/part-0007.parquet +3 -0
  14. genotypes/chr1/part-0008.parquet +3 -0
  15. genotypes/chr1/part-0009.parquet +3 -0
  16. genotypes/chr1/part-0010.parquet +3 -0
  17. genotypes/chr1/part-0011.parquet +3 -0
  18. genotypes/chr1/part-0012.parquet +3 -0
  19. genotypes/chr1/part-0013.parquet +3 -0
  20. genotypes/chr1/part-0014.parquet +3 -0
  21. genotypes/chr1/part-0015.parquet +3 -0
  22. genotypes/chr1/part-0016.parquet +3 -0
  23. genotypes/chr1/part-0017.parquet +3 -0
  24. genotypes/chr1/part-0018.parquet +3 -0
  25. genotypes/chr10/index.parquet +3 -0
  26. genotypes/chr10/part-0000.parquet +3 -0
  27. genotypes/chr10/part-0001.parquet +3 -0
  28. genotypes/chr10/part-0002.parquet +3 -0
  29. genotypes/chr10/part-0003.parquet +3 -0
  30. genotypes/chr10/part-0004.parquet +3 -0
  31. genotypes/chr10/part-0005.parquet +3 -0
  32. genotypes/chr10/part-0006.parquet +3 -0
  33. genotypes/chr10/part-0007.parquet +3 -0
  34. genotypes/chr10/part-0008.parquet +3 -0
  35. genotypes/chr10/part-0009.parquet +3 -0
  36. genotypes/chr10/part-0010.parquet +3 -0
  37. genotypes/chr10/part-0011.parquet +3 -0
  38. genotypes/chr10/part-0012.parquet +3 -0
  39. genotypes/chr11/index.parquet +3 -0
  40. genotypes/chr11/part-0000.parquet +3 -0
  41. genotypes/chr11/part-0001.parquet +3 -0
  42. genotypes/chr11/part-0002.parquet +3 -0
  43. genotypes/chr11/part-0003.parquet +3 -0
  44. genotypes/chr11/part-0004.parquet +3 -0
  45. genotypes/chr11/part-0005.parquet +3 -0
  46. genotypes/chr11/part-0006.parquet +3 -0
  47. genotypes/chr11/part-0007.parquet +3 -0
  48. genotypes/chr11/part-0008.parquet +3 -0
  49. genotypes/chr11/part-0009.parquet +3 -0
  50. genotypes/chr11/part-0010.parquet +3 -0
README.md CHANGED
@@ -1,3 +1,80 @@
1
  ---
2
- license: cc-by-4.0
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: AncientProxy data
3
+ tags:
4
+ - ancient-dna
5
+ - population-genetics
6
+ - linkage-disequilibrium
7
+ viewer: false
8
  ---
9
+
10
+ # AncientProxy data
11
+
12
+ Query-ready Parquet backing the [AncientProxy](https://github.com/) web tool, which finds
13
+ ancient genotyped variants (AGVs) in linkage disequilibrium with a variant of interest.
14
+
15
+ Files are laid out and sorted so a single query reads only the row groups it needs, rather
16
+ than downloading a whole chromosome. Polars can read them directly over the network:
17
+
18
+ ```python
19
+ import polars as pl
20
+
21
+ root = "hf://datasets/<user>/ancientproxy-data"
22
+ pl.scan_parquet(f"{root}/ld/chr11.parquet").filter(pl.col("LDV_pos") == 63290453).collect()
23
+ ```
24
+
25
+ ## Sources
26
+
27
+ | | |
28
+ |---|---|
29
+ | Genotypes and sample annotation | Allen Ancient DNA Resource (AADR) **v54.1.p1**, released 6 March 2023 — <https://doi.org/10.7910/DVN/FFIDCW> |
30
+ | Linkage disequilibrium | [TopLD](http://topld.genetics.unc.edu/) |
31
+ | AGV list | AADR 1240K sites, lifted to hg38 |
32
+
33
+ **Coordinate systems differ between sources.** The AGV list and all TopLD positions are
34
+ **hg38**. The AADR VCFs these genotypes come from are **hg19**. The same variant therefore has
35
+ two different positions — on chr22 none of the 16,367 AGV positions match their VCF position,
36
+ and the typical offset there is ~396 kb. Variant IDs are the only reliable key between the two,
37
+ which is what `genotypes/chr*/index.parquet` exists for.
38
+
39
+ ## Layout
40
+
41
+ | Path | Rows | Contents |
42
+ |---|---|---|
43
+ | `agvs.parquet` | 1.2M | `chr`, `pos` (hg38), `rsID`, `ref`, `alt` — the AGV list |
44
+ | `rsid_index.parquet` | — | `rsID`, `chr`, `pos`; sorted by `rsID`, for ID lookups |
45
+ | `samples.parquet` | — | `Genetic_ID` in genotype-string order |
46
+ | `annotation.parquet` | — | AADR sample annotation (`Specimen_ID`, `Date_mean`, `Data_source`, `Location`, `Region`) |
47
+ | `ld/chr{N}.parquet` | — | one row per AGV–variant pair, sorted by `LDV_pos` |
48
+ | `genotypes/chr{N}/part-*.parquet` | — | `pos` (hg19), `rsID`, `gt`; sorted by `pos` |
49
+ | `genotypes/chr{N}/index.parquet` | — | `rsID` → `pos`; sorted by `rsID` |
50
+
51
+ ### LD columns
52
+
53
+ `AGV_pos`, `AGV_ref`, `AGV_alt`, `AGV_rsID`, `LDV_pos`, `LDV_ref`, `LDV_alt`, `LDV_rsID`, then
54
+ one typed column per TopLD ancestry group: `r2_{AFR,EAS,EUR,SAS}`, `dprime_{...}` (Float32) and
55
+ `sign_{...}` (Int8: `1` or `-1`). Null means TopLD reports nothing for that group. Pairs below
56
+ r² 0.2 are not present — that is TopLD's own floor.
57
+
58
+ ### Genotype encoding
59
+
60
+ `gt` is one character per sample, in `samples.parquet` order:
61
+
62
+ | Code | Meaning | | Code | Meaning |
63
+ |---|---|---|---|---|
64
+ | `0` | diploid 0/0 | | `a` | haploid 0 |
65
+ | `1` | diploid 0/1 | | `b` | haploid 1 |
66
+ | `2` | diploid 1/1 | | `.` | missing |
67
+
68
+ Phase is not retained. Note that most AADR sources are pseudo-haploid regardless of how the
69
+ genotype is written, so allele counts should be derived from `Data_source`, not from the code
70
+ alone: only `Shotgun.diploid` can call a true heterozygote.
71
+
72
+ ## Citation
73
+
74
+ Cite the AADR website and release version together with Mallick et al. 2024
75
+ (<https://doi.org/10.1038/s41597-024-03031-7>), the papers reporting the individual samples,
76
+ and TopLD for the LD estimates.
77
+
78
+ ## Licence
79
+
80
+ Derived from the AADR and TopLD; see those resources for their terms before reuse.
agvs.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52731fa8d0ed84e35694c5a728311e83899ed46ff94643fc3b1b77d58d7f5fe9
3
+ size 9878343
annotation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2731a6ee0a2dd1c437aa2e075d435ebfa0c979e17f5ad83461209c5ac0e855b4
3
+ size 138019
genotypes/.DS_Store ADDED
Binary file (6.15 kB). View file
 
genotypes/chr1/index.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6ca0b7a6a302c4c735bbbfc12f02cc1964b97fb307288405844e4b8bafe968b
3
+ size 589272
genotypes/chr1/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:170e5fcf7b62bd05dc16255b308d907b3695a30b42805882d745bfef932976a4
3
+ size 26942620
genotypes/chr1/part-0001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04e30537d04d03cb5786cada5f40ea0a1d2ef18065349ddebec1d56e0c4f0c71
3
+ size 26856906
genotypes/chr1/part-0002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:294be5183a74401287cbc699b7212e039bc43dcf113c04cd4289c3a7bbfbbcd9
3
+ size 26386307
genotypes/chr1/part-0003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:461d34cc53b197187d6921ca5ad064c1f26b7f117a4b7ad28ad2719604c21cfb
3
+ size 26308296
genotypes/chr1/part-0004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01e58a85c2ea606f4d2ec47e5de853f0ff40c89d207eb428c1d46fe386e9dcee
3
+ size 25953110
genotypes/chr1/part-0005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5387ad7cc6cfd4ead4334d623493215c62979b4315d2f2ed8fb54704f3d7fb5
3
+ size 25871123
genotypes/chr1/part-0006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c24c3f9d82da77b8c003035848a2f7de17a7eb14f6322fd737d32f5ab13eee38
3
+ size 25704534
genotypes/chr1/part-0007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d957f583673f03f029a9914e12b5a5a83542f424328ee9affe41c115ec8e7e6
3
+ size 25982554
genotypes/chr1/part-0008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84268890a9fbfe0feb0ad7eee6572cfc15eaa0e6a6ab8b145e92fc1148b80425
3
+ size 25761252
genotypes/chr1/part-0009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfc47841b0a1fc60d940157e3e7da236d81882f5d24f75e3084fb67858bb77c4
3
+ size 25971823
genotypes/chr1/part-0010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fccab694addf70133b76b0e511ca6b6eb15b250cd540e222b1fc6bfa23c83370
3
+ size 26186481
genotypes/chr1/part-0011.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84f068b0576c9c81dfeafc82d650b231e36f4a1ca26f1a6c7e04dc9892d966f5
3
+ size 26059946
genotypes/chr1/part-0012.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8510d7100806ef529bce2d95cba435b959ae09406445fe4a61c5851d36289e68
3
+ size 25903859
genotypes/chr1/part-0013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16722d349f92666b6e5a8da172d411d39331d1b6a1885d9f2d3cadc97d34a0a9
3
+ size 25523055
genotypes/chr1/part-0014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:966ea70775ebedbd3c79cb8f98b2dc633290ee80de1215f9635449182c1d2a3b
3
+ size 26466993
genotypes/chr1/part-0015.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e24beb40f3b049960d20905a7cde64c31943172296fcd77ad16acdfe439aa555
3
+ size 26040959
genotypes/chr1/part-0016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efa2bed320a005378cf7141769e2c880edb1a4f40072ba3dd56499fbc67911b1
3
+ size 26334345
genotypes/chr1/part-0017.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3230a60033905a73f536b1888f3de8ffadc39a5b45d6e86c6dd33734bdf74ae
3
+ size 26279370
genotypes/chr1/part-0018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74b5cc14a8c1dd0f467b95e510368666d8c853c9f0fd2d28a6b7889186e7317f
3
+ size 17350717
genotypes/chr10/index.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f007d58986533ff793a590c5bfd1c6bc629bc1d6db0f315e5a9e5532db7efed
3
+ size 375781
genotypes/chr10/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d50b2f77123a64f1cd219cdd77bdb6a58dd540447a30eaf99d4715d40f08a4e9
3
+ size 26542264
genotypes/chr10/part-0001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cce4c60d918f61cb9b0cef96ec4774ba9bca8750206211f3a78f67b57b5a5ea6
3
+ size 26587280
genotypes/chr10/part-0002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d162d1410f6c0fc984825855140c8357e4aecde67bafa099fc77c616e98efc0e
3
+ size 25872761
genotypes/chr10/part-0003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d366a45063e25f275777980be02eef3367ea57d207cf65a853bc0a8322844e32
3
+ size 26100909
genotypes/chr10/part-0004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:370c6ee609ab4bed7523e61454b2529a10e93e1128f8955c14926afcc6217afe
3
+ size 26134452
genotypes/chr10/part-0005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38953a0cbad803148d5df1cd6834044e1633791a870526460b2361dfc54777d1
3
+ size 25782293
genotypes/chr10/part-0006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a480dc8e6ea3fabc4910a007f125c9b53f0640fef9b7e3599ec167dc8fab85f
3
+ size 26489575
genotypes/chr10/part-0007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6363aac35b65ebbed609b9632ad221173578e4150a8a3594aa8e4a203105b61
3
+ size 26181438
genotypes/chr10/part-0008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bff8f2f30714fedf39e14515412bfb92feff2b9dc4af11e82a2cc02c1d1501e
3
+ size 26213153
genotypes/chr10/part-0009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75f73566cdaf86fb9faca643fee30498c96a776173bb539b9d6eb975a6fa43f
3
+ size 25928351
genotypes/chr10/part-0010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87a1a5026351a7ec31090165804249b3958e62fb0b3db472f20a43c3b6e0e239
3
+ size 26271481
genotypes/chr10/part-0011.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b62591e7b23fa9cadd2315b6bc7531a465666106e854025fd6c2732254e401e
3
+ size 26753466
genotypes/chr10/part-0012.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0df7109e9bfab5d040a8f2eb1c5250723f7be1dcefd84880c58d6569ffb3ccf3
3
+ size 6243513
genotypes/chr11/index.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85a115f453be0226e27385059eabd31c9b3db264732ef139fcdcc6f8a628c656
3
+ size 357506
genotypes/chr11/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:118fe33871cd2ab4807f0b89cb7905b5e49b5826033e94499b6064bf9e8b553d
3
+ size 26798552
genotypes/chr11/part-0001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85d95ee016c3d581b6c75fe0dbbc7f9379cdb85b92a404af4e1562e603ac41f
3
+ size 26583873
genotypes/chr11/part-0002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41e96de96ded18877f57e104e845677738a38a7d66328f00624b1b7fd3ba04e4
3
+ size 26008451
genotypes/chr11/part-0003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f56e288dd587b44c6d9786fb0ff305d0651bf75e9eefb4c70bda4829be4c304d
3
+ size 25798470
genotypes/chr11/part-0004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68649a51f04137af396a5bb07bd476f2a30a0bda3fb820547374599253b1991d
3
+ size 26156150
genotypes/chr11/part-0005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ebc90d2e3599646e9b7aa6fd8d160f78137959d29ddf74d682ddf551d8d2c06
3
+ size 26475760
genotypes/chr11/part-0006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5417b2717979dce77e19ead2be654121aae5b1a271d1e1e270bba56db16f0390
3
+ size 25920121
genotypes/chr11/part-0007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16530aed9a6a2559957b7ba11e8cdb7c6dd9234f6fcffbed4eb1c70ce3967c91
3
+ size 25772919
genotypes/chr11/part-0008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e909801bb286f935abd9252143c7c5ab60dc05433d6bc2563c7932bff761ab8
3
+ size 25842766
genotypes/chr11/part-0009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdc1ca54c29d1c3efe62fbceec28b9ad45ecf8c023dc8a9f943b53d9aa24530c
3
+ size 26475357
genotypes/chr11/part-0010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:badade07c923a69287a125f5532bc29519b635cf911de3b3415d0e74a63ad43f
3
+ size 26507935