This repository has been archived by the owner on Oct 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
exTerEX
committed
May 15, 2021
1 parent
524ffef
commit 3a28932
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Pymol-Ramachandran | ||
|
||
A simple script to generate a Ramachandran plot from structures within pymol. | ||
|
||
## Installation / How-to-use | ||
|
||
1. Download the repository to your computer. Store the code in $pwd (preferred). Find this directory by running, | ||
|
||
``` | ||
PyMOL> pwd | ||
``` | ||
|
||
The repository can be downloaded either using `Git` or `Download ZIP` directly in Github. Using git this can be done using | ||
|
||
``` | ||
$ git clone https://github.com/exTerEX/pymol-ramachandran.git /path/to/pwd | ||
``` | ||
|
||
2. Run script in pymol (example assume script is in $pwd) | ||
|
||
``` | ||
$ run ramachandran.py | ||
``` | ||
|
||
3. Generatet a Ramachandran plot. Fetch one or more structures in pymol and run | ||
|
||
``` | ||
$ ramaplot() | ||
``` | ||
|
||
or specify which model/residues to be used to generate the plot | ||
|
||
``` | ||
$ ramaplot(model="(pdb-id)", resn="(residue)") | ||
``` | ||
|
||
or use multiple models/residues | ||
|
||
``` | ||
$ ramaplot(model=["(pdb-id)", "(pdb-id)", ...], resn=["(residue)", "(residue)", ...]) | ||
``` | ||
|
||
## License | ||
|
||
This project is licensed under MIT. See [LICENSE](LICENSE) for more information. |