编码 from __future__ import division def get_aa_percentage(protein, aa_list=['A','I','L','M','F','W','Y','V']): protein = protein.upper() protein_length = len(protein) total = 0 for aa in aa_list: aa = aa.upper() aa_count = protein.count(aa) total += a…
一. 不同用户下配置virtualenvwrapper的问题 问题描述: 安装virtualnev和virtualnevwrapper之后,在.bashrc进行virtualenvwrapper的相关配置后重新加载.bashrc文件时报错. 报错内容大致如下: /usr/bin/python: No module named virtualenvwrapper virtualenvwrapper.sh: There was a problem running the initialization…