How To Install python3-mmtf on Rocky Linux 8

In this tutorial we learn how to install python3-mmtf on Rocky Linux 8. python3-mmtf is A decoding library for the macromolecular transmission format (MMTF)

Introduction

In this tutorial we learn how to install python3-mmtf on Rocky Linux 8.

What is python3-mmtf

The Macromolecular Transmission Format (MMTF) is a new compact binary format to transmit and store biomolecular structures for fast 3D visualization and analysis. Bradley AR, Rose AS, Pavelka A, Valasatava Y, Duarte JM, Prlić A, Rose PW (2017) MMTF - an efficient file format for the transmission, visualization, and analysis of macromolecular structures. bioRxiv 122689. doi Valasatava Y, Bradley AR, Rose AS, Duarte JM, Prlić A, Rose PW (2017) Towards an efficient compression of 3D coordinates of macromolecular structures. PLOS ONE 12(3) Rose AS, Bradley AR, Valasatava Y, Duarte JM, Prlić A, Rose PW (2016) Web-based molecular graphics for large complexes. In Proceedings of the 21st International Conference on Web3D Technology (Web3D ‘16). ACM, New York, NY, USA, 185-186. doi

We can use yum or dnf to install python3-mmtf on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-mmtf.

Install python3-mmtf on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-mmtf using dnf by running the following command:

sudo dnf -y install python3-mmtf

Install python3-mmtf on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-mmtf using yum by running the following command:

sudo yum -y install python3-mmtf

How To Uninstall python3-mmtf on Rocky Linux 8

To uninstall only the python3-mmtf package we can use the following command:

sudo dnf remove python3-mmtf

python3-mmtf Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/mmtf
/usr/lib/python3.6/site-packages/mmtf/__init__.py
/usr/lib/python3.6/site-packages/mmtf/__pycache__
/usr/lib/python3.6/site-packages/mmtf/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/api
/usr/lib/python3.6/site-packages/mmtf/api/__init__.py
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__/default_api.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__/default_api.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__/mmtf_reader.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__/mmtf_reader.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__/mmtf_writer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/api/__pycache__/mmtf_writer.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/api/default_api.py
/usr/lib/python3.6/site-packages/mmtf/api/mmtf_reader.py
/usr/lib/python3.6/site-packages/mmtf/api/mmtf_writer.py
/usr/lib/python3.6/site-packages/mmtf/codecs
/usr/lib/python3.6/site-packages/mmtf/codecs/__init__.py
/usr/lib/python3.6/site-packages/mmtf/codecs/__pycache__
/usr/lib/python3.6/site-packages/mmtf/codecs/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/__pycache__/codecs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/__pycache__/codecs.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/__pycache__/default_codec.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/__pycache__/default_codec.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/codecs.py
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/__init__.py
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/__pycache__
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/__pycache__/decoders.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/__pycache__/decoders.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/__pycache__/numpy_decoders.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/__pycache__/numpy_decoders.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/decoders.py
/usr/lib/python3.6/site-packages/mmtf/codecs/decoders/numpy_decoders.py
/usr/lib/python3.6/site-packages/mmtf/codecs/default_codec.py
/usr/lib/python3.6/site-packages/mmtf/codecs/encoders
/usr/lib/python3.6/site-packages/mmtf/codecs/encoders/__init__.py
/usr/lib/python3.6/site-packages/mmtf/codecs/encoders/__pycache__
/usr/lib/python3.6/site-packages/mmtf/codecs/encoders/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/encoders/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/encoders/__pycache__/encoders.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/encoders/__pycache__/encoders.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/codecs/encoders/encoders.py
/usr/lib/python3.6/site-packages/mmtf/converters
/usr/lib/python3.6/site-packages/mmtf/converters/__init__.py
/usr/lib/python3.6/site-packages/mmtf/converters/__pycache__
/usr/lib/python3.6/site-packages/mmtf/converters/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/converters/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/converters/__pycache__/converters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/converters/__pycache__/converters.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/converters/__pycache__/numpy_converters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/converters/__pycache__/numpy_converters.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/converters/converters.py
/usr/lib/python3.6/site-packages/mmtf/converters/numpy_converters.py
/usr/lib/python3.6/site-packages/mmtf/tests
/usr/lib/python3.6/site-packages/mmtf/tests/__init__.py
/usr/lib/python3.6/site-packages/mmtf/tests/__pycache__
/usr/lib/python3.6/site-packages/mmtf/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/tests/__pycache__/codec_tests.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/tests/__pycache__/codec_tests.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/tests/codec_tests.py
/usr/lib/python3.6/site-packages/mmtf/utils
/usr/lib/python3.6/site-packages/mmtf/utils/__init__.py
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__/codec_utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__/codec_utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__/decoder_utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mmtf/utils/__pycache__/decoder_utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/mmtf/utils/codec_utils.py
/usr/lib/python3.6/site-packages/mmtf/utils/constants.py
/usr/lib/python3.6/site-packages/mmtf/utils/decoder_utils.py
/usr/lib/python3.6/site-packages/mmtf_python-1.1.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/mmtf_python-1.1.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/mmtf_python-1.1.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/mmtf_python-1.1.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/mmtf_python-1.1.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/mmtf_python-1.1.2-py3.6.egg-info/top_level.txt
/usr/share/doc/python3-mmtf
/usr/share/doc/python3-mmtf/CHANGELOG.md
/usr/share/doc/python3-mmtf/README.md
/usr/share/licenses/python3-mmtf
/usr/share/licenses/python3-mmtf/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-mmtf on Rocky Linux 8 using yum and dnf.