Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- dna
|
| 5 |
+
- variant-effect-prediction
|
| 6 |
+
- biology
|
| 7 |
+
- genomics
|
| 8 |
+
---
|
| 9 |
+
# COSMIC variants
|
| 10 |
+
For more information check out our [paper](https://doi.org/10.1101/2023.10.10.561776) and [repository](https://github.com/songlab-cal/gpn).
|
| 11 |
+
|
| 12 |
+
## Usage
|
| 13 |
+
* Pandas
|
| 14 |
+
```python
|
| 15 |
+
import pandas as pd
|
| 16 |
+
df = pd.read_parquet("hf://datasets/songlab/cosmic/test.parquet")
|
| 17 |
+
```
|
| 18 |
+
* Polars
|
| 19 |
+
```python
|
| 20 |
+
import polars as pl
|
| 21 |
+
df = pl.read_parquet("https://huggingface.co/datasets/songlab/cosmic/resolve/main/test.parquet")
|
| 22 |
+
```
|
| 23 |
+
* Datasets
|
| 24 |
+
```python
|
| 25 |
+
from datasets import load_dataset
|
| 26 |
+
dataset = load_dataset("songlab/cosmic", split="test")
|
| 27 |
+
```
|