I have a list of Refseq accession numbers such as :
YP_009448812
YP_009448725
YP_009448701
NP_659591
around 10 000 acc_numbers...
and I'm looking for a tools in R or Python in order to get the corresponding Go term ids.
I tried the packages (org.Mm.eg.db)
and (GO.db)
but it does not work.
> Term(names(get(get("YP_009165174", org.Mm.egREFSEQ2EG), org.Mm.egGO)))
Error in .checkKeys(value, Rkeys(x), x@ifnotfound) :
value for "YP_009165174" not found
> Term(names(get(get("YP_009448701", org.Mm.egREFSEQ2EG), org.Mm.egGO)))
Error in .checkKeys(value, Rkeys(x), x@ifnotfound) :
value for "YP_009448701" not found
> Term(names(get(get("NP_659591", org.Mm.egREFSEQ2EG), org.Mm.egGO)))
Error in .checkKeys(value, Rkeys(x), x@ifnotfound) :
value for "NP_659591" not found
> Term(names(get(get("YP_009448812", org.Mm.egREFSEQ2EG), org.Mm.egGO)))
Error in .checkKeys(value, Rkeys(x), x@ifnotfound) :
value for "YP_009448812" not found
Does anyone have an idea? Thank you for your time. I cannot find a egREFSEQ2EG for viruses.