Closed aleuUH closed 3 years ago
Ah, good question (and not well documented, I have to admit). read_blast()
reads blast results just in a generic way (as is). To add the missing columns import your blast results with read_sublinks()
- this tells gggenomes to expect links between genomes, and the 'sub' tells it that ids and coordinates are relative to features (proteins), not sequences (contigs).
This is how I generated emale_prot_ava
:
emale_prot_ava <- read_sublinks(ex("emales/emales-prot-ava.o6"))
Working now.
Thanks again!
Hello again @thackl
I was wondering how the emale_prot_ava file was generated. I created a blastp file with outfmt 6 and read that in using read_blast() as so:
FR_prot_ava <-read_blast("genes.blastp.tsv")
which looks like this: FR_prot_ava
A tibble: 671 x 12
qaccver saccver pident length mismatch gapopen qstart qend sstart send evalue bitscore