如何使用python将多糖转化为树状结构? [关闭]

问题描述 投票:0回答:0

如何使用python将多糖转化为树状结构?

python代码把Neu5Aca2-3(GalNAcb1-4)Galb1-3GalNAcb1-4(Neu5Aca2-3)Galb1-4Glc这样的树结构转换成? '''

class node:
  def _init_(self,lable,parent):
       self.lable =lable
       self.parent = parent
       self.children = children

'''

python list struct tree binary-tree
© www.soinside.com 2019 - 2024. All rights reserved.