R/blast_protein_to_proteomes.R
blast_protein_to_proteomes.Rd
This function takes a fasta file containing query sequences as input and performs BLAST searches of these query sequences against a set of reference proteomes to retrieve corresponding hits in diverse proteomes
blast_protein_to_proteomes(
query,
subject_proteomes,
blast_type = "blastp",
blast_output_path = "blast_output",
min_alig_length = 30,
evalue = 1e-05,
max.target.seqs = 5000,
update = FALSE,
...
)
path to input file in fasta format.
a vector containing file paths to the reference proteomes that shall be queried (e.g. file paths returned by meta.retrieval
).
specification of the BLAST type shall be used to perform BLAST searches between query and reference. Available options are:
task = "blastp"
: Standard protein-protein comparisons (default); (see blast_protein_to_protein
for details).
task = "blast-fast"
: Improved BLAST searches using longer words for protein seeding.
task = "blastp-short"
: Optimized protein-protein comparisons for query sequences shorter than 30 residues.
a path to a folder that will be created to store BLAST output tables for each individual query-proteome search.
minimum alignment length that shall be retained in the result dataset. All hit alignments with smaller hit alignment length will be removed automatically.
minimum expectation value (E) threshold for retaining hits (default: evalue = 0.00001).
maximum number of aligned sequences that shall be retained. Please be aware that max.target.seqs
selects best hits based on the database entry and not by the best e-value. See details here: https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/bty833/5106166 .
a logical value indicating whether or not pre-computed BLAST tables should be removed and re-computed (update = TRUE
)
or imported from existing file (update = FALSE
) (Default).
additional arguments passed to blast_protein_to_protein
.
The blast_protein_to_proteomes
function enables users to BLAST specific query sequences against a set of reference proteomes
and retrieve the corresponding BLAST output.