Installation
Download the CPhasing and activate environments by the activate_cphasing
LATEST_URL=$(curl -s https://api.github.com/repos/wangyibin/CPhasing/releases/latest | grep "browser_download_url.*linux-x86.tar.gz" | cut -d '"' -f 4)
wget $LATEST_URL
tar xzvf CPhasing*.tar.gz
source ./CPhasing*/bin/activate_cphasing
### activate environment
source ./CPhasing*/bin/activate_cphasing
### deactivate
source deactivate
Note
For the first configuration, run it when the network is accessible.
Note
If you can not download the pixi, you can download it from the github release page:
mkdir -p ~/.pixi/bin
cd ~/.pixi/bin
wget https://github.com/prefix-dev/pixi/releases/download/v0.60.0/pixi-x86_64-unknown-linux-musl.tar.gz
tar xzvf pixi-x86_64-unknown-linux-musl.tar.gz
And rerun the activate_cphasing to install the dependencies of CPhasing
Note
If you do not have direct access to the anaconda repository, you can set the mirror for pixi.
Note
For the platform of linux-aarch64, please download from github release.
Download the CPhasing and install environment by conda
git clone https://github.com/wangyibin/CPhasing.git
cd CPhasing
conda env create -f environment.yml
conda activate cphasing
~/.bash_profile