README.md 1.08 KB
Newer Older
Dingquan Yu's avatar
Dingquan Yu committed
1
# Permutation code README
2

Dingquan Yu's avatar
Dingquan Yu committed
3
## Overview:
Dingquan Yu's avatar
Dingquan Yu committed
4
5
6
7
8

NB: before running the test codes,please download the procrustes package first:
from https://github.com/theochem/procrustes


Dingquan Yu's avatar
Dingquan Yu committed
9
10
11
12
The only file that has been changed is:
[```openfold/utils/loss.py```](https://github.com/dingquanyu/openfold/blob/permutation/openfold/utils/loss.py), in which the forward function is modified in 
original ```AlphaFoldLoss``` class; create a child class called ```AlphaFoldMultimerLoss``` that not only inherited all the loss calculations but also 
has multi-chain permutation codes.
13

Dingquan Yu's avatar
Dingquan Yu committed
14
15
16
These files are newly added:
[```tests/test_permutation.py```](https://github.com/dingquanyu/openfold/blob/permutation/tests/test_permutation.py): A unittest script 
that tests permutation functions.
Gustaf Ahdritz's avatar
Gustaf Ahdritz committed
17

Dingquan Yu's avatar
Dingquan Yu committed
18
19
20
[```tests/test_data/label_1.pkl```](https://github.com/dingquanyu/openfold/blob/permutation/tests/test_data/label_1.pkl) 
and [```tests/test_data/label_2.pkl```](https://github.com/dingquanyu/openfold/blob/permutation/tests/test_data/label_2.pkl) are 2 fake ground truth structures.
```label_1.pkl``` has 9 residues and ```label_2.pkl``` has 13 residues