Hi,
First off, this looks like a great package! I am excited to use it. However, I cannot make it work :(
After a successful install, I run the following command
`
library(devtools)
library(cognac)
library(reticulate)
use_condaenv("cognac") #activate cognac env that includes MAFFT and CD_HIT
algnEnv = cognac(
fastaDir = "/Users/pablo/Downloads/cognac_fasta/",
featureDir = "/Users/pablo/Downloads/cognac_gff/",
threadVal = 4
)
`
But then I get the following error:
sh: cd-hit: command not found Error in ParseCdHit(cdHitClstrFileName, FALSE, minGeneNum, geneEnv) : Cannot open the cd-hit results... In addition: Warning messages: 1: In CreateCognacRunData(geneEnv, featureFiles, fastaFiles, faaPath) : Warning: No coding genes were able to be translated for 2_Ar_NCPPB2659_lane2_K85 2: In system(cdHitCmd) : error in running command
I am not sure what is going on since I made a specific environment with the dependencies for cognac using conda and then activated the environment in RStudio.
Any suggestion on how to deal with this issue?
Cheers,
Pablo
Hi,
First off, this looks like a great package! I am excited to use it. However, I cannot make it work :(
After a successful install, I run the following command
`
library(devtools)
library(cognac)
library(reticulate)
use_condaenv("cognac") #activate cognac env that includes MAFFT and CD_HIT
algnEnv = cognac(
fastaDir = "/Users/pablo/Downloads/cognac_fasta/",
featureDir = "/Users/pablo/Downloads/cognac_gff/",
threadVal = 4
)
`
But then I get the following error:
sh: cd-hit: command not found Error in ParseCdHit(cdHitClstrFileName, FALSE, minGeneNum, geneEnv) : Cannot open the cd-hit results... In addition: Warning messages: 1: In CreateCognacRunData(geneEnv, featureFiles, fastaFiles, faaPath) : Warning: No coding genes were able to be translated for 2_Ar_NCPPB2659_lane2_K85 2: In system(cdHitCmd) : error in running commandI am not sure what is going on since I made a specific environment with the dependencies for cognac using conda and then activated the environment in RStudio.
Any suggestion on how to deal with this issue?
Cheers,
Pablo