How to fetch gene bank flat file (.gb) in R
0
0
Entering edit mode
4.7 years ago
Neu ▴ 10

Hello, I need to fetch gene bank flat file of bacteria (Mycobacterium_smegmatis) in R. I have tried using Biofiles. It's not working and generating the error as below

Error in biofiles::gbRecord(mito.path) : 
  'rcd' must be the path to GenBank or Embl flat file or an 'efetch' object containing GenBank records

Please suggest me how can I do that.

Thank you

R • 1.1k views
ADD COMMENT
3
Entering edit mode

Please provide the code that gives this error.

ADD REPLY
0
Entering edit mode

What the error message says is that mito.path is not a valid path to a Genbank file nor an efetch object. If you're trying to read a file, make sure that it's accessible to your script.

ADD REPLY

Login before adding your answer.

Traffic: 1759 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