Skip to content

Create a simple Ramachandran diagram using a protein PDB file.

Notifications You must be signed in to change notification settings

katkanaz/ramac-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ramachandran Diagram Viewer

Create a simple Ramachandran diagram using a protein .pdb file.

Table of Contents

  1. Installation
  2. Usage
  3. Configuration
  4. Project Structure

Installation

Prerequisites

  • install the g2 library
    • e.g. on Ubuntu apt install libg2-dev
  • install the necessary font for g2 library
    • e.g. on Ubuntu apt install xfonts-100dpi

Steps

  • run make to compile
  • run make run to compile and execute the program
  • run make clean to remove the executable

Usage

After compiling with make run or running ./ramac ramac.conf, the program will read the input .pdb file specified in ramac.conf and display the corresponding Ramachandran diagram.

Ramachandran Diagram Example for 2dhc.pdb

Configuration

Config file is passed as the first argument to the program.

The configuration file has the following options:

  • INPUT_FILE - path to input .pdb file
  • WINDOW_SIZE - width, height of the diagram window

To comment out a line put # as the first character.

Example config file:

INPUT_FILE = data/2dhc.pdb
WINDOW_SIZE = 550, 550

Project Structure

ramachandran-diagram-viewer/
│
├── data/ # Example .pdb file for testing
├── docs/ # Docs images
├── src/
├── .gitignore
├── Makefile
├── README.md
└── ramac.conf

About

Create a simple Ramachandran diagram using a protein PDB file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published