Skip to content

Commit 97872be

Browse files
committed
2 parents a3c94c9 + 6898c4f commit 97872be

File tree

7 files changed

+60
-6
lines changed

7 files changed

+60
-6
lines changed

src/methods/scdesign3/config.vsh.yaml renamed to src/methods/scdesign3_nb/config.vsh.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__merge__: ../../api/comp_method.yaml
22

3-
name: scdesign3
4-
label: scDesign3
3+
name: scdesign3_nb
4+
label: scDesign3 (NB)
55
summary: A probabilistic model that unifies the generation and inference for single-cell and spatial omics data
66
description: |
77
scDesign3 offers a probabilistic model that unifies the generation and inference
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
__merge__: ../../api/comp_method.yaml
2+
3+
name: scdesign3_poisson
4+
label: scDesign3 (Poisson)
5+
summary: A probabilistic model that unifies the generation and inference for single-cell and spatial omics data
6+
description: |
7+
scDesign3 offers a probabilistic model that unifies the generation and inference
8+
for single-cell and spatial omics data. The model's interpretable parameters and
9+
likelihood enable scDesign3 to generate customized in silico data and unsupervisedly
10+
assess the goodness-of-fit of inferred cell latent structures (for example, clusters,
11+
trajectories and spatial locations).
12+
references:
13+
doi: 10.1038/s41587-023-01772-1
14+
links:
15+
documentation: https://www.bioconductor.org/packages/release/bioc/html/scDesign3.html
16+
repository: https://github.com/SONGDONGYUAN1994/scDesign3
17+
18+
arguments:
19+
- name: "--family"
20+
type: "string"
21+
default: poisson
22+
description: |
23+
A string or a vector of strings of the marginal distribution. Must be one of 'binomial',
24+
'poisson', 'nb', 'zip', 'zinb' or 'gaussian', which represent 'poisson distribution',
25+
'negative binomial distribution', 'zero-inflated poisson distribution',
26+
'zero-inflated negative binomial distribution', and 'gaussian distribution'
27+
respectively.
28+
choices: [binomial, poisson, nb, zip, zinb, gaussian]
29+
- name: "--usebam"
30+
type: boolean
31+
default: false
32+
description: "Use `bam` for acceleration."
33+
34+
resources:
35+
- type: r_script
36+
path: ../scdesign3_nb/script.R
37+
38+
engines:
39+
- type: docker
40+
image: openproblems/base_r:1.0.0
41+
setup:
42+
- type: apt
43+
packages: [r-bioc-singlecellexperiment, git]
44+
- type: r
45+
github: SONGDONGYUAN1994/scDesign3
46+
47+
runners:
48+
- type: executable
49+
- type: nextflow
50+
directives:
51+
label: [hightime, midmem, midcpu]

src/metrics/ks_statistic_spatial/config.vsh.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ engines:
8181
packages:
8282
- numpy
8383
- scikit-learn
84-
- squidpy
84+
- squidpy
8585
- scipy
86+
- dask==2024.12.1
8687

8788
runners:
8889
- type: executable

src/workflows/run_benchmark/config.vsh.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ dependencies:
4949
- name: utils/extract_uns_metadata
5050
repository: openproblems
5151
- name: methods/scdesign2
52-
- name: methods/scdesign3
52+
- name: methods/scdesign3_nb
53+
- name: methods/scdesign3_poisson
5354
- name: methods/sparsim
5455
- name: methods/splatter
5556
- name: methods/srtsim

src/workflows/run_benchmark/main.nf

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ workflow auto {
88
// construct list of methods
99
methods = [
1010
scdesign2,
11-
scdesign3,
11+
scdesign3_nb,
12+
scdesign3_poisson,
1213
sparsim,
1314
splatter,
1415
srtsim,

0 commit comments

Comments
 (0)