PATO icon indicating copy to clipboard operation
PATO copied to clipboard

core_genome() function

Open jhcuarta opened this issue 3 years ago • 2 comments

Hi

When I run the core_genome command i got the following error

core <- core_genome(mm, type = 'prot', n_cores = 6, method = "accurate") Joining, by = "head" Error in core_genome(mm, type = "prot", n_cores = 6, method = "accurate") : No core_genome found

This is the script I've been running

library(V8) library(pato) library(dplyr) library(tidyr) library(tibble) library(dtplyr) library(foreach) library(doParallel) library(parallel) gff_files <- dir("/home/jason/Documentos/PATO_vibrio/gff_143", pattern = ".gff", full.names = T) gffs <- load_gff_list(gff_files) my_mash <- mash(gffs, type ="prot") species <- classifier(gffs, n_cores = 6, type = 'prot') species %>% group_by(organism_name) %>% summarise(Number = n()) my_mmseq <- mmseqs(gff_files, coverage = 0.8, identity = 0.8, evalue = 1e-6, n_cores = 6, cov_mode = 0, cluster_mode = 0) my_accnet <- accnet(my_mmseq, threshold = 0.8, singles = FALSE) mm <- mmseqs(gffs, type = "prot") core <- core_genome(mm, type = 'prot', n_cores = 6, method = "accurate")

Regards

jhcuarta avatar Aug 31 '21 18:08 jhcuarta