-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathconfig.vsh.yaml
More file actions
78 lines (76 loc) · 2.45 KB
/
Copy pathconfig.vsh.yaml
File metadata and controls
78 lines (76 loc) · 2.45 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
74
75
76
77
78
name: harmonypy
namespace: "integrate"
description: "Performs Harmony integration based as described in https://github.com/immunogenomics/harmony.
Based on an implementation in python from https://github.com/slowkow/harmonypy"
authors:
- __merge__: /src/authors/dries_schaumont.yaml
roles: [ maintainer ]
- __merge__: /src/authors/robrecht_cannoodt.yaml
roles: [ contributor ]
arguments:
- name: "--input"
alternatives: ["-i"]
type: file
description: Input h5mu file
direction: input
required: true
- name: "--output"
alternatives: ["-o"]
type: file
description: Output h5mu file.
direction: output
required: true
- name: "--modality"
description: |
Which modality from the input MuData file to process.
type: string
default: "rna"
required: false
- name: "--obsm_input"
type: string
default: "X_pca"
required: false
description: "Which .obsm slot to use as a starting PCA embedding."
- name: "--obsm_output"
type: string
default: "X_pca_integrated"
required: false
description: "In which .obsm slot to store the resulting integrated embedding."
- name: "--theta"
description: "Diversity clustering penalty parameter. Can be set as a single value for all batch observations or as multiple values, one for each observation in the batches defined by --obs_covariates. theta=0 does not encourage any diversity. Larger values of theta result in more diverse clusters."
type: double
default: 2
multiple: true
- name: "--obs_covariates"
type: string
description: "The .obs field(s) that define the covariate(s) to regress out."
example: ["batch", "sample"]
required: true
multiple: true
__merge__: [., /src/base/h5_compression_argument.yaml]
resources:
- type: python_script
path: script.py
- path: /src/utils/setup_logger.py
- path: /src/utils/compress_h5mu.py
test_resources:
- type: python_script
path: test.py
- path: /resources_test/pbmc_1k_protein_v3/pbmc_1k_protein_v3_mms.h5mu
engines:
- type: docker
image: python:3.12-slim
setup:
- type: apt
packages:
- procps
- type: python
__merge__: [/src/base/requirements/anndata_mudata.yaml, /src/base/requirements/scanpy.yaml, .]
packages:
- harmonypy~=0.0.6
__merge__: [ /src/base/requirements/python_test_setup.yaml, .]
runners:
- type: executable
- type: nextflow
directives:
label: [highmem, highcpu, highdisk]