How To Install samtools on Fedora 36
Introduction
In this tutorial we learn how to install samtools
on Fedora 36.
What is samtools
SAM (Sequence Alignment/Map) is a flexible generic format for storing nucleotide sequence alignment. SAM Tools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format.
We can use yum
or dnf
to install samtools
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install samtools.
Install samtools 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 samtools
using dnf
by running the following command:
sudo dnf -y install samtools
Install samtools 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 samtools
using yum
by running the following command:
sudo yum -y install samtools
How To Uninstall samtools on Fedora 36
To uninstall only the samtools
package we can use the following command:
sudo dnf remove samtools
samtools Package Contents on Fedora 36
/usr/bin/ace2sam
/usr/bin/blast2sam.pl
/usr/bin/bowtie2sam.pl
/usr/bin/export2sam.pl
/usr/bin/fasta-sanitize.pl
/usr/bin/interpolate_sam.pl
/usr/bin/maq2sam-long
/usr/bin/maq2sam-short
/usr/bin/md5fa
/usr/bin/md5sum-lite
/usr/bin/novo2sam.pl
/usr/bin/plot-ampliconstats
/usr/bin/plot-bamstats
/usr/bin/psl2sam.pl
/usr/bin/sam2vcf.pl
/usr/bin/samtools
/usr/bin/samtools.pl
/usr/bin/seq_cache_populate.pl
/usr/bin/soap2sam.pl
/usr/bin/wgsim
/usr/bin/wgsim_eval.pl
/usr/bin/zoom2sam.pl
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/38b71bd79012af267060fe9d7d35806fcd41f2
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/0ef65f9af37b294cb755e87f1569484738e728
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/c8c5bffbfc872763bb32d5aa5e110642e3e7a0
/usr/lib/.build-id/79
/usr/lib/.build-id/79/06aa0741cdc69d0a7c0218648b0c3ec46071cb
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/e06ec4f5ef068d50e2e32a7c8be0aad1ed9713
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/97c5a8ac8e66c1cd351610b108612f5b133f92
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/96d41b9d54bf4a6ac9a78f508d8fff8e1b2d15
/usr/share/doc/samtools
/usr/share/doc/samtools/AUTHORS
/usr/share/doc/samtools/ChangeLog.old
/usr/share/doc/samtools/NEWS
/usr/share/doc/samtools/examples
/usr/share/doc/samtools/examples/00README.txt
/usr/share/doc/samtools/examples/ex1.fa
/usr/share/doc/samtools/examples/ex1.sam.gz
/usr/share/doc/samtools/examples/toy.fa
/usr/share/doc/samtools/examples/toy.sam
/usr/share/licenses/samtools
/usr/share/licenses/samtools/LICENSE
/usr/share/man/man1/samtools-addreplacerg.1.gz
/usr/share/man/man1/samtools-ampliconclip.1.gz
/usr/share/man/man1/samtools-ampliconstats.1.gz
/usr/share/man/man1/samtools-bedcov.1.gz
/usr/share/man/man1/samtools-calmd.1.gz
/usr/share/man/man1/samtools-cat.1.gz
/usr/share/man/man1/samtools-collate.1.gz
/usr/share/man/man1/samtools-coverage.1.gz
/usr/share/man/man1/samtools-depad.1.gz
/usr/share/man/man1/samtools-depth.1.gz
/usr/share/man/man1/samtools-dict.1.gz
/usr/share/man/man1/samtools-faidx.1.gz
/usr/share/man/man1/samtools-fasta.1.gz
/usr/share/man/man1/samtools-fastq.1.gz
/usr/share/man/man1/samtools-fixmate.1.gz
/usr/share/man/man1/samtools-flags.1.gz
/usr/share/man/man1/samtools-flagstat.1.gz
/usr/share/man/man1/samtools-fqidx.1.gz
/usr/share/man/man1/samtools-idxstats.1.gz
/usr/share/man/man1/samtools-import.1.gz
/usr/share/man/man1/samtools-index.1.gz
/usr/share/man/man1/samtools-markdup.1.gz
/usr/share/man/man1/samtools-merge.1.gz
/usr/share/man/man1/samtools-mpileup.1.gz
/usr/share/man/man1/samtools-phase.1.gz
/usr/share/man/man1/samtools-quickcheck.1.gz
/usr/share/man/man1/samtools-reheader.1.gz
/usr/share/man/man1/samtools-rmdup.1.gz
/usr/share/man/man1/samtools-sort.1.gz
/usr/share/man/man1/samtools-split.1.gz
/usr/share/man/man1/samtools-stats.1.gz
/usr/share/man/man1/samtools-targetcut.1.gz
/usr/share/man/man1/samtools-tview.1.gz
/usr/share/man/man1/samtools-view.1.gz
/usr/share/man/man1/samtools.1.gz
/usr/share/man/man1/wgsim.1.gz
References
Summary
In this tutorial we learn how to install samtools
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).