Datasets:
Add files using upload-large-folder tool
Browse files- .gitattributes +2 -0
- README.md +85 -0
- _MANIFEST.json +26 -0
- tables/annotation_pfam_current_release_Pfam-A.clans.tsv.gz.jsonl +0 -0
- tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl.parts/_SPLIT_MANIFEST.json +17 -0
- tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl.parts/part-00000.jsonl +3 -0
- tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl.parts/part-00001.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl.parts/part-00001.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl.parts/part-00000.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
pretty_name: Pfam (Current Release)
|
| 4 |
+
size_categories:
|
| 5 |
+
- 100M<n<1B
|
| 6 |
+
task_categories:
|
| 7 |
+
- other
|
| 8 |
+
language:
|
| 9 |
+
- en
|
| 10 |
+
tags:
|
| 11 |
+
- biology
|
| 12 |
+
- proteins
|
| 13 |
+
- domains
|
| 14 |
+
- pfam
|
| 15 |
+
- annotation
|
| 16 |
+
- jsonl
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Pfam (Current Release)
|
| 20 |
+
|
| 21 |
+
Pfam-A clans and regions tables (current release), normalized to newline-delimited JSON with row-level provenance.
|
| 22 |
+
|
| 23 |
+
Processed and uploaded by the [MegaData](https://github.com/) post-download pipeline
|
| 24 |
+
(internal repo). Original source: <http://ftp.ebi.ac.uk/pub/databases/Pfam/current_release/>.
|
| 25 |
+
|
| 26 |
+
## Statistics
|
| 27 |
+
|
| 28 |
+
| | |
|
| 29 |
+
|---|---|
|
| 30 |
+
| Table files | 2 |
|
| 31 |
+
| Total rows | 128,220,423 |
|
| 32 |
+
| Total bytes | 38.52 GiB (41,355,825,506) |
|
| 33 |
+
|
| 34 |
+
## Tables
|
| 35 |
+
|
| 36 |
+
| Table | Rows | Bytes |
|
| 37 |
+
|---|---:|---:|
|
| 38 |
+
| `annotation_pfam_current_release_Pfam-A.clans.tsv.gz.jsonl` | 27,480 | 7.00 MiB |
|
| 39 |
+
| `annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl` | 128,192,943 | 38.51 GiB |
|
| 40 |
+
|
| 41 |
+
## Layout
|
| 42 |
+
|
| 43 |
+
```
|
| 44 |
+
.
|
| 45 |
+
├── _MANIFEST.json # aggregate manifest (per-table counts)
|
| 46 |
+
└── tables/<source_slug>.jsonl # normalized rows (one JSON object per line)
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
Each line in a `tables/*.jsonl` file is a JSON object with at least
|
| 50 |
+
`dataset_id`, `row` (the raw upstream row), `row_index`, and `source_file`
|
| 51 |
+
fields, so every row carries its upstream provenance.
|
| 52 |
+
|
| 53 |
+
## Loading
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
hf download LiteFold/Pfam --repo-type dataset --local-dir ./pfam
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
Programmatic streaming:
|
| 60 |
+
|
| 61 |
+
```python
|
| 62 |
+
import json
|
| 63 |
+
from pathlib import Path
|
| 64 |
+
from huggingface_hub import snapshot_download
|
| 65 |
+
|
| 66 |
+
local = snapshot_download(repo_id="LiteFold/Pfam", repo_type="dataset")
|
| 67 |
+
for jsonl in sorted(Path(local, "tables").glob("*.jsonl")):
|
| 68 |
+
with jsonl.open() as f:
|
| 69 |
+
for line in f:
|
| 70 |
+
row = json.loads(line)
|
| 71 |
+
... # row["row"] is the upstream record
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
## License
|
| 75 |
+
|
| 76 |
+
CC0 1.0 (EMBL-EBI Pfam).
|
| 77 |
+
|
| 78 |
+
## Citation
|
| 79 |
+
|
| 80 |
+
> Mistry J, et al. Pfam: The protein families database in 2021. Nucleic Acids Research, 49(D1):D412-D419, 2021.
|
| 81 |
+
|
| 82 |
+
## Provenance
|
| 83 |
+
|
| 84 |
+
Built from the local manifest entry `pfam` of `manifests/atlas_download_plan.json`.
|
| 85 |
+
Pipeline source: `megadata-post normalize --dataset pfam --tables-only`.
|
_MANIFEST.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"category": "domain",
|
| 3 |
+
"dataset_id": "pfam",
|
| 4 |
+
"format": "jsonl table rows with provenance",
|
| 5 |
+
"tables": [
|
| 6 |
+
{
|
| 7 |
+
"bytes": 506080,
|
| 8 |
+
"category": "domain",
|
| 9 |
+
"dataset_id": "pfam",
|
| 10 |
+
"output_file": "data/processed/domain/pfam/tables/annotation_pfam_current_release_Pfam-A.clans.tsv.gz.jsonl",
|
| 11 |
+
"rows": 27480,
|
| 12 |
+
"source_file": "annotation/pfam/current_release/Pfam-A.clans.tsv.gz",
|
| 13 |
+
"status": "ok"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"bytes": 5006227356,
|
| 17 |
+
"category": "domain",
|
| 18 |
+
"dataset_id": "pfam",
|
| 19 |
+
"output_file": "data/processed/domain/pfam/tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl",
|
| 20 |
+
"rows": 128192943,
|
| 21 |
+
"source_file": "annotation/pfam/current_release/Pfam-A.regions.tsv.gz",
|
| 22 |
+
"status": "ok"
|
| 23 |
+
}
|
| 24 |
+
],
|
| 25 |
+
"total_rows": 128220423
|
| 26 |
+
}
|
tables/annotation_pfam_current_release_Pfam-A.clans.tsv.gz.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl.parts/_SPLIT_MANIFEST.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_bytes": 40000000000,
|
| 3 |
+
"original_mtime_ns": 1778132060141236010,
|
| 4 |
+
"original_name": "annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl",
|
| 5 |
+
"original_size": 41348483157,
|
| 6 |
+
"parts": [
|
| 7 |
+
{
|
| 8 |
+
"name": "part-00000.jsonl",
|
| 9 |
+
"size": 39999999789
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"name": "part-00001.jsonl",
|
| 13 |
+
"size": 1348483368
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"tool": "gnu-split --line-bytes"
|
| 17 |
+
}
|
tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl.parts/part-00000.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54d461d31f4186eff260f0af8dddce7e6b8e12768da5a1dbc83e92056c43d19d
|
| 3 |
+
size 39999999789
|
tables/annotation_pfam_current_release_Pfam-A.regions.tsv.gz.jsonl.parts/part-00001.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58f4dc143ddea2088466d6b89fb93a6a4f48d03623febe9924a93ac8f83d8865
|
| 3 |
+
size 1348483368
|