This repository contains the materials for the MIMB cell painting tutorial, including Jupyter Notebooks, data files, and annotations.
- Data/Annotations/: Contains various annotation files including:
blocklist_features.txt
: Text file listing features to be blocked, downloaded herechemical_annotations.csv
: CSV file containing chemical annotations, dowloaded here.toxcast_data.csv
: The dataset used for estrogen receptor activity prediction, downloaded from Moleculenet.ER_activity_luc_bg1.csv
: This activity dataset obtained after processingtoxcast_data.csv
,is generated when runningToxCast_Tox21_ERa.ipynb
- Data/Cell_Profiles/: Directory containing cell profile data files.
part_1.csv
->part_63.csv
queried from GigaDB
- Data/Output/: Directory where the output of the Jupyter Notebooks will be stored. This directory is initially non-existing and will be created and generated after running the 1st notebook, it will contain:
output_notebook_1.pkl
: Output of Part1-Data_Processing.ipynboutput_notebook_2.pkl
: Output of Part2-Similarity_Analysis.ipynbER_activity_luc_bg1.csv
: Output of ToxCast_Tox21_ERa.ipynb
- Notebooks/: Contains Jupyter Notebooks for different parts of the tutorial:
Part1-Data_Processing.ipynb
: Notebook for data processing.Part2-Similarity_Analysis.ipynb
: Notebook for similarity analysis.Part3-Machine_Learning.ipynb
: Notebook for machine learning tasks.ToxCast_Tox21_ERa.ipynb
: Notebook to prepare Toxcast data.
- README.md: This file, provides an overview of the repository structure and contents.
- LICENSE: License information
- mimb_cellpainting.yml : File listing environment dependencies.
- Setup_manual.pdf : The getting started section detailed for beginners and Windows user.
To run the Jupyter Notebooks locally on your machine, follow these steps:
- Clone the repository:
git clone https://github.com/volkamerlab/MIMB_cellpainting_tutorial.git cd MIMB_cellpainting_tutorial
For setting up the environment install conda :
-
Install MINICONDA To install and use Conda; miniconda installer, follow the instructions on the official Conda installation page for your operating system.
-
Install pip If you have Python version 3.4 or later, PIP is included by default.
To check your version refers to Setup_manual.pdf.
To install pip follow the instructions on the official pip installation page. -
Setting Up the Environment You can now create and activate the environment with the following commands:
conda env create -f mimb_cellpainting.yml
conda activate mimb_cellpainting
Start JupyterLab to work with the notebooks.
jupyter-lab
or
jupyter-notebook
You can also open and run, specific notebooks from your terminal as follows; more can be found on the official Jupyter page.
jupyter-notebook ToxCast_Tox21_ERa.ipynb
jupyter execute ToxCast_Tox21_ERa.ipynb
Once JupyterLab is running, you can navigate to the Notebooks directory and open the relevant notebooks to start working with the tutorial. For more insight on Jupyter please refer to the last section of the Setup_manual.pdf.