Crunch 2 – Predicting the effect of held-out double-gene perturbations
Predict the single-cell transcriptomic response to double-gene perturbations.
Evaluation Phases
In Crunch 2, you will have the opportunity to evaluate the predictive performance of your model on a validation dataset.
There will be multiple validation checkpoints, with one occurring every Monday at 6:00 p.m. UTC:
Checkpoint 1 - March 9th
Checkpoint n - every Monday
Last checkpoint - April 6th
Last submission - April 13th
Start of the selection period
End of the selection period - April 17th
You can still submit and run your code multiple times onto the platform.
At a checkpoint, all of your (non scored) predictions will be scored. Predictions will also be scored at the beginning of the selection period.
Overview
In this Crunch, we will explore how well we can predict the single-cell transcriptomic response to double-gene perturbations that were not provided in the training dataset.
Dataset
This dataset contains single-gene and pairwise perturbations targeting a curated set of 18 genes. This includes a set of:
153 heterotypic perturbations (i.e., Gene A+Gene B)
18 homotypic perturbations (i.e., Gene A+Gene A);
and 18 monogenic perturbations (i.e., Gene A+NC).
Each cell receives either 1 guide RNA (resulting in a single genetic perturbation, similar to Crunch #1 or two guide RNAs (leading to heterotypic, homotypic, or monogenic perturbations).
Importantly, the number of guides received by a cell has an effect on its underlying transcriptomic distribution:
two non-targeting guides (NC+NC) may have a different effect from a single non-targeting guide (NC);
similarly, Gene A+NC may have a different effect from Gene A alone.
Although the dataset includes some cells that received three guides, the evaluation in this Crunch focuses exclusively on cells that received a single guide or two guides. For each cell, we provide its single-cell gene expression (RNA-seq) profile measured at day 14 of adipocyte differentiation, annotated with the identity of the perturbed genes, quality control (QC) metrics, and cell metadata.
The training dataset contains a subset of these perturbations, while a distinct set of perturbations is held out for validation and test.
The layout is as follow:
The dataset is provided in AnnData format (.h5ad) as
obesity_challenge_2.h5ad.Normalized gene expression values are stored in
adata.X. Raw counts were normalized to a target sum of 100,000 per cell, followed by a log2(1+x) transformation (standard single-cell RNA-seq normalization; see lecture 2 of the crash course).Raw gene expression counts prior to normalization are stored in
adata.layers['counts']for reproducibility and alternative preprocessing.We provide data for cells that received single-guide, double-guide or three-guide perturbation. The perturbation target information for each cell is provided in
adata.obs['gene']. Control cells, which receive perturbations with minimal transcriptomic effect, are labeled as"NC"(single-guide) or"NC+NC"(double-guide).For perturbed cells, single-guide perturbations are indicated simply by the target gene name (e.g., 'Gene A').
All double-guide perturbations are denoted using a '+' format, which includes heterotypic gene pairs ('Gene A+Gene B'), homotypic pairs ('Gene A+Gene A'), and monogenic double-guide perturbations ('Gene A+NC').
Similarly, three-guide perturbations extend this format by linking three targets separated by a '+' (e.g., 'Gene A+Gene B+Gene C').
Cell state/program enrichment information is provided in
.obs, with columnspre_adipo,adipo,lipo, andotherindicating whether each cell was enriched for pre-adipocyte, adipocyte, or lipogenic programs.otherwas defined as cells that were not enriched for either pre-adipocyte or adipocyte programs. Program enrichment assignments were based on expert-curated canonical signature genes, and the list of signature genes is provided insignature_genes.csv.We provide the cell state proportion for each of the perturbations in a separate file
program_proportion.csv.
During preprocessing, standard single-cell quality control (QC) was applied to remove low-quality cells and cell doublets based on sequencing library complexity, gene detection rate, and mitochondrial gene content.
Definitions of the columns in adata.obs
orig.ident: The original sample ID.nCount_RNA:The number of UMIs detected per cell.nFeature_RNA: The number of genes detected per cell.nCount_guide: The number of sgRNA UMIs detected per cell.nFeature_guide: The number of sgRNAs detected per cell.percent.mt: The fraction of UMIs per cell that map to mitochondrial transcripts.SampleID: The sample ID.Day: The day of sample collection.num_features: The number of guides per cell (for low MOI data, after qc, only the cells with 1 guide are kept).feature_call: The guide assignment of each cell.num_umis: The number of guide umis per cell.gene: The perturbation target gene (or perturbation identity).positive_control: Whether the perturbation is one of the positive controls.
Expected Output
Participants must submit three outputs:
File: prediction.h5ad
prediction.h5adAn AnnData file containing predicted gene expression profiles normalized and log-transformed post-perturbation for 62 gene perturbations indicated in predict_perturbations_2.txt. across 36,601 genes listed in predict_genes_2.txt.
Predictions should be stored in adata.X matrix with the corresponding perturbation identity recorded in adata.obs['gene'].
The set of genes (columns) included in the prediction is defined explicitly by genes_to_predict provided at inference time and the columns of adata.X must follow this order.
Note that the predict_genes_2.txt list may change between validation and test phases, and your model must generate predictions for whichever set of genes is supplied. The maximum number of genes that could be included in genes_to_predict is 36,601 corresponding to the total number of genes in the dataset.
For each gene perturbation, we ask you to predict the gene expression profiles for 100 cells to quantify the distribution of each perturbation prediction. With N = len(predict_genes), the final prediction file is therefore required to have dimensions: [6,200 × N] (cells × genes_to_predict).
File: predict_program_proportion.csv
predict_program_proportion.csvA CSV file reporting the predicted proportion of cells with enriched programs for each gene perturbation listed in predict_perturbations.txt.
The file should contain one row per perturbation with the following columns:
gene: should contain the perturbation name,pre_adipo,adipo,lipo, andother: should specify the predicted proportion of cells in each corresponding state for that perturbation,lipo_adipo: should be the ratio oflipotoadipo(representing the proportion of adipocytes with enriched lipogenic programs).
This file should thus have 62 rows and 6 columns. An example is available in the data/ directory.
File: Method description.md
Method description.mdWe ask you to please write a small document outlining the approaches used to generate both the predictions and the estimated proportions of cells enriched for each program.
This should include sufficient details of the computational models employed and the procedures used to derive cell proportions.
The document should be organized into three sections, represented as titles in a Markdown file:
Method Description: Explain how your method works. (5-10 sentences)
Rationale: Describe the reasoning behind your model. (5-10 sentences)
Data and Resources Used: Specify the datasets and any other resources utilized. (5-10 sentences)
Notes:
A human will validate the content at the end of the competition. Work deemed unsatisfactory may be disqualified.
This file must be provided during submission. If content needs to be changed, you must re-submit with the new version.
The name must be
Method Description.md; case does not matter.Only non-empty and non-comment lines are considered.
Below is an example of how to format the file:
If there's an obvious issue regarding the format, you'll receive an immediate notification.
Notebook users are required to use embedded files.
Scoring
Each metric will be displayed in a different leaderboard. Each will have a different ranking and opportunity for a prize.
The metrics are classed into 2 categories:
Transcriptome-wide metrics that will be computed computed using a subset of genes (i.e., the columns of the predicted matrix) for each perturbation.
Metrics include:
Pearson Delta between predicted and observed perturbation effects relative to perturbed mean.
Maximum mean discrepancy (MMD) between predicted and observed distributions of single-cell profiles.
Public leaderboard / validation (updated weekly): Evaluation uses 1,000 hidden genes.
Private leaderboard / test phase: Both the number and identity of scoring genes will remain unknown.
A Program-level metric that will evaluate whether models capture meaningful biological outcomes, which is:
L1-distance between predicted and observed four cell state proportions for each perturbation (i.e. pre-adipogenic, adipogenic, lipogenic, and other)
The evaluation code is available on GitHub.
Code for local scoring will be available in the quickstarter.
For more details about how the metrics formulas, please consult the Full Specifications.
Submit
To build a valid submission, your model needs to be coded within the infer function, effectively respecting the crunch code submission interface.
We recommend training locally and submitting weights because the dataset is large and cloud resources are limited.
Make sure that the Method description.md file properly documents your model, so that the Eric and Wendy Schmidt Center team can reference your work in their publications.
An example is available in the quickstarter.
FAQ
I missed Crunch 1, can I participate to this one?
Yes.
All crunches are unique. There is no requirement to have participated in the first one in order to participate in the others.
I participated to Crunch 1, can my model be adapted?
Yes.
The model can be adapted with minimal modifications because:
Some file names have changed:
The prefix
_2has been added.They are now matching the specifications more closely:
perturbations_to_score.txtis nowscore_perturbations_2.txt
Some parameters have been renamed to reflect the file names. The old names are still available for convenience.
There are more masks (see the quickstarter):
single_perturb_maskdouble_perturb_maskoverall_perturb_mask
I missed a checkpoint, can I participate to the next one?
Yes.
There are checkpoints every Monday, and missing one will not affect your final ranking. Once your model is ready, submit it!
Why must external resources be published or in the public domain?
While releasing the full model is encouraged, it is not strictly required if the weights are sufficient for reproducibility.
When constraints limit what can be released, we ask that the methods and training procedures be clearly documented. These cases can be reviewed individually to ensure transparency and fairness.
Last updated
Was this helpful?