Annotate diamond database hits with transcript info.

annotate_contigs(matches, reference = NA)

Arguments

matches

Path to diamond output (*.m8).

reference

The reference fasta. Optional, required if matches have truncated ids.

Value

The annotated hits as data table.