KIT-MBS / distruct

MIT License
2 stars 1 forks source link

what does the content mean in /distructshare/1ptq.dist ? #3

Open wjxts opened 1 year ago

wjxts commented 1 year ago

can I use it for other protein sequence?

oskar-taubert commented 1 year ago

see distruct/doc/example.py The file is formatted as whitespace separated lines containing one contact each as chain1 residue1 atom1 chain2 residue2 atom2 distance weight You can use this as an input similar to the example given or read the contact data from any file format you might have, reformat them to the data structure demonstrated in the example and supply them to the algorithm with Distructure.set_tertiary_contacts(...)

Hope this answers your question.