Repository navigation
Expand file tree
/
Copy pathconfig_example.toml
More file actions
113 lines (97 loc) · 4.37 KB
/
Copy pathconfig_example.toml
File metadata and controls
113 lines (97 loc) · 4.37 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Instructions:
# Change the parameters according to your needs.
# int means an integer number (1, 2, 3, ...).
# float means a float point number (1.23, 4.56, 7.89, ...)
# string or character means a word like Inf.
# Numbers can be used as strings, but the computer will not automatically
# convert them. Therefore, do not put numbers in quotations like this "1".
# Only do this if the number is part of a name. So, "Sample_1" is fine.
# Boolean values are true or false and mean exactly that. Here, you cannot use
# quotation marks. Boolean values look like words, but are handled differently.
# Phases: the different parts of the pipeline
# Which parts of the pipeline do you want to execute? load, execute or skip
# The comparison phase takes the longest time.
[phases]
"raw" = "execute" # Load the data.
"filter" = "execute" # Perform QC
"integration" = "execute" # Integrate the data using harmony
"cluster" = "execute" # Perform the clustering using Leiden
"comparison" = "execute" # Determine marker genes for each cluster and compare the stages.
# Data source: the input data for the pipeline.
# Where are the input files and to which sample do they belong to?
[data_src]
"A_MxCre" = "data/A_MxCre/"
"B_MxCre" = "data/B_MxCre/"
"C_Csnk" = "data/C_Csnk/"
"D_Csnk" = "data/D_Csnk/"
# Stage list: the different conditions your samples have.
# You can only set one condition per sample.
# More complex condition combinations have to be handled individually.
[stage_lst]
"A_MxCre" = "MxCre"
"B_MxCre" = "MxCre"
"C_Csnk" = "Csnk"
"D_Csnk" = "Csnk"
# Regressing out possible confounders.
[regression]
# Set to false to skip regressing entirely.
enabled = false
# Covariates regressed out of the log-normalized HVG matrix before scaling.
# Must be columns present in adata.obs. Leave empty or set enabled = false to skip.
regress_out_keys = ["total_counts", "pct_counts_mito", "S_score", "G2M_score"]
# Parameters: the parameters used in the pipeline.
[options]
# What organism are you analyzing?
organism = "human"
# Where is your output supposed to go?
output = "/path/to/your/output/folder/"
# QC parameters
# Minimum number of cells per gene. int OR float
min_cells = 5
# Minimum number of genes per cell. int OR float
min_genes = 50
# Maximum number of genes per cell. int OR float OR "Inf" (string)
max_genes = "Inf"
# Maximum number of reads per cell. int OR float OR "Inf" (string)
max_reads = 20000
# Minimum number of reads per cell. int OR float
min_reads = 500
# Maximum percentage of mitochondrial reads per cell. int OR float OR "Inf" (string)
pct_mito_ceiling = 15
# Minimum percentage of mitochondrial reads per cell. int OR float
pct_mito_floor = 0
# Maximum percentage of ribosome reads per cell. int OR float OR "Inf" (string)
pct_ribo_ceiling = 100
# Minimum percentage of ribosome reads per cell. int OR float
pct_ribo_floor = 0
# Do you want to remove doublets (true) or do you just want to determine them (false)?
# Also, toml needs true/false NOT False/True. This is not python convention.
doublet_switch = false
# How many PCs do you want to use to determine the variance contribution?
n_pcs_variance_contribution = 50
# How many neighbors do you want to use for PCA UMAP?
n_neighbors_pca = 10
# How many PCs do you want to use for the PCA UMAP?
n_pcs_pca = 40
# How many highly variable genes do you want to use for the Harmony integration?
n_top_genes_integration = 2000
# How many iterations should harmony try before terminating? Default is 10.
max_iter_harmony = 10
# How many neighbors do you want to use for the UMAP?
n_neighbors_umap_harmony = 10
# How many PCs do you want to use to determine the neighbors for the UMAP?
n_pcs_umap_harmony = 40
# How verbose should the script be?
setting_verbosity = 3 # verbosity: errors (0), warnings (1), info (2), hints (3)
# What is the test used for DEGs? Select from: "logreg", "t-test", "wilcoxon", "t-test_overestim_var"
deg_method = "wilcoxon"
# The maximum number of iterations for the logreg method.
logreg_maxiter = 100
# The P value cutoff below which results are considered to be significant.
p_value_cutoff = 0.05
# Number of workers
worker_num = 1
# Dots Per Inch (DPI) of the plots. Higher means sharper images, but larger files. 300 is a good standard.
# If you set this too high, you get giant images that you cannot use. Values over 600 do not produce good
# results.
figure_resolution_dpi = 300