Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add scdesign3_poisson and rename scdesign3 to scdesign3_nb #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__merge__: ../../api/comp_method.yaml

name: scdesign3
label: scDesign3
name: scdesign3_nb
label: scDesign3 (NB)
summary: A probabilistic model that unifies the generation and inference for single-cell and spatial omics data
description: |
scDesign3 offers a probabilistic model that unifies the generation and inference
Expand Down
File renamed without changes.
51 changes: 51 additions & 0 deletions src/methods/scdesign3_poisson/config.vsh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
__merge__: ../../api/comp_method.yaml

name: scdesign3_poisson
label: scDesign3 (Poisson)
summary: A probabilistic model that unifies the generation and inference for single-cell and spatial omics data
description: |
scDesign3 offers a probabilistic model that unifies the generation and inference
for single-cell and spatial omics data. The model's interpretable parameters and
likelihood enable scDesign3 to generate customized in silico data and unsupervisedly
assess the goodness-of-fit of inferred cell latent structures (for example, clusters,
trajectories and spatial locations).
references:
doi: 10.1038/s41587-023-01772-1
links:
documentation: https://www.bioconductor.org/packages/release/bioc/html/scDesign3.html
repository: https://github.com/SONGDONGYUAN1994/scDesign3

arguments:
- name: "--family"
type: "string"
default: poisson
description: |
A string or a vector of strings of the marginal distribution. Must be one of 'binomial',
'poisson', 'nb', 'zip', 'zinb' or 'gaussian', which represent 'poisson distribution',
'negative binomial distribution', 'zero-inflated poisson distribution',
'zero-inflated negative binomial distribution', and 'gaussian distribution'
respectively.
choices: [binomial, poisson, nb, zip, zinb, gaussian]
- name: "--usebam"
type: boolean
default: false
description: "Use `bam` for acceleration."

resources:
- type: r_script
path: ../scdesign3_nb/script.R

engines:
- type: docker
image: openproblems/base_r:1.0.0
setup:
- type: apt
packages: [r-bioc-singlecellexperiment, git]
- type: r
github: SONGDONGYUAN1994/scDesign3

runners:
- type: executable
- type: nextflow
directives:
label: [hightime, midmem, midcpu]
3 changes: 2 additions & 1 deletion src/workflows/run_benchmark/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ dependencies:
- name: utils/extract_uns_metadata
repository: openproblems
- name: methods/scdesign2
- name: methods/scdesign3
- name: methods/scdesign3_nb
- name: methods/scdesign3_poisson
- name: methods/sparsim
- name: methods/splatter
- name: methods/srtsim
Expand Down
3 changes: 2 additions & 1 deletion src/workflows/run_benchmark/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ workflow auto {
// construct list of methods
methods = [
scdesign2,
scdesign3,
scdesign3_nb,
scdesign3_poisson,
sparsim,
splatter,
srtsim,
Expand Down
Loading