Biopython 安装使用

Biopython 官网:https://biopython.org/

安装 Biopython  https://biopython.org/wiki/Download

 可以使用 pip 进行安装, 注意有时需要使用管理员权限,即管理员打开 cmd

pip install biopython

Biopython 安装使用_第1张图片

验证安装是否成功

Biopython 安装使用_第2张图片

Biopython 官方教程

https://biopython.org/wiki/Documentation

Biopython 的 API 文档

http://biopython.org/DIST/docs/api/

 读取并输出 fastq 文件

for record in SeqIO.parse(fastq_file, "fastq"):
            fastq_bc = id_bc[record.id]
            print(record.format("fastq"), file = bc_file, end = "")

 

转载于:https://www.cnblogs.com/0820LL/p/10722016.html

你可能感兴趣的:(Biopython 安装使用)