Installing GW on Linux x86_64 Systems
For best performance, install GW as a desktop application on (Intel debian systems only), or build from source.
For debian systems use the package below:
GW Intel x86_64 debian installer
GW is also available for Linux x86_64 systems as a command-line tool and can be installed using Conda.
Using Conda
Once Conda is installed, you can install GW by running the following command in your terminal:
conda install -c conda-forge -c bioconda gw
Currently, the conda package only works for X11 sessions. If you are using Wayland, either install using the deb package above or build from source.
Building from source
Before building GW, you need to install the glfw3 and htslib libraries. For Ubuntu, fetch these using:
sudo apt install libgl1-mesa-dev libfontconfig-dev libhts-dev glfw
GW can be built and installed using:
git clone https://github.com/kcleal/gw.git && cd gw
make prep && make -j4
cp gw /usr/local/bin
The make prep
stage downloads a pre-build skia binary. If this is not compatibile, you can build skia from scrtach using:
git clone https://github.com/kcleal/gw.git && cd gw
bash ./deps/build_skia.sh
make -j4
cp gw /usr/local/bin
After installation, you can verify that GW has been installed correctly by running:
gw --version