如何安装 samtools Debian 10

了解如何安装 samtools Debian 10 通过本教程。 samtools 正在处理 SAM、BAM 和 CRAM 格式的序列比对

介绍

在本教程中我们学习如何安装 samtools 在 Debian 10.

什么是 samtools

萨姆工具是:

Samtools 是一组以二进制 BAM 格式操作核苷酸序列比对的实用程序。 它可以导入和导出 ascii SAM(序列比对/映射)和 CRAM 格式,进行排序、合并和索引,并允许快速检索任何区域中的读数。 它被设计为在流上工作,并且能够在远程 FTP 或 HTTP 服务器上打开 BAM 或 CRAM(不是 SAM)文件。

有三种安装方法 samtools 在 Debian 10.我们可以使用 apt-get, aptaptitude。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。

更新 apt 数据库 apt-get 使用以下命令。

更新apt数据库后,我们可以安装 samtools 使用 apt-get 通过运行以下命令:

sudo apt-get -y install samtools

更新 apt 数据库 apt 使用以下命令。

更新apt数据库后,我们可以安装 samtools 使用 apt 通过运行以下命令:

sudo apt -y install samtools

如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Debian。 更新 apt 数据库 aptitude 使用以下命令。

更新apt数据库后,我们可以安装 samtools 使用 aptitude 通过运行以下命令:

sudo aptitude -y install samtools

仅卸载 samtools 打包我们可以使用以下命令:

sudo apt-get remove samtools

卸载 samtools 及其依赖项

卸载 samtools 及其不再需要的依赖项 Debian 10、我们可以使用下面的命令:

sudo apt-get -y autoremove samtools

删除 samtools 配置和数据

去除 samtools 配置和数据来自 Debian 10.我们可以使用如下命令:

sudo apt-get -y purge samtools

删除 samtools 配置、数据及其所有依赖项

我们可以使用下面的命令来删除 samtools 配置、数据及其所有依赖项,我们可以使用以下命令:

sudo apt-get -y autoremove --purge samtools

依赖关系

samtools 具有以下依赖项:

参考

概括

在本教程中我们学习如何安装 samtools 封装在 Debian 10. 使用不同的包管理工具: apt, apt-getaptitude