Giter Site home page Giter Site logo

yujing1997 / chromark Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 771.65 MB

Code for the manuscript: "Single-cell imaging-AI based chromatin biomarkers for diagnosis and therapy evaluation in tumor patients using liquid biopsies". Code was developed by Daniel Paysan

License: MIT License

Python 0.03% Jupyter Notebook 99.97%

chromark's Introduction

Single-cell imaging-AI based chromatin biomarkers for diagnosis and therapy evaluation in tumor patients using liquid biopsies

The repository contains the code used to run the analyses presented in our publication:

Single-cell imaging-AI based chromatin biomarkers for diagnosis and therapy evaluation in tumor patients using liquid biopsies (Published in npj Precision Oncology)

Chromatin organization of PBMCs reflects the presence of tumor signals


System requirements

The code has been developed and executed on a HP Z4 workstation running Ubuntu 20.04.5 LTS with a Intel(R) Xeon(R) W-2255 CPU with 3.70 GHz, 128GB RAM and Python v3.8.10 installed.. Note that the code can also be run for machines with less available RAM.

Installation

To install the code, please clone the repository and install the required software libraries and packages listed in the requirements.txt file:

git clone https://github.com/GVS-Lab/chromark.git

cd chromark
conda create --name icp python=3.8.10
conda activate icp
pip install setuptools==49.6.0
pip install -r requirements.txt

Data resources

The data to rerun the results can be obtained from the authors upon request and will be made publicly available upon publication.


Reproducing the paper results

1. Data preprocessing (Optional)

The full preprocessing pipeline including the image segmentation in 2D and 3D as well as the feature extraction and (if applicable) the cell type classification can be run via the following commands:

python scripts/run.py --config config/full_pipeline/config_pbmc_full.yml
python scripts/run.py --config config/full_pipeline/config_pbmc_full_marker.yml

Note that the config file needs to be adjusted such that the correct file locations are specified. While all other parameters are recommended to be kept the channel parameters should also be adjusted to reflect the channels present in the images that are to be preprocessed.

The above steps can be skipped, if the preprocessed data is used which can be obtained from the authors (see Data resources)

2. Reproducing the figures' results

All results presented in the main and supplemental figures can be obtained by running the respective jupyter notebooks located in jupyter/notebooks/figures. To run those notebooks, please start the jupyter server via

conda activate icp
jupyter notebook

navigate to the notebook and run all cells.


How to cite

If you use any of the code or resources provided here please make sure to reference the required software libraries if needed and also cite our work:

@article{challa2023imaging,
  title={Imaging and AI based chromatin biomarkers for diagnosis and therapy evaluation from liquid biopsies},
  author={Challa, Kiran and Paysan, Daniel and Leiser, Dominic and Sauder,
          Nadia and Weber, Damien C and Shivashankar, GV},
  journal={NPJ precision oncology},
  volume={7},
  number={1},
  pages={135},
  year={2023},
  publisher={Nature Publishing Group UK London}
}

chromark's People

Contributors

dpaysan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.