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
Repository of the [Cell Communication Lab](http://tape-lab.com/) at UCL's Cancer Institute. The Cell Communication Lab studies how oncogenic mutations communicate with stromal and immune cells in the colorectal cancer (CRC) tumour microenvironment (TME). By understanding how mutations regulate all cell types within a tumour, we aim to uncover novel approaches to treat cancer.
5
-
6
-
In this repo we present *CyGNAL*, a pipeline for analysing mass cytometry data similar to that used in our *Nature Methods* paper: [Cell-type-specific signaling networks in heterocellular organoids](https://www.nature.com/articles/s41592-020-0737-8). With code in both Python and R, CyGNAL assumes some preliminary and inter-step processing through the platform [Cytobank](https://cytobank.org/) (although the user could in theory use any other solution for this and the gating steps).
4
+
In this repository we present *CyGNAL*, a pipeline for analysing mass cytometry data similar to that used in our *Nature Methods* paper: [Cell-type-specific signaling networks in heterocellular organoids](https://www.nature.com/articles/s41592-020-0737-8). With code in both Python and R, CyGNAL assumes some preliminary and inter-step processing through the platform [Cytobank](https://cytobank.org/) (although the user could in theory use any other solution for this and the gating steps).
7
5
8
-
Overview of the current workflow:
6
+
Overview of CyGNAL (dashed blue line) within a standard mass cytometry analysis:
9
7
![alt text][Overview]
10
8
11
-
[Overview]: https://github.com/TAPE-Lab/CyGNAL/blob/master/figs/flowchart_v1.png"Overview of cell identification"
9
+
[Overview]: https://github.com/TAPE-Lab/CyGNAL/blob/master/figs/flowchart_v1.2.png"Overview of CyGNAL"
12
10
13
11
## How to use
14
12
15
13
Main steps in code folder. Various utilities can be found in code/utils.
16
14
17
-
Raw data contains sample dataset files. Pipeline can take in both FCS and .txt files (as tab-separated dataframes).
15
+
### Input data
18
16
17
+
Raw data contains sample dataset files. Pipeline can take in both FCS and .txt files (as tab-separated dataframes).
19
18
20
-
*NOTE*: The dataset used in this tutorial is a down-sampled version (5,000 cells per time point, EpCAM/Pan-CK gated) of the small intestinal organoid time-course experiment described in Figure 4 of our [paper](https://www.nature.com/articles/s41592-020-0737-8). The full dataset is available through [Cytobank Community](https://community.cytobank.org/cytobank/experiments/81059). The users will need to register a free Cytobank Community account to access the project and are encouraged to clone the experiments and explore the data in further details.
19
+
*NOTE*: The toy dataset used in this tutorial is a down-sampled version (5,000 cells per time point, EpCAM/Pan-CK gated) of the small intestinal organoid time-course experiment described in Figure 4 of our [paper](https://www.nature.com/articles/s41592-020-0737-8). The full dataset is available through [Cytobank Community](https://community.cytobank.org/cytobank/experiments/81059). The users will need to register a free Cytobank Community account to access the project and are encouraged to clone the experiments and explore the data in further details.
21
20
22
21
### A Brief Step-by-Step Tutorial
23
22
23
+
Brief tutotorial to run all main steps in CyGNAL with a sequential order. All console commands given assume the user is in the tool's root directory (.../CyGNAL/).
24
24
<!-- (Refer to the Nature Protocols paper for more in-depth instructions) -->
25
25
26
26
1.**(SETUP):** Clone the repository and ensure you have all necessary software and dependencies.
27
+
* We strongly encourage using [conda](https://docs.conda.io/en/latest/miniconda.html) to setup an environment from 'conda_env.yml' using `conda create -f conda_env.yml`.
27
28
28
29
2.**Pre-process:** Copy all the data files to the 'Raw_Data' folder and run `1-data_preprocess.py`. The output files with their antibody panel processed (i.e. measured channels decluttered, empty channels deleted, cell-index assigned) will be saved in the 'Preprocessed_Data' folder, together with a *'panel_markers.csv'* file listing all the markers measured in the given experiment.
29
30
@@ -47,20 +48,20 @@ Raw data contains sample dataset files. Pipeline can take in both FCS and .txt f
47
48
48
49
## Dependencies
49
50
50
-
We strongly encourage using [conda](https://docs.conda.io/en/latest/miniconda.html) to setup an environment from 'conda_env.yml'.
51
-
52
-
* Python: Tested with Python v3.6 and v3.7. Used in the backbone of the workflow and most computational steps.
51
+
* Python: Tested with Python v3.6, v3.7, and v3.8. Used in the backbone of the workflow and most computational steps.
53
52
*`fcsparser`
54
53
*`fcswrite`
55
54
*`numpy`
56
55
*`pandas`
57
56
*`plotly`
57
+
*`pynndescent`
58
58
*`rpy2`
59
59
*`scprep`
60
60
*`sklearn`
61
61
*`umap-learn`
62
62
63
-
* R: Tested with R v3.6.1 and RStudio v1.2.5001. Mostly used for visualisation, but also for computing the PCA.
63
+
* R: Tested with v3.6.1 < R <= v4. Mostly used for visualisation, but also for computing the PCA.
64
+
*`ComplexHeatmap`
64
65
*`DT`
65
66
*`factoextra`
66
67
*`FactoMineR`
@@ -82,3 +83,9 @@ We strongly encourage using [conda](https://docs.conda.io/en/latest/miniconda.ht
82
83
83
84
The work here is actively being developed by Ferran Cardoso ([@FerranC96](https://github.com/FerranC96)) and Dr. Xiao Qin ([@qinxiao1990](https://github.com/qinxiao1990)).
84
85
Based also on original work by Pelagia Kyriakidou.
86
+
87
+
We acknowledge the work of all third-parties whose packages are used in CyGNAL.
88
+
89
+
## About the group
90
+
91
+
Repository of the [Cell Communication Lab](http://tape-lab.com/) at UCL's Cancer Institute. The Cell Communication Lab studies how oncogenic mutations communicate with stromal and immune cells in the colorectal cancer (CRC) tumour microenvironment (TME). By understanding how mutations regulate all cell types within a tumour, we aim to uncover novel approaches to treat cancer.
0 commit comments