目录

R-CMD-check CRAN status

Blaster

Blaster implements an efficient BLAST-like sequence comparison algorithm, written in C++11 and using native R datatypes. Blaster is light-weight, fast and dependency-free. The code base of Blaster is adapted from nsearch. An implementation of nsearch for Python is available at npysearch.

Installation

From Conda

conda install -c conda-forge r-blaster 

Development version from GitHub

devtools::install_github("tamminenlab/blaster")

Examples

# Read a query file into DataFrame

query <- read_fasta("inst/extdata/query.fasta")

# Read a database file into a DataFrame

db <- read_fasta("inst/extdata/db.fasta")

# BLAST the query against the database

blast_table <- 
    blast(query, db)

# BLAST protein sequence file against itself using filenames as blast function arguments

prot_blast_table <-
    blast(query = "inst/extdata/prot.fasta",
          db = "inst/extdata/prot.fasta",
          alphabet = "protein")

# Filter the sequences containing motif GAGACTT

query <- read_fasta("query.fasta", "GAGACTT")

Tested on

  • linux_64, r-base >= 4.0, r-cpp >= 1.0.5
  • osx_64, r-base >= 4.0, r-cpp >= 1.0.5
  • win_64, r-base >= 4.0, r-cpp >= 1.0.5

Details available at https://anaconda.org/conda-forge/r-blaster/files.

关于

序列快速比对与匹配工具,用于同源搜索和参考数据库检索。

149.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号