Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/data_processors/process_dataset/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ def subsample_adata_group_balanced(adata, group_key, n_samples, seed=0):
if adata.n_obs > N_MAX_SC:
adata = adata[subsample_adata_group_balanced(adata, "cell_type", N_MAX_SC, seed=0)]

# Make the single-cell data gene names unique
adata.var_names_make_unique()

# Subset single-cell and spatial data to shared genes
sp_genes = sdata['transcripts']['feature_name'].unique().compute().tolist()
sc_genes = adata.var["feature_name"].unique().tolist()
Expand Down
2 changes: 1 addition & 1 deletion src/methods_cell_type_annotation/ssam/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ runners:
- type: executable
- type: nextflow
directives:
label: [ hightime, midcpu, midmem ]
label: [ veryhightime, midcpu, midmem ]
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ runners:
- type: executable
- type: nextflow
directives:
label: [ midtime, lowcpu, lowmem ]
label: [ midtime, lowcpu, midmem ]
2 changes: 1 addition & 1 deletion src/metrics/similarity/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ runners:
# Allows turning the component into a Nextflow module / pipeline.
- type: nextflow
directives:
label: [midtime, highmem, midcpu]
label: [midtime, veryhighmem, midcpu]