Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,136 @@
|
|
1 |
---
|
2 |
license: cc-by-nc-sa-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-nc-sa-4.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
tags:
|
6 |
+
- biology
|
7 |
+
- genomics
|
8 |
+
pretty_name: Genomics Long Range Benchmark
|
9 |
---
|
10 |
+
|
11 |
+
## Summary
|
12 |
+
The motivation of the genomics long range benchmark (LRB) is to compile a set of biologically relevant genomic tasks requiring long-range dependencies which will act as a robust evaluation tool for genomic language models.
|
13 |
+
While serving as a strong basis of evaluation, the benchmark must also be efficient and user-friendly.
|
14 |
+
To achieve this we strike a balance between task complexity and computational cost through strategic decisions, such as down-sampling or combining datasets.
|
15 |
+
|
16 |
+
## Dataset Tasks
|
17 |
+
The Genomics LRB is a collection of tasks which can be loaded by passing in the corresponding `task_name` into the `load_dataset` function. All of the following datasets
|
18 |
+
allow the user to specify an arbitrarily long sequence length, giving more context to the task, by passing `sequence_length` kwarg to `load_dataset`. Additional task specific kwargs, if applicable,
|
19 |
+
are mentioend in the sections below.<br>
|
20 |
+
*Note that as you increase the context length to very large numbers you may start to reduce the size of the dataset since a large context size may
|
21 |
+
cause indexing outside the boundaries of chromosomes.
|
22 |
+
|
23 |
+
| Task | `task_name` | Sample Output | # Train Seqs | # Test Seqs |
|
24 |
+
| --------- | ---------- | ------ | ------------ | ----------- |
|
25 |
+
| CAGE Prediction | `cage_prediction`| {sequence, labels, chromosome} | 36086 | 1922 |
|
26 |
+
| Bulk RNA Expression | `bulk_rna_expression` | {sequence, labels, chromosome} | 22827 | 990 |
|
27 |
+
| Variant Effect Gene Expression | `variant_effect_gene_expression` | {ref sequence, alt sequence, label, tissue, chromosome, distance to nearest TSS} | 88717 | 8846 |
|
28 |
+
|
29 |
+
|
30 |
+
### 1. CAGE Prediction
|
31 |
+
Cap Analysis Gene Expression(CAGE) is a biological assay used to measure the level of mRNA production rather than steady state values, taking into account both production and
|
32 |
+
degradation. Being able to accurately predict mRNA levels as measured by CAGE is essential for deciphering tissue-specific expression patterns, transcriptional networks, and
|
33 |
+
identifying differentially expressed genes with functional significance.
|
34 |
+
|
35 |
+
#### Source
|
36 |
+
Original CAGE data comes from FANTOM5. We used processed labeled data obtained from the [Basenji paper](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5932613/) which also used to train Enformer and is located [here](https://console.cloud.google.com/storage/browser/basenji_barnyard/data/human?pageState=(%22StorageObjectListTable%22:(%22f%22:%22%255B%255D%22))&prefix=&forceOnObjectsSortingFiltering=false).
|
37 |
+
Sequence data originates from the GRCh38 genome assembly.
|
38 |
+
|
39 |
+
#### Data Processing
|
40 |
+
The original dataset from the Basenji paper includes labels for 638 CAGE total tracks over 896 bins (each bin corresponding to 128 base pairs)
|
41 |
+
totaling over ~70 GB. In the interest of dataset size and user friendliness, only a subset of the labels are selected.
|
42 |
+
From the 638 CAGE tracks, 50 of these tracks are selected with the following criteria:
|
43 |
+
|
44 |
+
1. Only select one cell line
|
45 |
+
2. Only keep mock treated and remove other treatments
|
46 |
+
3. Only select one donor
|
47 |
+
|
48 |
+
The [896 bins, 50 tracks] labels total in at ~7 GB. A description of the 50 included CAGE tracks can be found here `cage_prediction/label_mapping.csv`.
|
49 |
+
|
50 |
+
#### Task Structure
|
51 |
+
|
52 |
+
Type: Multi-variable regression<br>
|
53 |
+
Because this task involves predicting expression levels for 128bp bins and there are 896 total bins in the dataset, there are in essence labels for 896 * 128 = 114,688 basepair sequences. If
|
54 |
+
you request a sequence length smaller than 114,688 bps than the labels will be subsetted.
|
55 |
+
|
56 |
+
Task Args:<br>
|
57 |
+
`sequence_length`: an interger type, the desired final sequence length, *must be a multiple of 128 given the binned nature of labels<br>
|
58 |
+
|
59 |
+
Input: a genomic nucleotide sequence centered around the labeled region of the gene transcription start site<br>
|
60 |
+
Output: a variable length vector depending on the requested sequence length [requested_sequence_length / 128, 50]
|
61 |
+
|
62 |
+
#### Splits
|
63 |
+
Train/Test splits were maintained from Basenji and Enformer where randomly sampling was used to generate the splits. Note that for this dataset a validation set is also returned. In practice we merged the validation
|
64 |
+
set with the train set and use cross validation to select a new train and validation set from this combined set.
|
65 |
+
|
66 |
+
#### Metrics
|
67 |
+
Mean Pearson correlation across tracks - compute Pearson correlation for a track using all positions for all genes in the test set, then mean over all tracks <br>
|
68 |
+
Mean Pearson correlation across genes - compute Pearson correlation for a gene using all positions and all tracks, then mean over all genes in the test set <br>
|
69 |
+
R<sup>2</sup>
|
70 |
+
|
71 |
+
|
72 |
+
---
|
73 |
+
|
74 |
+
### 2. Bulk RNA Expression
|
75 |
+
In comparison to CAGE, bulk RNA sequencing assays measure the steady state level (both transription and degradation) of mRNA in a population of cells.
|
76 |
+
|
77 |
+
#### Source
|
78 |
+
Original data comes from GTEx. We use processed data files from the [ExPecto paper](https://www.nature.com/articles/s41588-018-0160-6) found
|
79 |
+
[here](https://github.com/FunctionLab/ExPecto/tree/master/resources). Sequence data originates from the GRCh37/hg19 genome assembly.
|
80 |
+
|
81 |
+
#### Data Processing
|
82 |
+
The continuous labels were log(1+x) transformed and standardized. A list of names of tissues corresponding to the labels can be found here: `bulk_rna_expression/label_mapping.csv`.
|
83 |
+
|
84 |
+
#### Task Structure
|
85 |
+
|
86 |
+
Type: Multi-variable regression<br>
|
87 |
+
|
88 |
+
Task Args:<br>
|
89 |
+
`sequence_length`: an interger type, the desired final sequence length<br>
|
90 |
+
|
91 |
+
Input: a genomic nucleotide sequence centered around the CAGE representative trancription start site<br>
|
92 |
+
Output: a 218 length vector of continuous values corresponding to the bulk RNA expression levels in 218 different tissue types
|
93 |
+
|
94 |
+
#### Splits
|
95 |
+
Train: chromosomes 1-7,9-22,X,Y<br>
|
96 |
+
Test: chromosome 8
|
97 |
+
|
98 |
+
#### Metrics
|
99 |
+
Mean Spearman correlation across tissues <br>
|
100 |
+
Mean Spearman correlation across genes <br>
|
101 |
+
R<sup>2</sup>
|
102 |
+
|
103 |
+
---
|
104 |
+
|
105 |
+
### 3. Variant Effect Gene Expression
|
106 |
+
In genomics, a key objective is to predict how genetic variants affect gene expression in specific cell types.
|
107 |
+
|
108 |
+
#### Source
|
109 |
+
Original data comes from GTEx. However, we used processed data files from the [Enformer paper](https://www.nature.com/articles/s41592-021-01252-x) located [here](https://console.cloud.google.com/storage/browser/dm-enformer/data/gtex_fine/vcf?pageState=(%22StorageObjectListTable%22:(%22f%22:%22%255B%255D%22))&prefix=&forceOnObjectsSortingFiltering=false).
|
110 |
+
Sequence data originates from the GRCh38 genome assembly.
|
111 |
+
|
112 |
+
#### Data Processing
|
113 |
+
In Enformer the datasets were partitioned in 48 different sets based on the tissue types. In our framing of the task we combine all samples across all tissues into one set
|
114 |
+
and provide the tissue type along with each sample.
|
115 |
+
|
116 |
+
As data files were used from Enformer, the labels were constructed according to their methodology - variants were labeled as 1 if their posterior inclusion probability was greater than 0.9 as
|
117 |
+
assigned by the population-based fine-mapping tool SuSiE, while a matched set of negative variants was built with posterior inclusion probabilities of less than .01.
|
118 |
+
|
119 |
+
#### Task Structure
|
120 |
+
|
121 |
+
Type: Binary classification<br>
|
122 |
+
|
123 |
+
Task Args:<br>
|
124 |
+
`sequence_length`: an interger type, the desired final sequence length<br>
|
125 |
+
|
126 |
+
Input: a genomic nucleotide sequence centered on the SNP with the reference allele at the SNP location, a genomic nucleotide sequence centered on the SNP with the alternative allele at the SNP location, and tissue type<br>
|
127 |
+
Output: a binary value refering to whether the variant has an effect on gene expression
|
128 |
+
|
129 |
+
#### Splits
|
130 |
+
Train: chromosomes 1-8, 11-22, X, Y<br>
|
131 |
+
Test: chromosomes 9,10
|
132 |
+
|
133 |
+
#### Metrics
|
134 |
+
Accuracy<br>
|
135 |
+
AUROC
|
136 |
+
AUPRC
|