Skip to content

Commit

Permalink
License and Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
muthoff committed Nov 15, 2021
1 parent 14492ff commit b3d4235
Show file tree
Hide file tree
Showing 51 changed files with 15 additions and 615 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ This package provides a custom docker-free adaptation of AlphaFold 2.0 (Jumper e

## Installation
### Get ComplexFold
'''bash
```bash
git clone https://github.com/muthoff/ComplexFold
cd ComplexFold
CFDIR=$PWD
'''
```

### Get Conda
'''bash
```bash
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
'''
```
Let it initialize
'''bash
```bash
echo "conda deactivate\n" >> ~/.bashrc
source ~/.bashrc
conda update conda
conda install pip
rm -r Miniconda3-latest-Linux-x86_64.sh
'''
```

### Setup Conda
'''bash
```bash
conda create -y --name af2 python==3.8
conda activate af2

Expand All @@ -34,16 +34,16 @@ conda install -y -c bioconda hmmer==3.3.2 hhsuite kalign2

pip3 install -r $CFDIR/requirements.txt
pip3 install --upgrade jax jaxlib==0.1.69+cuda111 -f https://storage.googleapis.com/jax-releases/jax_releases.html
'''
```

### Update openmm
'''bash
```bash
PYTHON=$(which python)
cd $(dirname $(dirname $PYTHON))/lib/python3.8/site-packages
patch -p0 < $CFDIR/docker/openmm.patch

conda deactivate
'''
```

## Genetic databases

Expand Down Expand Up @@ -138,7 +138,7 @@ will download parameters for:
Jumper et al. 2021, Suppl. Methods 1.9.7 for details).
## Final set up and simple run of ComplexFold
1. Go through the section "Defaults" `ComplexFold/run_complexfold.sh' and change appropriatly.
1. Go through the section "Defaults" `ComplexFold/run_complexfold.sh` and change appropriatly.
2. Run `run_complexfold.sh` pointing to a FASTA file containing the protein sequence
for which you wish to predict the structure and a description line stating with '>'.
You can provide multiple sequences per FASTA file in order to predict complexes.
Expand All @@ -156,7 +156,7 @@ For the predictions of complexes you have to provide the description and the seq
for each component, including homomers. The homomer sequence and description must be identical!
A trimer with two unique proteins would have a FASTA file like this for example:
'''fasta
```fasta
>FirstProtein
ABCDGH
Expand All @@ -167,7 +167,7 @@ ABCDGH
GHLKET
PTWS
'''
```

### Complex Mode
ComplexFold auto detects heteromers and changes a few things for better prediction.
Expand Down
Binary file removed alphafold/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/__pycache__/complexfold.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/common/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file removed alphafold/common/__pycache__/protein.cpython-38.pyc
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion alphafold/complexfold.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
import json
import os
import pickle
import numpy as np
from typing import Dict

from absl import flags
from alphafold.model import features
from alphafold.data import colabfold

import jax
import numpy as np
import matplotlib.pyplot as plt


Expand Down
Binary file removed alphafold/data/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/data/__pycache__/colabfold.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed alphafold/data/__pycache__/parsers.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/data/__pycache__/templates.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed alphafold/data/tools/__pycache__/utils.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed alphafold/model/__pycache__/config.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/data.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/features.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/folding.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file removed alphafold/model/__pycache__/lddt.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/mapping.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/model.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/modules.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/prng.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file removed alphafold/model/__pycache__/r3.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/__pycache__/utils.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/model/tf/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed alphafold/model/tf/__pycache__/utils.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/relax/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file not shown.
Binary file removed alphafold/relax/__pycache__/cleanup.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/relax/__pycache__/relax.cpython-38.pyc
Binary file not shown.
Binary file removed alphafold/relax/__pycache__/utils.cpython-38.pyc
Binary file not shown.
92 changes: 0 additions & 92 deletions run_alphafold_test.py

This file was deleted.

Loading

0 comments on commit b3d4235

Please sign in to comment.