The Python script facilitates the retrieval and processing of KEGG orthology (KO IDs) data from the Kyoto Encyclopedia of Genes and Genomes (KEGG) database.
The KO_extract.py script can be either copied or downloaded with:
wget https://raw.githubusercontent.com/hassantarabai/KO_extract/main/KO_extract.py
1-Prepare a text file with a list of organism codes in the first column. Organism codes can be obtained from here.
2-Run the tool:
python KO_extract.py
3-Povide the full path to the input file when prompted.
4-The tool fetches and processes KOs for each provdied organism code.
5-Enter the desired path and the output file name.
The output file includes a list of fetched "KOs" corresponding to the input organisms.