The easiest way to install pb-StarPhase is through conda:
# create a brand new conda environment and install latest pb-StarPhase
conda create -n pbstarphase -c bioconda pbstarphase
# OR install latest into current conda environment
conda install pbstarphase
# OR install a specific version into current conda environment
conda install pbstarphase=0.8.0
Use the following instructions to get the most recent version of pb-StarPhase directly from GitHub:
- Navigate to the latest release and download the tarball file (e.g.
pbstarphase-{version}-x86_64-unknown-linux-gnu.tar.gz
). - Decompress the tar file.
- (Optional) Verify the md5 checksum.
- Test the binary file by running it with the help option (
-h
). - See the User guide for details on running pb-StarPhase.
# modify this to update the version
VERSION="v0.7.2"
# get the release file
wget https://github.com/PacificBiosciences/pb-StarPhase/releases/download/${VERSION}/pbstarphase-${VERSION}-x86_64-unknown-linux-gnu.tar.gz
# decompress the file into folder ${VERSION}
tar -xzvf pbstarphase-${VERSION}-x86_64-unknown-linux-gnu.tar.gz
cd pbstarphase-${VERSION}-x86_64-unknown-linux-gnu
# optional, check the md5 sum
md5sum -c pbstarphase.md5
# execute help instructions
./pbstarphase -h