Question: How to fetch gene bank flat file (.gb) in R
0
gravatar for Neu
13 days ago by
Neu10
India
Neu10 wrote:

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 • 84 views
ADD COMMENTlink modified 13 days ago by WouterDeCoster41k • written 13 days ago by Neu10
3

Please provide the code that gives this error.

ADD REPLYlink written 13 days ago by zx87548.2k

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 REPLYlink written 13 days ago by Jean-Karim Heriche20k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1871 users visited in the last hour