I was using KEGGgraph to parse this lipid processing pathway, https://www.genome.jp/pathway/hsa01040, and some genes are actually depicted as lines, which have a different graphics description to other types of gene nodes.
In my own testing, this code handles both normal genes and compounds fine, as well as the added "line" genes.
I was using KEGGgraph to parse this lipid processing pathway, https://www.genome.jp/pathway/hsa01040, and some genes are actually depicted as lines, which have a different graphics description to other types of gene nodes.
In my own testing, this code handles both normal genes and compounds fine, as well as the added "line" genes.