Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -536,10 +536,12 @@ configs:
|
|
| 536 |
# Hackett 2020
|
| 537 |
|
| 538 |
This Dataset is a parsed version of the data provided by [Calicolabs](https://idea.research.calicolabs.com/data)
|
| 539 |
-
under the heading "Raw & processed gene expression data".
|
|
|
|
| 540 |
|
| 541 |
|
| 542 |
[Hackett SR, Baltz EA, Coram M, Wranik BJ, Kim G, Baker A, Fan M, Hendrickson DG, Berndl M, McIsaac RS. Learning causal networks using inducible transcription factors and transcriptome-wide time series. Mol Syst Biol. 2020 Mar;16(3):e9174. doi: 10.15252/msb.20199174. PMID: 32181581; PMCID: PMC7076914.](https://doi.org/10.15252/msb.20199174)
|
|
|
|
| 543 |
## Usage
|
| 544 |
|
| 545 |
You may access just the Dataset metadata like this:
|
|
@@ -559,44 +561,67 @@ card_dict.get("dataset_info").get("partitioning").get("keys")
|
|
| 559 |
Output:
|
| 560 |
|
| 561 |
```raw
|
| 562 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 563 |
```
|
| 564 |
|
| 565 |
-
You can use this information to pull only the partition you're interested in, eg
|
| 566 |
|
| 567 |
```python
|
| 568 |
-
from
|
|
|
|
|
|
|
| 569 |
|
| 570 |
-
#
|
| 571 |
-
|
| 572 |
-
repo_id="BrentLab/
|
| 573 |
repo_type="dataset",
|
| 574 |
-
|
|
|
|
|
|
|
| 575 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 576 |
```
|
| 577 |
|
| 578 |
<details>
|
| 579 |
<summary><strong>Dataset Details</strong></summary>
|
| 580 |
|
| 581 |
-
The data was extract from
|
| 582 |
-
|
| 583 |
-
I pulled the 'Excel' versions of both the P values (the downloaded file is called files_for_paper_abbr.zip)
|
| 584 |
-
and Binding ratios (Ratio_forpaper_abbr.zip).
|
| 585 |
-
|
| 586 |
-
The following is copied from the [Young's lab explanation of the analysis](http://younglab.wi.mit.edu/regulatory_code/Analysis.html):
|
| 587 |
-
|
| 588 |
-
> The microarrays were scanned using an Axon200B scanner, and the images were analyzed with Genepix 5.0. Columns corresponding to the background
|
| 589 |
-
> subtracted intensities and standard deviation of the background were extracted for further analysis. The intensities for the two channels, representing
|
| 590 |
-
> the immunoprecipitated (test) and unenriched (control) samples, were normalized by using the median of each channel to calculate a normalization factor,
|
| 591 |
-
> normalizing all datasets to a single median intensity. The log ratio of the intensity in the test channel to the control channel was calculated.
|
| 592 |
-
> To account for biases in the immunoprecipitation reaction, these log ratios were normalized for each spot by subtracting the average log ratio of each
|
| 593 |
-
> spot across all arrays. The intensities in the test channel were then adjusted to yield this normalized ratio. Finally, an error model was used to
|
| 594 |
-
> calculate significance of enrichment on each chip and to combine data for replicates to obtain a final average ratio and significance of enrichment
|
| 595 |
-
> for each intergenic region. Each intergenic region was assigned to the genes it is most likely to regulate.
|
| 596 |
-
> We have included new refinements in our analysis relative to that used in Lee et al. Notably, we have excluded artefactual spots from analysis,
|
| 597 |
-
> selected more reliable probes for normalization and assigned quality metrics to individual arrays to identify low quality experiments.
|
| 598 |
|
| 599 |
-
|
|
|
|
| 600 |
|
| 601 |
</details>
|
| 602 |
|
|
@@ -605,16 +630,27 @@ The script used to parse this data from the data provided by the Young lab into
|
|
| 605 |
|
| 606 |
### data/
|
| 607 |
|
| 608 |
-
This is a **Parquet** dataset where the partitions are based on `
|
| 609 |
-
|
|
|
|
| 610 |
|
| 611 |
-
| Field
|
| 612 |
-
|
| 613 |
-
| `
|
| 614 |
-
| `
|
| 615 |
-
| `
|
| 616 |
-
| `
|
| 617 |
-
| `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 618 |
|
| 619 |
</details>
|
| 620 |
|
|
|
|
| 536 |
# Hackett 2020
|
| 537 |
|
| 538 |
This Dataset is a parsed version of the data provided by [Calicolabs](https://idea.research.calicolabs.com/data)
|
| 539 |
+
under the heading "Raw & processed gene expression data". See `scripts/` for more details on the parsing from the data provided
|
| 540 |
+
by Calico to this Dataset.
|
| 541 |
|
| 542 |
|
| 543 |
[Hackett SR, Baltz EA, Coram M, Wranik BJ, Kim G, Baker A, Fan M, Hendrickson DG, Berndl M, McIsaac RS. Learning causal networks using inducible transcription factors and transcriptome-wide time series. Mol Syst Biol. 2020 Mar;16(3):e9174. doi: 10.15252/msb.20199174. PMID: 32181581; PMCID: PMC7076914.](https://doi.org/10.15252/msb.20199174)
|
| 544 |
+
|
| 545 |
## Usage
|
| 546 |
|
| 547 |
You may access just the Dataset metadata like this:
|
|
|
|
| 561 |
Output:
|
| 562 |
|
| 563 |
```raw
|
| 564 |
+
[{'name': 'regulator_symbol',
|
| 565 |
+
'dtype': 'string',
|
| 566 |
+
'levels': ['YER045C',
|
| 567 |
+
'YLR131C',
|
| 568 |
+
'YDR448W',
|
| 569 |
+
'YDR216W',
|
| 570 |
+
'YGL071W',
|
| 571 |
+
'YPL202C',
|
| 572 |
+
...]},
|
| 573 |
+
{'name': 'time',
|
| 574 |
+
'dtype': 'string',
|
| 575 |
+
'levels': [0,
|
| 576 |
+
2,
|
| 577 |
+
5,
|
| 578 |
+
7,
|
| 579 |
+
...]},
|
| 580 |
+
{'name': 'mechanism', 'dtype': 'string', 'levels': ['GEV', 'ZEV']},
|
| 581 |
+
{'name': 'restriction', 'dtype': 'string', 'levels': ['M', 'N', 'P']},
|
| 582 |
+
{'name': 'date',
|
| 583 |
+
'dtype': 'string',
|
| 584 |
+
'levels': [20150101,
|
| 585 |
+
20150616,
|
| 586 |
+
20150903,
|
| 587 |
+
...]},
|
| 588 |
+
{'name': 'strain',
|
| 589 |
+
'dtype': 'string',
|
| 590 |
+
'levels': ['SMY10',
|
| 591 |
+
'SMY104',
|
| 592 |
+
'SMY108',
|
| 593 |
+
'SMY108n',
|
| 594 |
+
...]}]
|
| 595 |
```
|
| 596 |
|
| 597 |
+
You can use this information to pull only the partition(s) you're interested in, eg
|
| 598 |
|
| 599 |
```python
|
| 600 |
+
from pathlib import Path
|
| 601 |
+
from huggingface_hub import snapshot_download
|
| 602 |
+
import pyarrow.dataset as ds
|
| 603 |
|
| 604 |
+
# pull all data for regulator `YAL051W`
|
| 605 |
+
root = snapshot_download(
|
| 606 |
+
repo_id="BrentLab/hackett_2020",
|
| 607 |
repo_type="dataset",
|
| 608 |
+
allow_patterns=[
|
| 609 |
+
"data/regulator_locus_tag=YAL051W/*/*/*/*/*/part-0.parquet"
|
| 610 |
+
],
|
| 611 |
)
|
| 612 |
+
|
| 613 |
+
base = Path(root) / "data" # the dataset root directory
|
| 614 |
+
dataset = ds.dataset(base, format="parquet", partitioning="hive")
|
| 615 |
+
print(dataset.schema)
|
| 616 |
```
|
| 617 |
|
| 618 |
<details>
|
| 619 |
<summary><strong>Dataset Details</strong></summary>
|
| 620 |
|
| 621 |
+
The data was extract from the [Calico website](https://idea.research.calicolabs.com/data).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 622 |
|
| 623 |
+
I pulled the 'Raw & processed gene expression data' versions and did some minimal parsing to
|
| 624 |
+
save the data as a partitioned parquet dataset (see `scripts/`)
|
| 625 |
|
| 626 |
</details>
|
| 627 |
|
|
|
|
| 630 |
|
| 631 |
### data/
|
| 632 |
|
| 633 |
+
This is a **Parquet** dataset where the partitions are based on `regulator_locus_tag`, `time`, `mechanism`, `restriction`, `date`, `strain`.
|
| 634 |
+
This means that each individual parquet file represents a single experiment. Each record provides data on the effect of the induction of
|
| 635 |
+
a transcriptional regulator.
|
| 636 |
|
| 637 |
+
| Field | Description |
|
| 638 |
+
|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 639 |
+
| `regulator_locus_tag` | induced transcriptional regulator |
|
| 640 |
+
| `time` | time point (minutes) |
|
| 641 |
+
| `mechanism` | induction system (GEV or ZEV) |
|
| 642 |
+
| `restriction` | nutrient limitation (M, N or P) |
|
| 643 |
+
| `date` | date performed |
|
| 644 |
+
| `strain` | strain name |
|
| 645 |
+
| `green_median` | Median of green (reference) channel fluorescence |
|
| 646 |
+
| `green_median` | Median of green (reference) channel fluorescence |
|
| 647 |
+
| `red_median` | Median of red (experimental) channel fluorescence |
|
| 648 |
+
| `log2_ratio` | log2(red / green) subtracting value at time zero |
|
| 649 |
+
| `log2_cleaned_ratio` | Non-specific stress response and prominent outliers removed |
|
| 650 |
+
| `log2_noise_model` | Estimated noise standard deviation |
|
| 651 |
+
| `log2_cleaned_ratio_zth2d` | Cleaned timecourses hard-thresholded based on multiple observations (or last observation) passing the noise model |
|
| 652 |
+
| `log2_selected_timecourses` | Cleaned timecourses hard-thresholded based on single observations passing noise model and impulse evaluation of biological feasibility |
|
| 653 |
+
| `log2_shrunken_timecourses` | Selected timecourses with observation-level shrinkage based on local FDR (false discovery rate). **Most users of the data will want to use this column.** |
|
| 654 |
|
| 655 |
</details>
|
| 656 |
|