How To Install snakemake on Fedora 36

In this tutorial we learn how to install snakemake in Fedora 36. snakemake is Workflow management system to create reproducible and scalable data analyses

Introduction

In this tutorial we learn how to install snakemake on Fedora 36.

What is snakemake

The Snakemake workflow management system is a tool to create reproducible and scalable data analyses. Workflows are described via a human readable, Python based language. They can be seamlessly scaled to server, cluster, grid and cloud environments, without the need to modify the workflow definition. Finally, Snakemake workflows can entail a description of required software, which will be automatically deployed to any execution environment.

We can use yum or dnf to install snakemake on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install snakemake.

Install snakemake on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install snakemake

Install snakemake on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install snakemake using yum by running the following command:

sudo yum -y install snakemake

How To Uninstall snakemake on Fedora 36

To uninstall only the snakemake package we can use the following command:

sudo dnf remove snakemake

snakemake Package Contents on Fedora 36

/usr/bin/snakemake
/usr/bin/snakemake-bash-completion
/usr/lib/python3.10/site-packages/snakemake
/usr/lib/python3.10/site-packages/snakemake-6.13.1.dist-info
/usr/lib/python3.10/site-packages/snakemake-6.13.1.dist-info/AUTHORS.rst
/usr/lib/python3.10/site-packages/snakemake-6.13.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/snakemake-6.13.1.dist-info/LICENSE.md
/usr/lib/python3.10/site-packages/snakemake-6.13.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/snakemake-6.13.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/snakemake-6.13.1.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/snakemake-6.13.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/snakemake/__init__.py
/usr/lib/python3.10/site-packages/snakemake/__main__.py
/usr/lib/python3.10/site-packages/snakemake/__pycache__
/usr/lib/python3.10/site-packages/snakemake/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/benchmark.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/benchmark.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/checkpoints.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/checkpoints.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/cwl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/cwl.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/dag.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/dag.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/decorators.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/decorators.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/gui.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/gui.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/io.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/io.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/jobs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/jobs.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/logging.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/logging.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/modules.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/modules.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/notebook.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/notebook.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/output_index.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/output_index.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/path_modifier.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/path_modifier.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/persistence.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/persistence.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/resources.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/resources.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/ruleinfo.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/ruleinfo.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/rules.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/rules.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/scheduler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/scheduler.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/script.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/script.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/shell.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/shell.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/sourcecache.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/sourcecache.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/stats.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/stats.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/workflow.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/workflow.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/wrapper.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/__pycache__/wrapper.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/_version.py
/usr/lib/python3.10/site-packages/snakemake/benchmark.py
/usr/lib/python3.10/site-packages/snakemake/caching
/usr/lib/python3.10/site-packages/snakemake/caching/__init__.py
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__/hash.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__/hash.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__/local.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__/local.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__/remote.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/caching/__pycache__/remote.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/caching/hash.py
/usr/lib/python3.10/site-packages/snakemake/caching/local.py
/usr/lib/python3.10/site-packages/snakemake/caching/remote.py
/usr/lib/python3.10/site-packages/snakemake/checkpoints.py
/usr/lib/python3.10/site-packages/snakemake/common
/usr/lib/python3.10/site-packages/snakemake/common/__init__.py
/usr/lib/python3.10/site-packages/snakemake/common/__pycache__
/usr/lib/python3.10/site-packages/snakemake/common/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/common/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/cwl.py
/usr/lib/python3.10/site-packages/snakemake/dag.py
/usr/lib/python3.10/site-packages/snakemake/decorators.py
/usr/lib/python3.10/site-packages/snakemake/deployment
/usr/lib/python3.10/site-packages/snakemake/deployment/__init__.py
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/conda.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/conda.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/containerize.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/containerize.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/env_modules.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/env_modules.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/singularity.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/__pycache__/singularity.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/deployment/conda.py
/usr/lib/python3.10/site-packages/snakemake/deployment/containerize.py
/usr/lib/python3.10/site-packages/snakemake/deployment/env_modules.py
/usr/lib/python3.10/site-packages/snakemake/deployment/singularity.py
/usr/lib/python3.10/site-packages/snakemake/exceptions.py
/usr/lib/python3.10/site-packages/snakemake/executors
/usr/lib/python3.10/site-packages/snakemake/executors/__init__.py
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__/ga4gh_tes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__/ga4gh_tes.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__/google_lifesciences.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__/google_lifesciences.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__/google_lifesciences_helper.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/executors/__pycache__/google_lifesciences_helper.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/executors/ga4gh_tes.py
/usr/lib/python3.10/site-packages/snakemake/executors/google_lifesciences.py
/usr/lib/python3.10/site-packages/snakemake/executors/google_lifesciences_helper.py
/usr/lib/python3.10/site-packages/snakemake/executors/jobscript.sh
/usr/lib/python3.10/site-packages/snakemake/gui.html
/usr/lib/python3.10/site-packages/snakemake/gui.py
/usr/lib/python3.10/site-packages/snakemake/io.py
/usr/lib/python3.10/site-packages/snakemake/jobs.py
/usr/lib/python3.10/site-packages/snakemake/linting
/usr/lib/python3.10/site-packages/snakemake/linting/__init__.py
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__/links.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__/links.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__/rules.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__/rules.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__/snakefiles.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/linting/__pycache__/snakefiles.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/linting/links.py
/usr/lib/python3.10/site-packages/snakemake/linting/rules.py
/usr/lib/python3.10/site-packages/snakemake/linting/snakefiles.py
/usr/lib/python3.10/site-packages/snakemake/logging.py
/usr/lib/python3.10/site-packages/snakemake/modules.py
/usr/lib/python3.10/site-packages/snakemake/notebook.py
/usr/lib/python3.10/site-packages/snakemake/output_index.py
/usr/lib/python3.10/site-packages/snakemake/parser.py
/usr/lib/python3.10/site-packages/snakemake/path_modifier.py
/usr/lib/python3.10/site-packages/snakemake/persistence.py
/usr/lib/python3.10/site-packages/snakemake/remote
/usr/lib/python3.10/site-packages/snakemake/remote/AzBlob.py
/usr/lib/python3.10/site-packages/snakemake/remote/EGA.py
/usr/lib/python3.10/site-packages/snakemake/remote/FTP.py
/usr/lib/python3.10/site-packages/snakemake/remote/GS.py
/usr/lib/python3.10/site-packages/snakemake/remote/HTTP.py
/usr/lib/python3.10/site-packages/snakemake/remote/NCBI.py
/usr/lib/python3.10/site-packages/snakemake/remote/S3.py
/usr/lib/python3.10/site-packages/snakemake/remote/S3Mocked.py
/usr/lib/python3.10/site-packages/snakemake/remote/SFTP.py
/usr/lib/python3.10/site-packages/snakemake/remote/XRootD.py
/usr/lib/python3.10/site-packages/snakemake/remote/__init__.py
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/AzBlob.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/AzBlob.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/EGA.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/EGA.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/FTP.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/FTP.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/GS.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/GS.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/HTTP.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/HTTP.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/NCBI.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/NCBI.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/S3.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/S3.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/S3Mocked.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/S3Mocked.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/SFTP.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/SFTP.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/XRootD.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/XRootD.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/dropbox.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/dropbox.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/gfal.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/gfal.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/gridftp.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/gridftp.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/iRODS.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/iRODS.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/webdav.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/__pycache__/webdav.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/remote/dropbox.py
/usr/lib/python3.10/site-packages/snakemake/remote/gfal.py
/usr/lib/python3.10/site-packages/snakemake/remote/gridftp.py
/usr/lib/python3.10/site-packages/snakemake/remote/iRODS.py
/usr/lib/python3.10/site-packages/snakemake/remote/webdav.py
/usr/lib/python3.10/site-packages/snakemake/report
/usr/lib/python3.10/site-packages/snakemake/report.css
/usr/lib/python3.10/site-packages/snakemake/report/__init__.py
/usr/lib/python3.10/site-packages/snakemake/report/__pycache__
/usr/lib/python3.10/site-packages/snakemake/report/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/report/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/report/report.html.jinja2
/usr/lib/python3.10/site-packages/snakemake/resources.py
/usr/lib/python3.10/site-packages/snakemake/ruleinfo.py
/usr/lib/python3.10/site-packages/snakemake/rules.py
/usr/lib/python3.10/site-packages/snakemake/scheduler.py
/usr/lib/python3.10/site-packages/snakemake/script.py
/usr/lib/python3.10/site-packages/snakemake/shell.py
/usr/lib/python3.10/site-packages/snakemake/sourcecache.py
/usr/lib/python3.10/site-packages/snakemake/stats.py
/usr/lib/python3.10/site-packages/snakemake/unit_tests
/usr/lib/python3.10/site-packages/snakemake/unit_tests/__init__.py
/usr/lib/python3.10/site-packages/snakemake/unit_tests/__pycache__
/usr/lib/python3.10/site-packages/snakemake/unit_tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/unit_tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/unit_tests/templates
/usr/lib/python3.10/site-packages/snakemake/unit_tests/templates/__init__.py
/usr/lib/python3.10/site-packages/snakemake/unit_tests/templates/__pycache__
/usr/lib/python3.10/site-packages/snakemake/unit_tests/templates/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/snakemake/unit_tests/templates/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/snakemake/unit_tests/templates/common.py.jinja2
/usr/lib/python3.10/site-packages/snakemake/unit_tests/templates/ruletest.py.jinja2
/usr/lib/python3.10/site-packages/snakemake/utils.py
/usr/lib/python3.10/site-packages/snakemake/workflow.py
/usr/lib/python3.10/site-packages/snakemake/wrapper.py
/usr/share/doc/snakemake
/usr/share/doc/snakemake/README.md

References

Summary

In this tutorial we learn how to install snakemake on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).