Skip to content
forked from KenLauLab/pCreode

pCreode version for mapping alternative routes

License

Notifications You must be signed in to change notification settings

herrinca/pCreode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p-Creode

Build Status codecov PyPI version

Please let us know if you run into any issues or have any questions, through the issues page above or by email: charles.a.herring@vanderbilt.edu.

The term creode was coined by C.H. Waddington, combining the Greek words for “necessary” and “path” to describe the cell state transitional trajectories that define cell fate specification. Our algorithm aims to identify consensus routes from relatively noisy single-cell data and thus we named this algorithm p- (putative) Creode. Conceptually, p-Creode determines the geometric shape of a collection of dense data points (i.e., a data cloud) in order to reveal the underlying structure of transitional routes. p-Creode was developed using Python2.7 if you are not using this version see below for instructions on how to install a Python2.7 kernel.

Installation for Mac or Linux

There are three ways to install p-Creode with Mac/Linux operating systems.

git clone git://github.com/KenLauLab/pCreode
cd pCreode
sudo pip install .

With this install, the jupyter notebook tutorial and the example scRNA-seq myeloid data set can be accessed in the notebook and data directories on your machine.

sudo pip install pcreode

Then manually download the juypter notebook and example data file from the folders above. Simply right click on the download button and select "Save link as...".

Homebrew and anaconda install courtesy of Dan Skelly.

brew install igraph
git clone git://github.com/KenLauLab/pCreode
cd pCreode
conda create -n pcreode python=2.7 python-dateutil=2.5.3 numpy pandas matplotlib python-igraph jupyter cython
source activate pcreode
pip install .

Note: For Mac users, Cairo may or may not be installed. If you have problems plotting, you need to install Cairo. Please follow the instructions in this link.

*** Some Mac users have experienced issues installing igraph, here is a link to instructions for a direct install on a Mac

Installation for Windows

The problem with p-Creode installation on a Windows machine is with the python-igraph package, where there seems to be a bug in the setup. Hence, additional steps must be taken.

  1.   Install Anaconda version 2.7
    
  2.       Download the user compile wheels of 2 packages (download the bit version as appropriate) from this link:

   -       pyCairo   For example, in Anaconda prompt, go to the directory where the whl is downloaded and:

        pip install pycairo-1.13.2-cp27-cp27m-win_amd64.whl

   -       python-igraph

        pip install python_igraph-0.7.1.post6-cp27-none-win_amd64.whl
  1.   pip install pcreode
    

*** if you are having issues with igraph plotting of graphs please try:

conda install -c conda-forge python-igraph

You will still need to manually download the juypter notebook and example data file from the folders above to be able to run the tutorial.

Tutorial

*** If your Python version is greater than 3.0 you will need to install a Python 2.7 IPython kernel to run jupyter notebooks. Instructions on how to accomplish that can be found here

Once p-Creode is installed you can access the tutorial by command line (conda environment if using PC) with

jupyter notebook

The downloaded p-Creode tutorial can be opened by using the jupyter interface to find the directory where it was saved. A brief introduction to jupyter notebook can be found here.

About

pCreode version for mapping alternative routes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 99.4%
  • Python 0.6%