Biostar Beta. Not for public use.
download KEGG genes sequence in fasta format
0
Entering edit mode
19 months ago
National Centre for Cell Science, Pune

Is there any tool or script or package to download the KEGG gene sequence in fasta format by KO ids? I have list of KO's.

ADD COMMENTlink
0
Entering edit mode

It would help if you post some example KOs here. Use keggrest and user manual here. Sequence object is biostrings. You can write them to hdd in fasta format using biostrings package (writeXStringSet function). Try below example code and example kegg IDs are taken from manual::

library(KEGGREST)
test.seq=keggGet(c("hsa:10458", "ece:Z5100"), "ntseq")
library(Biostrings)
writeXStringSet(test.seq,"temp.fa", format = "fasta")
ADD REPLYlink

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.3.1