How to fetch gene bank flat file (.gb) in R
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
• 1,591 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Please provide the code that gives this error.
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.