Copy number variation study using CNOGpro
0
0
Entering edit mode
5.2 years ago
Neu ▴ 10

Hi,

I want to study copy number variation using CNOGpro. Below are my commands. Please help me to resolve the generated errors.

library("reutils")
library("biofiles")

b_file <- reutils::efetch("CP002806", "nuccore", rettype = "gbwithparts", retmode = "text")
bk_file <- biofiles::gbRecord(gb_file)
gbkfile <- biofiles::gbRecord(gb_file)

CNOGpro(hitsfile, gbkfile, windowlength = 100, name = "C. psittaci")

Error Reading contents of GenBank file... Error in readLines(con = gbkfile) : 'con' is not a connection

Thank you

R • 847 views
ADD COMMENT
0
Entering edit mode

Check if the class class(gbkfile) is a connection. readLines 1st argument con expects a connection.

Read about ?connections

ADD REPLY

Login before adding your answer.

Traffic: 1818 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6