Hello all, Thanks to James W. MacDonald I was able to figure out how to convert NCBI forms to Enseml forms, however the database provided requires you to know the species before hand (library(org.Hs.eg.db), where Hs is Homo sapiens). I can't seem to find a database that compiles all species, nor can I find a tool that can take an accession number and translate it into its organism's name. I am using R. Thank you for any help, J. Denton edit for clarification: for the accession number translation, an example would be NP_062749.2=Mus Musculus.
It appears that my code is not working, as I keep getting an error regarding "argument x"
Error in .testForValidKeys(x, keys, keytype, fks) : None of the keys entered are valid keys for 'REFSEQ'. Please use the keys method to see a listing of valid arguments.
The
getIds
function was meant to just get some example IDs so I could provide an example. You already have the IDs! You should be using a vector of the IDs you are trying to annotate as the input rather than the fake (rando) set of IDs that I used.