Yasin Kaymaz, Ph.D., Ege University, Bioengineering Dept. 2025-01-18
Bioinformatics in Immunology sessions | DRY LAB 1 (Group C)
- Day 2 (14:00 - 16:00) - Bulk RNAseq data analysis
- Day 3 (14:00 - 16:00) - single-cell RNAseq data analysis
- Day 4 (11:10 - 13:00) - single-cell RNAseq data analysis, cont.
This tutorial will guide students through a hands-on bulk RNA sequencing (RNA-seq) analysis using Google Colab and Python. Students will analyze gene expression data, perform normalization, PCA, sample correlation, and differential expression analysis using DESeq2.
- SRA Study ID: SRP428267
The publication titled “TRAIL promotes the polarization of human macrophages toward a proinflammatory M1 phenotype and is associated with increased survival in cancer patients with high tumor macrophage content” investigates the role of Tumor Necrosis Factor-Related Apoptosis-Inducing Ligand (TRAIL) in macrophage polarization. The study demonstrates that TRAIL induces human macrophages to adopt a proinflammatory M1 phenotype. Furthermore, the research correlates high tumor macrophage content with improved survival rates in cancer patients, suggesting that TRAIL-mediated M1 polarization may contribute to anti-tumor immunity. Gunalp et al., 2023
Ensure you have an active Google account to access Google Colab. If you don’t have one, create a Google account.
While Google Colab eliminates the need for local installations, ensure your local machine has: - A modern browser (e.g., Chrome, Firefox, or Edge). - Stable internet connection.
Download the tutorial notebook provided for this session: - File
Name: Bulk_RNAseq_analysis_tutorial.ipynb
- Download the
file.
- Visit Google Colab.
- Sign in with your Google account.
- Click
File > Upload Notebook
. - Upload the
Bulk_RNAseq_analysis_tutorial.ipynb
file from your local machine.
-
Run the first cell in the notebook to install dependencies. This step will set up the required Python libraries and environment.
!pip install pandas numpy seaborn matplotlib scikit-learn pydeseq2
-
If additional libraries are required, follow the prompts in the notebook.
- Option A: Use Preloaded Data
- Follow the instructions in the notebook to use the sample data provided.
- Option B: Use Your Own Data
-
Mount your Google Drive to access your datasets:
from google.colab import drive drive.mount('/content/drive')
-
- Run each cell sequentially by clicking the play icon on the left of each cell.
- Ensure you read the accompanying instructions for each step.
- If any errors occur, check the error message for missing dependencies and install them.
- Ensure that the runtime is set to
Python 3
by navigating toRuntime > Change Runtime Type
.
- Save Your Progress: Periodically save your notebook by clicking
File > Save a copy in Drive
. - Ask Questions: Use the designated communication channel (e.g., Zoom chat or Slack) for real-time questions.
- Follow Along: Ensure you’re running the cells in the correct order to avoid errors.
-
Save any generated plots or data to your Google Drive or download them to your local machine.
significant_genes.to_csv("significant_genes.csv", index=False)
Share your feedback on the session to help improve future tutorials.
If you encounter issues before or during the session, contact the instructor for assistance.