Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
dataset_id: string
row: struct<Antibody: list<item: string>, Antibody RRID: struct<HPA004109: null, HPA034961: null, HPA0556 (... 55842 chars omitted)
  child 0, Antibody: list<item: string>
      child 0, item: string
  child 1, Antibody RRID: struct<HPA004109: null, HPA034961: null, HPA055634: null, HPA051818: null, HPA005624: null, HPA07238 (... 39142 chars omitted)
      child 0, HPA004109: null
      child 1, HPA034961: null
      child 2, HPA055634: null
      child 3, HPA051818: null
      child 4, HPA005624: null
      child 5, HPA072383: null
      child 6, HPA023778: null
      child 7, HPA024451: null
      child 8, HPA002024: null
      child 9, CAB016385: null
      child 10, CAB016769: null
      child 11, HPA038922: null
      child 12, HPA049176: null
      child 13, HPA053326: null
      child 14, HPA031659: null
      child 15, HPA031661: null
      child 16, CAB009569: null
      child 17, HPA036359: null
      child 18, HPA036360: null
      child 19, CAB009250: null
      child 20, HPA050779: null
      child 21, HPA024301: null
      child 22, HPA039978: null
      child 23, HPA044431: null
      child 24, HPA061463: null
      child 25, HPA016594: null
      child 26, HPA035008: null
      child 27, CAB001951: null
      child 28, HPA021939: null
      child 29, HPA079652: null
      child 30, HPA019358: null
      child 31, HPA021780: null
      child 32, HPA041325: null
      child 33, HPA043508: null
      child 34, HPA049606: null
      child 35, HP
...
ry gland: string
      child 33, stomach 1: string
      child 34, urinary bladder: string
      child 35, thyroid gland: string
      child 36, prostate: string
  child 93, RNA tissue specificity: string
  child 94, RNA tissue specificity score: string
  child 95, Reliability (IF): string
  child 96, Reliability (IH): string
  child 97, Reliability (Mouse Brain): string
  child 98, Secretome function: string
  child 99, Secretome location: string
  child 100, Single cell expression cluster: string
  child 101, Subcellular additional location: list<item: string>
      child 0, item: string
  child 102, Subcellular location: list<item: string>
      child 0, item: string
  child 103, Subcellular main location: list<item: string>
      child 0, item: string
  child 104, Tissue expression cluster: string
  child 105, UniProt evidence: string
  child 106, Uniprot: list<item: string>
      child 0, item: string
row_index: int64
source_file: string
format: string
tables: list<item: struct<bytes: int64, category: string, dataset_id: string, output_file: string, rows: int (... 41 chars omitted)
  child 0, item: struct<bytes: int64, category: string, dataset_id: string, output_file: string, rows: int64, source_ (... 29 chars omitted)
      child 0, bytes: int64
      child 1, category: string
      child 2, dataset_id: string
      child 3, output_file: string
      child 4, rows: int64
      child 5, source_file: string
      child 6, status: string
category: string
total_rows: int64
to
{'category': Value('string'), 'dataset_id': Value('string'), 'format': Value('string'), 'tables': List({'bytes': Value('int64'), 'category': Value('string'), 'dataset_id': Value('string'), 'output_file': Value('string'), 'rows': Value('int64'), 'source_file': Value('string'), 'status': Value('string')}), 'total_rows': Value('int64')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 299, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              dataset_id: string
              row: struct<Antibody: list<item: string>, Antibody RRID: struct<HPA004109: null, HPA034961: null, HPA0556 (... 55842 chars omitted)
                child 0, Antibody: list<item: string>
                    child 0, item: string
                child 1, Antibody RRID: struct<HPA004109: null, HPA034961: null, HPA055634: null, HPA051818: null, HPA005624: null, HPA07238 (... 39142 chars omitted)
                    child 0, HPA004109: null
                    child 1, HPA034961: null
                    child 2, HPA055634: null
                    child 3, HPA051818: null
                    child 4, HPA005624: null
                    child 5, HPA072383: null
                    child 6, HPA023778: null
                    child 7, HPA024451: null
                    child 8, HPA002024: null
                    child 9, CAB016385: null
                    child 10, CAB016769: null
                    child 11, HPA038922: null
                    child 12, HPA049176: null
                    child 13, HPA053326: null
                    child 14, HPA031659: null
                    child 15, HPA031661: null
                    child 16, CAB009569: null
                    child 17, HPA036359: null
                    child 18, HPA036360: null
                    child 19, CAB009250: null
                    child 20, HPA050779: null
                    child 21, HPA024301: null
                    child 22, HPA039978: null
                    child 23, HPA044431: null
                    child 24, HPA061463: null
                    child 25, HPA016594: null
                    child 26, HPA035008: null
                    child 27, CAB001951: null
                    child 28, HPA021939: null
                    child 29, HPA079652: null
                    child 30, HPA019358: null
                    child 31, HPA021780: null
                    child 32, HPA041325: null
                    child 33, HPA043508: null
                    child 34, HPA049606: null
                    child 35, HP
              ...
              ry gland: string
                    child 33, stomach 1: string
                    child 34, urinary bladder: string
                    child 35, thyroid gland: string
                    child 36, prostate: string
                child 93, RNA tissue specificity: string
                child 94, RNA tissue specificity score: string
                child 95, Reliability (IF): string
                child 96, Reliability (IH): string
                child 97, Reliability (Mouse Brain): string
                child 98, Secretome function: string
                child 99, Secretome location: string
                child 100, Single cell expression cluster: string
                child 101, Subcellular additional location: list<item: string>
                    child 0, item: string
                child 102, Subcellular location: list<item: string>
                    child 0, item: string
                child 103, Subcellular main location: list<item: string>
                    child 0, item: string
                child 104, Tissue expression cluster: string
                child 105, UniProt evidence: string
                child 106, Uniprot: list<item: string>
                    child 0, item: string
              row_index: int64
              source_file: string
              format: string
              tables: list<item: struct<bytes: int64, category: string, dataset_id: string, output_file: string, rows: int (... 41 chars omitted)
                child 0, item: struct<bytes: int64, category: string, dataset_id: string, output_file: string, rows: int64, source_ (... 29 chars omitted)
                    child 0, bytes: int64
                    child 1, category: string
                    child 2, dataset_id: string
                    child 3, output_file: string
                    child 4, rows: int64
                    child 5, source_file: string
                    child 6, status: string
              category: string
              total_rows: int64
              to
              {'category': Value('string'), 'dataset_id': Value('string'), 'format': Value('string'), 'tables': List({'bytes': Value('int64'), 'category': Value('string'), 'dataset_id': Value('string'), 'output_file': Value('string'), 'rows': Value('int64'), 'source_file': Value('string'), 'status': Value('string')}), 'total_rows': Value('int64')}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Human Protein Atlas

Per-protein annotations from the Human Protein Atlas (proteinatlas.json), normalized to newline-delimited JSON with row-level provenance.

Processed and uploaded by the MegaData post-download pipeline (internal repo). Original source: https://www.proteinatlas.org/about/download.

Statistics

Table files 1
Total rows 20,162
Total bytes 148.67 MiB (155,892,614)

Tables

Table Rows Bytes
annotation_human_protein_atlas_proteinatlas.json.gz.jsonl 20,162 148.67 MiB

Layout

.
├── _MANIFEST.json                 # aggregate manifest (per-table counts)
└── tables/<source_slug>.jsonl    # normalized rows (one JSON object per line)

Each line in a tables/*.jsonl file is a JSON object with at least dataset_id, row (the raw upstream row), row_index, and source_file fields, so every row carries its upstream provenance.

Loading

hf download LiteFold/HumanProteinAtlas --repo-type dataset --local-dir ./human_protein_atlas

Programmatic streaming:

import json
from pathlib import Path
from huggingface_hub import snapshot_download

local = snapshot_download(repo_id="LiteFold/HumanProteinAtlas", repo_type="dataset")
for jsonl in sorted(Path(local, "tables").glob("*.jsonl")):
    with jsonl.open() as f:
        for line in f:
            row = json.loads(line)
            ...  # row["row"] is the upstream record

License

CC BY-SA 4.0 (Human Protein Atlas).

Citation

Uhlen M, et al. Tissue-based map of the human proteome. Science, 347(6220):1260419, 2015.

Provenance

Built from the local manifest entry human_protein_atlas of manifests/atlas_download_plan.json. Pipeline source: megadata-post normalize --dataset human_protein_atlas --tables-only.

Downloads last month
16