Skip to content

Instantly share code, notes, and snippets.

@hisplan
Last active July 26, 2019 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hisplan/26607ee46e12ff01da982cc2780e280e to your computer and use it in GitHub Desktop.
Save hisplan/26607ee46e12ff01da982cc2780e280e to your computer and use it in GitHub Desktop.
bgzip via htslib
sudo yum install git autoconf automake make gcc zlib-devel bzip2-devel xz-devel curl-devel openssl-devel
git clone https://github.com/samtools/htslib.git
cd htslib/
autoconf
autoheader
./configure
make
make test
sudo make install
bgzip -i genome.fa
samtools faidx genome.fa.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment