Skip to content

AndreaSalati/pyCHIRAL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyCHIRAL

pyCHIRAL is a Python implementation of CHIRAL (Circular HIerarchical Reconstruction ALgorithm), an R package originally developed by Lorenzo Talamanca, designed to infer circadian clock phases from RNA-seq data. This algorithm is based on Expectation Maximization and utilizes a Statistical Physics-inspired approach.

Features

  • Efficiently infers circadian clock phases from RNA-seq data.
  • Incorporates an advanced Expectation Maximization algorithm.
  • Inspired by methods from Statistical Physics.

This method was applied in the following Science paper: Sex-dimorphic and age-dependent organization of 24-hour gene expression rhythms in humans. Further information regarding the alorithm can be found in the supplement.

For the original R version of this package, visit the CHIRAL repository here.

Installation

To run pyCHIRAL, you need to install the following dependencies:

conda install tqdm numpy pandas scipy anndata scanpy

Usage

pyCHIRAL is compatible with anndata, and it receives data in the format Nsamples x Ngenes (unlike the Bulk conventions). A layer of the dataset needs to be specified by argument. The layer passed to CHIRAL needs to be log-tranformed. By default the data will also be mean centered and standardized.

About

A python implementation of CHIRAL method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published