forked from openproblems-bio/task_predict_modality
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.vsh.yaml
More file actions
73 lines (73 loc) · 2.21 KB
/
config.vsh.yaml
File metadata and controls
73 lines (73 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
__merge__: ../../api/comp_method.yaml
name: cellmapper_linear
label: CellMapper+PCA/CCA
summary: "Modality prediction in a PCA/CCA space using CellMapper"
description: |
CellMapper is a general framework for k-NN based mapping tasks in single-cell and spatial genomics.
This variant uses CellMapper to project modalities from a reference dataset (train) onto a query dataset (test) in a PCA/CCA latent space.
references:
doi:
- 10.5281/zenodo.15683594
links:
documentation: https://cellmapper.readthedocs.io/en/latest/
repository: https://github.com/quadbio/cellmapper
info:
preferred_normalization: log_cp10k
variants:
cellmapper-pca:
fallback_representation: joint_pca
mask_var: None
kernel_method: hnoca
cellmapper-pca-hvg:
fallback_representation: joint_pca
mask_var: "hvg"
kernel_method: hnoca
cellmapper-pca-hvg-gauss:
fallback_representation: joint_pca
mask_var: "hvg"
kernel_method: gauss
cellmapper-cca:
fallback_representation: fast_cca
mask_var: None
kernel_method: hnoca
cellmapper-cca-hvg:
fallback_representation: fast_cca
mask_var: "hvg"
kernel_method: hnoca
cellmapper-cca-hvg-gauss:
fallback_representation: fast_cca
mask_var: "hvg"
kernel_method: gauss
arguments:
- name: "--fallback_representation"
type: "string"
choices: ["joint_pca", "fast_cca"]
default: "fast_cca"
description: Fallback representation to use for k-NN mapping (computed if use_rep is None).
- name: "--mask_var"
type: "string"
description: Variable to mask for fallback representation.
- name: "--kernel_method"
type: "string"
choices: ["hnoca", "gauss"]
default: "hnoca"
description: Kernel function to compute k-NN edge weights.
- name: "--n_neighbors"
type: "integer"
default: 30
description: Number of neighbors to consider for k-NN graph construction.
resources:
- type: python_script
path: script.py
engines:
- type: docker
image: openproblems/base_python:1
setup:
- type: python
packages:
- cellmapper>=0.2.2
runners:
- type: executable
- type: nextflow
directives:
label: [midtime,midmem,midcpu]