This Code is an implementation for our paper "ATSE: a peptide toxicity predictor by exploiting structural and evolutionary information based on graph neural network and attention mechanism"
Python 3.x
Pytorch ~ 1.6
Code for paper "ATSE: a peptide toxicity predictor by exploiting structural and evolutionary information based on graph neural network and attention mechanism"
def get_line_numpy(line, start=11, end=91, step=4):
'''
输入一行,返回处理后的np数组
默认start是11,end是91,step是4
start=10 end=69 step=3
'''
np_line = np.zeros([20])
index = 0
for symbol, num in zip(line[start:end:step], line[start + 1:end:step]):
if symbol == '-':
statu = -1
else:
statu = 1
np_line[index] = statu * int(num)
index = index + 1
return np_line
难道不应该是:
def get_line_numpy(line, start=2, nums=20):
"""
跳过行号和氨基酸符号,读取每行的20个值
"""
return np.array(line.split()[start: start+nums], dtype=np.int)
不然,-10或者10都会读成0,而-11和11会变成1
Hi could you please provide train.csv and test.csv? They are needed for main.py
Thanks!
请问,PSSM是在哪些库上得到的?模型是否对库敏感?
hi i don't see any best model saved from your code. Could you please post the best saved model?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.