How to execute matlab from terminal in Ubuntu (Linux)?
While trying to install Matlab , it generally gives an error stating “matlab: command not found.”. Here, we provide a solution to this error.
This error occurs when the Matlab is not in your path. This could be because during installation it was unable to write to the default location, i.e., /usr/local/ and you have installed the Matlab in some other location. Or you have installed Matlab successfully but not added to the path. Let’s go through the solutions for both situations.
1. Running installer with sudo permission
When you run the installer without the sudo permissions (./install), it will not install Matlab in the default location stating “cannot create a folder in /usr/local” or “cannot write to /usr/local/“. You need to provide permissions using the sudo command. But when you try to run the installer with the sudo command then it keeps running without displaying anything.
So, to run the installer with the sudo command, you will first have to allow the root user to access the running X server. Open a terminal (Ctrl+Alt+T) and paste the following command.
$ xhost +SI:localuser:root
Now, you can run the installer with the sudo command as shown below.
$ sudo ./installer
2. Adding to the path
Open the bashrc file.
$ sudo nano ~/.bashrc
Add the following command at the end of the file.
$ export PATH=$PATH:/usr/local/MATLAB/R2022a/bin
Here, R2022a is the Matlab version. Replace it with your installed version.
Save and close the file.
$ source ~/.bashrc
Now, you can type
$ matlab in the terminal to run the Matlab.
- MATLAB. (2022). version 9.12.0 (R2022a). Natick, Massachusetts: The MathWorks Inc.
Installing Autodock4 on MacOS.
Previously, we installed the Autodock suite  on Ubuntu. Visit this article for details. Now, let’s install it on MacOS.
How to install Autodock4 on Ubuntu?
Autodock suite is used for docking small molecules . Recently, Autodock-GPU  is developed to accelerate the docking process. Its installation is described in this article. In this tutorial, we will install Autodock 4.2.6 on Ubuntu.
DS Visualizer: Uses & Applications
Discovery Studio (DS) Visualizer (from BIOVIA) is a visualization tool for viewing, sharing, and analyzing proteins . Here are some uses and applications of DS Visualizer.
Protein structure & folding information exploited from remote homologs.
Remote homologs are similar protein structures that share similar functions, but there is no easily detectable sequence similarity in them. A new study has revealed that the protein folding information can be exploited from remote homologous structures. A new tool is developed to recognize such proteins and predict their structure and folding pathway. (more…)
Pathonoia- A new tool to detect pathogens in RNA-seq data.
Detecting viruses and bacteria in RNA-seq data with less false positive rate is a difficult task. A new tool is introduced to detect pathogens in RNA-seq data with high precision and recall known as Pathonoia .
AlphaFill- New algorithm to fill ligands in AlphaFold models.
AlphaFold is a popular artificial intelligence based protein prediction tool . Though it predicts good protein structures, it lacks the capability to predict the small molecules present in the structure such as ligands. For this purpose, AlphaFill is introduced by Hekkelman et al.,. (more…)
How to calculate binding pocket volume using PyVol plugin in PyMol?
Previously, we provided a tutorial for PyVol plugin  installation. In this article, we will calculate the binding pocket volume of protein using the same plugin in PyMol . (more…)
How to generate electron density map using Pymol?
Electron density maps are available for most of the protein structures in PDB. Therefore, in this article, we are using PDB to generate electron density maps in Pymol.
Installing PyVOL plugin in Pymol on Ubuntu (Linux).
PyVOL  is an excellent plugin of Pymol  for pocket visualization of proteins. In this article, we will install the PyVOL plugin in Pymol on Ubuntu. (more…)
How to install Kpax on Ubuntu (Linux)?
Kpax is a bioinformatics program to search and align protein structures . It is currently available for Linux platforms only. In this article, we are going to install the latest version of Kpax (5.1.3) on Ubuntu (Linux). (more…)
How to run do_dssp command (mkdssp) in Gromacs 2022?
In the latest version of GROMACS (2022) , there are some issues regarding the gmx do_dssp command. Apparently, this command either does not run displaying a fatal error, or if it runs then it does not read any frame from MD simulation files. In this article, we are going to run the same command for GROMACS 2022. (more…)
Installing SMINA on Ubuntu (Linux).
SMINA is a fork of AutoDock Vina supporting better scoring function and high-performance energy minimization . In this article, we are going to install SMINA on Ubuntu (Linux). (more…)
How to install ClusCo on Ubuntu (Linux)?
ClusCo is a bioinformatics software to perform clustering and comparison of protein models . In this article, we are going to install ClusCo on Ubuntu (Linux). (more…)
How to run LigAlign plugin on Pymol?
Running a plugin on an old version of Pymol  can give you multiple errors that are not easy to troubleshoot. For example, LigAlign plugin  runs on an old version of Pymol. Previously, we explained how to install LigAlign on Pymol. In this article, we will run the LigAlign command on Pymol. (more…)
How to install the LigAlign plugin on Pymol on Ubuntu (Linux)?
Few errors appear when we try to run the LigAlign plugin  in Pymol . For example, if you try to run the ligand_alignment plugin, it will give you multiple errors including “Unable to initialize LigAlign v1.00“, or “can’t run LigAlign v1.00” or “incorrect Python syntax” or “Plugin has been installed but initialization failed“. In this article, we explain the reason for this issue and how you can rectify these errors. (more…)
How to install multiple Pymol versions on Ubuntu (Linux)?
Sometimes we need to access old versions of Pymol . Running some plugins on Pymol is difficult due to Python incompatibility. New Pymol versions require Python 3.x whereas older versions run on Python 2.x. Therefore, we need to maintain multiple versions of Pymol on a single system. In this article, we will install Pymol 1.7.x along with the latest version (Pymol 2.5.2) on Ubuntu. Later, we will create shortcuts for them.
[Tutorial] Installing Pymol on Mac OS.
Previously, we provided a tutorial for Pymol installation on Ubuntu. In this article, we are going to install Pymol on Mac OS. (more…)
How to install VMD on Ubuntu?
In this article, we are going to install VMD  on Ubuntu. (more…)
How to install GROMACS on Apple M1 (MacOS)?
We have provided a few articles on GROMACS installation on Ubuntu. In this article, we are going to install GROMACS  on Mac OS. (more…)
PyMol: Uses & Applications
PyMol is one of the most widely used bioinformatics software. Generally, it is used as a molecular viewer to visualize macromolecules and small molecules. In this article, we are discussing several uses and applications of PyMol. (more…)
You must be logged in to post a comment Login