Installation
Installation was tested on Red Hat 7.6 with Python 3.8.5 and torch 1.4.0 on a machine with one 40-core Intel(R) Xeon(R) Gold 5115 CPU addressing with 132GB RAM, and two NVIDIA TITAN V GPU addressing 24GB. CellMirror is implemented in the Pytorch framework. Please run CellMirror on CUDA if possible.
The CellMirror package can be installed using the following commands:
Installation from Wheels
Note
To avoid potential dependency conflicts, installing within a conda environment is recommended.
Grab source code of CellMirror
1git clone https://github.com/JunjieXia14/CellMirror.git
2cd CellMirror
Install CellMirror in the virtual environment by conda
1conda config --set channel_priority strict
2conda env create -f requirements.yml
3conda activate CellMirror
Other software dependencies are listed in “used_package.txt”.
Install R packages
Our MNN program is deployed on R software and rpy2 library, please install r-base and related package dependecies via conda.
Run the following commands in Linux Bash Shell:
1conda install r-base
2conda install r-dplyr (here, magrittr, tidyverse, batchelor, BiocParallel, FNN)
Or you can install these package dependencies by install.packages() and BiocManager::install() commands in R script.
Tip
To reduce your waiting time, we recommend using the rpy2 library to call the path of R software installed in your existing virtual environment.