I encountered a problem using uniprot.ws package from R.
I want to get interpro domains for list of uniprot IDs using following command:
up <- UniProt.ws(taxId=9606)
select(up, keys=c("O76064"), columns=c("INTERPRO"), keytype="UNIPROTKB")
if I want to get these information for different organisms, is there any way to use this function without explicitly setting taxid to a specific one?
Generally I want to get domain list for list of uniprot IDs from different organisms, It would be really worthwhile for me to know other tools or a variation for above function for this purpose.
Try setting the taxID to an empty string. In principle, the UniProt REST API doesn't need it when you have accession numbers. Another option is to query the API yourself. See the (well hidden) UniProt REST API documentation.
Thanks for your reply,
I tried empty string but it doesn't work. I try to write my own query.