Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 35 new columns ({'variant_id', 'strand', 'expression', 'HGNC_ID', 'accession', 'chr', 'mapping_type', 'alt', 'disease_db', 'key', 'disease_name', 'start', 'node_id', 'rcv_accession', 'gene_symbol', 'gene_fullname', 'mapping_value', 'id', 'clinical_assertion_id', 'change', 'OMIM', 'disease_id', 'title', 'assembly', 'variant_name', 'stop', 'trait_type', 'labels', 'mapping_ref', 'type', 'source', 'variant_type', 'ref', 'gene_id', 'cytoband'}) and 3 missing columns ({'source_id', 'target_id', 'relationship_type'}).

This happened while the csv dataset builder was generating data using

hf://datasets/fragilov/clinvar/clinvar_nodes.csv (at revision 011f8837a5368370b2e990f59af3f0dc38079f9b), [/tmp/hf-datasets-cache/medium/datasets/59798216347035-config-parquet-and-info-fragilov-clinvar-d8d1e9bd/hub/datasets--fragilov--clinvar/snapshots/011f8837a5368370b2e990f59af3f0dc38079f9b/clinvar_edges.csv (origin=hf://datasets/fragilov/clinvar@011f8837a5368370b2e990f59af3f0dc38079f9b/clinvar_edges.csv), /tmp/hf-datasets-cache/medium/datasets/59798216347035-config-parquet-and-info-fragilov-clinvar-d8d1e9bd/hub/datasets--fragilov--clinvar/snapshots/011f8837a5368370b2e990f59af3f0dc38079f9b/clinvar_nodes.csv (origin=hf://datasets/fragilov/clinvar@011f8837a5368370b2e990f59af3f0dc38079f9b/clinvar_nodes.csv)]

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              node_id: int64
              labels: string
              ref: string
              variant_id: double
              stop: double
              cytoband: string
              variant_type: string
              start: double
              alt: string
              variant_name: string
              chr: string
              strand: string
              HGNC_ID: string
              gene_fullname: string
              gene_symbol: string
              OMIM: double
              gene_id: double
              expression: string
              change: string
              assembly: string
              accession: string
              type: string
              disease_id: string
              disease_db: string
              disease_name: string
              title: string
              rcv_accession: string
              key: string
              source: string
              id: string
              mapping_type: string
              mapping_ref: string
              clinical_assertion_id: double
              mapping_value: string
              trait_type: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 4338
              to
              {'source_id': Value('int64'), 'target_id': Value('int64'), 'relationship_type': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1892, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 35 new columns ({'variant_id', 'strand', 'expression', 'HGNC_ID', 'accession', 'chr', 'mapping_type', 'alt', 'disease_db', 'key', 'disease_name', 'start', 'node_id', 'rcv_accession', 'gene_symbol', 'gene_fullname', 'mapping_value', 'id', 'clinical_assertion_id', 'change', 'OMIM', 'disease_id', 'title', 'assembly', 'variant_name', 'stop', 'trait_type', 'labels', 'mapping_ref', 'type', 'source', 'variant_type', 'ref', 'gene_id', 'cytoband'}) and 3 missing columns ({'source_id', 'target_id', 'relationship_type'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/fragilov/clinvar/clinvar_nodes.csv (at revision 011f8837a5368370b2e990f59af3f0dc38079f9b), [/tmp/hf-datasets-cache/medium/datasets/59798216347035-config-parquet-and-info-fragilov-clinvar-d8d1e9bd/hub/datasets--fragilov--clinvar/snapshots/011f8837a5368370b2e990f59af3f0dc38079f9b/clinvar_edges.csv (origin=hf://datasets/fragilov/clinvar@011f8837a5368370b2e990f59af3f0dc38079f9b/clinvar_edges.csv), /tmp/hf-datasets-cache/medium/datasets/59798216347035-config-parquet-and-info-fragilov-clinvar-d8d1e9bd/hub/datasets--fragilov--clinvar/snapshots/011f8837a5368370b2e990f59af3f0dc38079f9b/clinvar_nodes.csv (origin=hf://datasets/fragilov/clinvar@011f8837a5368370b2e990f59af3f0dc38079f9b/clinvar_nodes.csv)]
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

source_id
int64
target_id
int64
relationship_type
string
0
1
AFFECTS
0
2
HAS_TRANSCRIPT
0
3
HAS_TRANSCRIPT
0
4
HAS_TRANSCRIPT
0
5
HAS_TRANSCRIPT
0
6
ASSOCIATED_WITH
0
7
HAS_EVIDENCE
0
8
HAS_PHENOTYPE
9
10
AFFECTS
9
11
AFFECTS
9
12
AFFECTS
9
13
HAS_TRANSCRIPT
9
14
HAS_TRANSCRIPT
9
15
HAS_TRANSCRIPT
9
16
HAS_TRANSCRIPT
9
17
HAS_TRANSCRIPT
9
18
ASSOCIATED_WITH
9
19
HAS_EVIDENCE
9
20
HAS_EVIDENCE
9
21
HAS_EVIDENCE
9
22
HAS_EVIDENCE
9
23
HAS_EVIDENCE
9
24
HAS_EVIDENCE
9
25
HAS_EVIDENCE
9
26
HAS_EVIDENCE
9
27
HAS_EVIDENCE
9
28
HAS_EVIDENCE
9
29
HAS_EVIDENCE
9
30
HAS_EVIDENCE
9
31
HAS_EVIDENCE
9
32
HAS_EVIDENCE
9
33
HAS_EVIDENCE
9
34
HAS_EVIDENCE
9
35
HAS_EVIDENCE
9
36
HAS_EVIDENCE
9
37
HAS_EVIDENCE
9
38
HAS_PHENOTYPE
9
39
HAS_PHENOTYPE
9
40
HAS_PHENOTYPE
41
42
AFFECTS
41
43
HAS_TRANSCRIPT
41
44
HAS_TRANSCRIPT
41
45
HAS_TRANSCRIPT
41
46
HAS_TRANSCRIPT
41
47
HAS_TRANSCRIPT
41
48
HAS_TRANSCRIPT
41
49
ASSOCIATED_WITH
41
50
HAS_EVIDENCE
41
51
HAS_PHENOTYPE
52
53
AFFECTS
52
54
HAS_TRANSCRIPT
52
55
HAS_TRANSCRIPT
52
56
ASSOCIATED_WITH
52
57
HAS_EVIDENCE
52
58
HAS_PHENOTYPE
59
60
AFFECTS
59
61
ASSOCIATED_WITH
59
62
HAS_EVIDENCE
59
63
HAS_PHENOTYPE
64
65
AFFECTS
64
66
AFFECTS
64
60
AFFECTS
64
67
AFFECTS
64
68
AFFECTS
64
69
AFFECTS
64
70
HAS_TRANSCRIPT
64
71
HAS_TRANSCRIPT
64
72
ASSOCIATED_WITH
64
73
HAS_EVIDENCE
64
74
HAS_EVIDENCE
64
75
HAS_EVIDENCE
64
76
HAS_EVIDENCE
64
77
HAS_EVIDENCE
64
78
HAS_EVIDENCE
64
79
HAS_EVIDENCE
64
80
HAS_EVIDENCE
64
81
HAS_EVIDENCE
64
82
HAS_EVIDENCE
64
83
HAS_EVIDENCE
64
84
HAS_EVIDENCE
64
85
HAS_EVIDENCE
64
86
HAS_EVIDENCE
64
87
HAS_EVIDENCE
64
88
HAS_EVIDENCE
64
89
HAS_EVIDENCE
64
90
HAS_EVIDENCE
64
91
HAS_PHENOTYPE
92
60
AFFECTS
92
93
AFFECTS
92
70
HAS_TRANSCRIPT
92
71
HAS_TRANSCRIPT
92
72
ASSOCIATED_WITH
92
94
HAS_EVIDENCE
92
74
HAS_EVIDENCE
92
75
HAS_EVIDENCE
92
76
HAS_EVIDENCE
92
77
HAS_EVIDENCE
92
78
HAS_EVIDENCE
92
79
HAS_EVIDENCE
92
80
HAS_EVIDENCE
End of preview.
README.md exists but content is empty.
Downloads last month
11