Dnastringset Error Biostrings In R
0
0
Entering edit mode
10.1 years ago
Tom A ▴ 110

Hello Biostars,

I am attempting to import a fasta file of sequences into R using Bioconductor's 'Biostrings' package and the 'DNAStringSet' function, but I keep getting the same error:

Error in .Call2("new_XString_from_CHARACTER", classname, x, start(solved_SEW),  : 
key 112 (char 'p') not in lookup table

My fasta file ("FileName.fa") is in the following format:

>GeneNameOne
CAGACACCCATAGATACAGATAGACAGATAGAGAAGACACCACCACACAATGA
>GeneNameTwo
CGCGACATGAACCCATGATAGACGATGAGACCCCACACACACC
...etc

Does anyone have an idea on what is going on? Thanks in advance.

r bioconductor • 3.7k views
ADD COMMENT
0
Entering edit mode

What happens if you grep p FileName.fa?

ADD REPLY
0
Entering edit mode

Im assuming you mean, using the Unix terminal. Nothing happens.

ADD REPLY
0
Entering edit mode

Yes, I was just curious if there actually is a 'p' in the file. Apparently not. It's useful in these cases to have a small test-case that reproduces the problem. If you can make a small enough version of that file that it can be posted somewhere easily then that'd be helpful.

ADD REPLY

Login before adding your answer.

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