blast_baits: Blast baits against a database

Description Usage Arguments Value

View source: R/blast_baits.R

Description

Finds the number of matches for each bait generated by the do_baits function. Uses BLAST to match the baits against either the same database, or a different one (if using the argument db). The blastn parameters can be adjusted using the blastn_args argument. The following parameters are already set and should not be changed: -db, -query, -out and -outfmt.

Usage

1
blast_baits(x, db = NULL, blastn_args = "")

Arguments

x

the output of the do_baits function

db

OPTIONAL: A FASTA file against which the baits should be blased. If left empty, the database from which the baits were created is used.

blastn_args

Additional parameters that can be passed to the blastn call.

Value

The same output as do_baits, but with an additional column in the baits showing the number of matches.


BelenJM/supeRbaits documentation built on Jan. 28, 2022, 1:44 a.m.