annotate_blast: Annotate blast results

Description Usage Arguments Details Value Examples

Description

This function will add metadata to the blast results.

Usage

1
annotate_blast(blast_out, metadata, dir = ".")

Arguments

blast_out

The filename of the blast results

metadata

The subset of the metadata obtained with the merge_files or the download_files functions.

dir

The directory where the fasta files are located.

Details

The blast results must contain an header with the following columns:

  1. qseqid

  2. sseqid

  3. evalue

  4. qlen

  5. qlen

  6. pident

  7. qcovs

  8. length

  9. sstart

  10. send

Value

A data.frame with the annotated results

Examples

1
2
3
4
5
## Not run: 
  metadata <- get_demo_metadata()
  annotate_blast("test.out", metadata, dir = ".")

## End(Not run)

ArnaudDroitLab/wgs documentation built on June 21, 2019, 1:51 p.m.