摘要: def getSnpWeightDict(): ''' 获取权重字典 算法:F=max(v) F标示某个snp最大出现的频次 for i in I put:w(i)=10-9lnf(i)/ln(F) :param re: :param maxcount: :return: ''' re=defaul 阅读全文
posted @ 2016-07-27 17:14 similarface 阅读(150) 评论(0) 推荐(0) 编辑
摘要: $x表示xpath标签选择器 #a元素以href属性以/w3c/index.asp开头的 $x('//a[starts-with(@href,"/w3c/index.asp")]') #选取 html 元素的所有子节点。 $x('html') #选取 根元素html 元素的所有子节点。 $x('/h 阅读全文
posted @ 2016-07-27 11:08 similarface 阅读(227) 评论(0) 推荐(0) 编辑