|
Algorithm 1: Acmi-PF's algorithm for growing a protein model. |
|
|
input : density map y, amino-acid marginals p̂k(bk) |
|
output: set of protein models
and weights
|
| // start at some AA with high certainty about its location
|
| choose k such that p̂k(
) has minimum entropy |
|
foreach particle i = 1… N do
|
| choose
at random from p̂k(
) |
|
← 1/N
|
| end |
|
foreach residue k do
|
| foreach particle i = 1… N do
|
| // choose bk+1 (or bk−1) given
|
| {
} ← choose M samples from φadj(
, bk+1) |
| w*m ← belief p̂i (
) |
|
← choose
with probability ∝ w*m
|
|
←
·
w*m
|
| // choose skgiven
|
| {
} ← sidechain conformations for amino-acid k
|
|
← prob cc(
, EDM[bk]) occurred by chance |
| sk ← choose
with probability ∝ 1/
− 1 |
|
←
·
1/
−1 |
| end
|
| end |