Closed ljournot closed 1 year ago
The problem is that you are trying to not read a file, but the literal text of the path. Replace "IOBuffer" with "open".
Dear Jakob, Thanks a lot for your prompt answer and sorry for the question, which I realize now was trivial. I am relatively new to programing. Best wishes, Laurent
Happy to help. For any other questions, you're welcome to open an issue, but I also recommend checking out the Julia language slack or the Julia language Discourse, both which have biology-related channels.
I am using FASTX.jl for the first time. I try to read a FASTA file "Test_txt.txt", which contains
and get the error message mentioned in the title. The problem is clearly in my file. However, it is readable by other softwares (BioEdit, APE...) able to manage FASTA files. I got the same error message with FASTA files downloaded from the NCBI and with test files saved as MS-DOS or Unicode files. I had a look at the
throw_parser_error
function in the FASTX.jl source file but it didn't help. I will appreciate if you could let me know what the "byte 'C' on line 1" might be and how to get rid of it? Best wishes, LaurentYour Environment