You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Example: plots in paper](#example-plots-in-paper)
12
+
[Example used in paper](#example)
13
+
-[Commands and config](#commands_and_config)
14
+
-[Pipeline info: time and resource usage](#pipeline_info)
15
+
13
16
[Documentation](#documentation)
14
17
[Credits](#credits)
15
18
[Bug report/Support](#bug-reportsupport)
@@ -144,13 +147,15 @@ nextflow run main.nf --help
144
147
145
148
See documentation [usage](https://github.com/hukai916/scATACpipe/blob/main/docs/usage.md) for all of the available options.
146
149
147
-
## Example: plots in paper
150
+
## Example
151
+
152
+
### Commands and config
148
153
149
154
This section describes how the plots in the manuscript (to be added) were generated using scATACpipe. For comparison, the manuscript conducted 3 separate analyses, each using a different preprocessing strategy (`default`, `10xgenomics`, `chromap`). Since the commands and preprocessed results are quite similar across the three methods, only the `chromap` option will be demonstrated here.
@@ -200,18 +205,18 @@ Again, you have to replace `/path/` with full absolute paths.
200
205
2. The final execution:
201
206
202
207
After examining the results from the initial execution, we decided to remove the
203
-
outlier clusters (C2, C10) from downstream analyses. These two clusters are considered problematic according to the following two plots:
204
-
* The clustering heatmap plot from **./results_chromap/archr_clustering/** folder: the cell proportions from `PBMC_5K_N` and `PBMC_5K_V` samples are unbalanced for C2, C10.
208
+
outlier clusters (C1, C6) from downstream analyses. These two clusters are considered problematic according to the following two plots:
209
+
* The clustering heatmap plot from **./results_chromap_initial/archr_clustering/** folder: the cell proportions from `PBMC_5K_N` and `PBMC_5K_V` samples are unbalanced for C1, C6.
* The marker gene heatmap plot from **./results_chromap/archr_marker_gene_clusters/** folder: no distinct marker gene pattern detected in cluster C2, C10.
214
+
* The marker gene heatmap plot from **./results_chromap_initial/archr_marker_gene_clusters/** folder: no distinct marker gene pattern detected in cluster C1, C6.
Also, we would like to perform constrained integration of scRNA-seq data in addition to the unconstrained integration. The following line was used to supply the grouping information:
@@ -238,7 +243,25 @@ The final execution command looks like below:
238
243
```
239
244
nextflow run main.nf -profile singularity,lsf -c ./conf/test_chromap_final.config -resume session_id
240
245
```
241
-
Note that, the `-resume session_id` must be supplied in order to skip already-performed analyses and the corresponding session id can be found by `nextflow log` command.
246
+
In order to skip already-performed analyses, you must provide the `-resume session_id` option. The corresponding session ID can be found using the `nextflow log` command. Please note that the `--outdir` directory is set to `results_chromap_final`.
247
+
248
+
When the final execution is complete, we can look at clustering heatmaps and marker gene heatmaps, and they both look good now:
249
+
* The marker gene heatmap plot from **./results_chromap_final/archr_marker_gene_clusters/** folder:
Upon pipeline execution completion, Nextflow will produce time and resource usage reports that are stored under `pipeline_info`:
262
+
- Using `chromap` option: [results_chromap_final/pipeline_info](https://github.com/hukai916/scATACpipe_example/tree/main/results_chromap_final/pipeline_info)
263
+
- Using `default` option: [results_default_final/pipeline_info](https://github.com/hukai916/scATACpipe_example/tree/main/results_default_final/pipeline_info)
264
+
- Using `10xgenomics` option: [results_10xgenomics_final/pipeline_info](https://github.com/hukai916/scATACpipe_example/tree/main/results_10xgenomics_final/pipeline_info)
0 commit comments