Skip to content

Issue running experiments on Norman #5

Description

@kpetrovicc

Hi,

Hope you are doing well! Thank you for open-sourcing your work on scDFM 😄

I believe there is an issue with pre-processing pipeline, I downloaded data from Zenodo and I ran the following

python src/script/run.py --batch_size=48 --devices='0' --model_type=origin --lr=5e-5 --steps=200000 --data_name=norman --d_model=128 --eta_min=1e-6 --fusion_method=differential_perceiver --infer_top_gene=1000 --n_top_genes=5000 --result_path=./result/additive --perturbation_function=crisper --noise_type=Gaussian --mode=predict_y --gamma=0.5 --split_method=additive --use_mmd_loss --fold=1 --topk=30 --use_negative_edge

I believe there is a data preprocessing pipeline that isn't explained in the readme or missing as ['condition'] column doesn't exist in the Norman h5ad file.

`import scanpy as sc
a = sc.read_h5ad('./data/norman.h5ad')
print('shape:', a.shape)
print('obs columns:', list(a.obs.columns))
print('first 3 rows:')
print(a.obs.head(3))
"
shape: (27658, 2000)
obs columns: ['guide_identity', 'read_count', 'UMI_count', 'coverage', 'gemgroup', 'good_coverage', 'number_of_cells', 'guide_merged', 'gene_program']
first 3 rows:
guide_identity read_count UMI_count ... number_of_cells guide_merged gene_program
cell_barcode ...
AAACCTGAGGCCCTTG-1 KLF1_MAP2K6__KLF1_MAP2K6 1037.0 59.0 ... 1.0 KLF1+MAP2K6 Pro-growth
AAACCTGCACGAAGCA-1 NegCtrl10_NegCtrl0__NegCtrl10_NegCtrl0 958.0 39.0 ... 1.0 ctrl Ctrl
AAACCTGCAGACGTAG-1 CEBPE_RUNX1T1__CEBPE_RUNX1T1 244.0 14.0 ... 1.0 CEBPE+RUNX1T1 Granulocyte/apoptosis

[3 rows x 9 columns]`

Could you please list all preprocessing steps to run the script?

Best,
Katarina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions