pgen_compress command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pgen_compress: command not found
or when using sudo you get the following error message
sudo: pgen_compress: command not found
Solutions to pgen_compress: command not found
How To Fix pgen_compress: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pgen_compress is provided by plink2 package.
plink2 is:
plink expects as input the data from SNP (single nucleotide polymorphism) chips of many individuals and their phenotypical description of a disease. It finds associations of single or pairs of DNA variations with a phenotype and can retrieve SNP annotation from an online source.
SNPs can evaluated individually or as pairs for their association with the disease phenotypes. The joint investigation of copy number variations is supported. A variety of statistical tests have been implemented.
plink2 is a comprehensive update of plink and plink1.9 with new algorithms and new methods, faster and less memory consumer than the first plink.
To fix this problem, we can install more using the command below.
sudo apt-get -y install plink2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install plink2.
sudo apt -y install plink2
Or if you have aptitude installed you can use the following command.
sudo aptitude install plink2
Summary
In this tutorial we learn how to fix pgen_compress command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.