Connect with us

Genomics

Installing BCFtools on Ubuntu

Tariq Abdullah

Published

on

Installing bcftools on Ubuntu

BCFtools is a set of utilities that are used to manipulate variant call files (VCF) and binary call files (BCF). It can be used for both compressed and uncompressed sort of files. In this article, we will install BCFtools on Ubuntu.

Getting started

Let’s update and upgrade the system first.

$ sudo apt-get update

$ sudo apt-get upgrade

Downloading BCFtools

Change to the directory where you want to download and install the software. Let’s say, Downloads. Open a terminal by pressing Ctrl+Alt+T and type the following commands:

$ cd Downloads/

$ wget https://github.com/samtools/bcftools/releases/download/1.10.2/bcftools-1.10.2.tar.bz2

If you want to download it manually, then click here.

Installing prerequisites

Before installing BCFtools, you need to install the following libraries. Copy and paste the following command in your terminal.

$ sudo apt-get install autoconf automake make gcc perl zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev libperl-dev libgsl0-dev

Installing BCFtools

We are in the same directory (i.e., Downloads). Now extract the downloaded package and install using the following commands.

$ tar xvjf bcftools-1.10.2.tar.bz2

$ cd bcftools-1.10.2/

$ ./configure

$ make

It will take a few minutes for a successful install. Check the installation by typing $ bcftools --version. If it displays the version, then you have successfully installed the BCFtools. To see the arguments, type $ bcftools --help.


References

  1. Danecek, P., McCarthy, S., & Li, H. (2015). bcftools—utilities for variant calling and manipulating vcfs and bcfs.

Tariq is founder of Bioinformatics Review and CEO at IQL Technologies. His areas of expertise include algorithm design, phylogenetics, MicroArray, Plant Systematics, and genome data analysis. If you have questions, reach out to him via his homepage.

Genomics

How to install Cortex on Ubuntu?

Dr. Muniba Faiza

Published

on

Cortex - genome analysis framework

Cortex is a user-friendly framework for genome analysis [1]. It acquires less memory and is quite efficient in performance. It’s installation involves various steps. In this article, we will install Cortex on Ubuntu. (more…)

Continue Reading

Genomics

How to Compress and Decompress FASTQ, SAM/BAM & VCF Files using genozip?

Dr. Muniba Faiza

Published

on

compressing and decompressing files using genozip

genozip is a tool for lossless compression of large files including VCF, FASTQ, and SAM/BAM files [1]. In this article, we explain the usage of the genozip tool for the compression and decompression of these files. (more…)

Continue Reading

Genomics

Installing CRISPRCasFinder on Ubuntu

Dr. Muniba Faiza

Published

on

install crisprcasfinder on ubuntu

CRISPR/Cas9 is a genome editing technology trending fastly. It is used to identify CRISPR associated genes within the genomes of prokaryotic bacterias. Several tools are available for this. Amongst them, CRISPRCasFinder is one that is used to search for CRISPRs and Cas genes in sequence data [1]. In this article, we will install CRISPRCasFinder on Ubuntu. (more…)

Continue Reading

LATEST ISSUE

ADVERT