GithubHelp home page GithubHelp logo

kimjc95 / gmx_cyclizer.py Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 20 KB

Script for generating cyclic peptide's topology in GROMACS versions < 2021

License: GNU General Public License v3.0

Python 100.00%
gromacs

gmx_cyclizer.py's Introduction

gmx_cyclizer.py

Script for

  1. trimming and reordering atom indices in cyclic.top file
  2. reordering atom indices in porse_cyclic.itp file
  3. merging the receptor's .gro file and cyclic peptide's .gro file into one

input parameters:

		command line parameters:
		1     name of cyclic.top file
		2     name of cyclic.gro file
		3 (opt) receptor's .gro file

output file:

		1	topol_cyclic.itp file
		2	posre_cyclic.itp file
		3	cyclic.gro or complex.gro file

Before GROMACS ver. 2021 update, it was difficult to generate the cyclic peptide's topology with pdb2gmx. This script automates the process.

How to use

1. Prepare the linearized peptide's topology

pass down your cyclic peptide's .pdb file into pdb2gmx with -ter option. Select no modification on the termini.

gmx pdb2gmx -f input_peptide.pdb -o linear_peptide.gro -ter

2. Manually edit the linearized peptide's .gro file

Open the .gro file generated from the previous step with text editor. Copy the last residue's atom coordinates and paste before the first residue. Copy the first residue's atom coordinates and paste after the last residue.

3. Use gmx_cyclizer.py!

Feed the topology file and the edited coordinate file into the gmx_cyclizer.py. If present, feed the receptor's atom coordinates with an additional .gro file.

python gmx_cyclizer.py peptide.top peptide.gro

or

python gmx_cyclizer.py peptide.top peptide.gro receptor.gro

4. Enjoy simulation!

gmx_cyclizer.py's People

Contributors

kimjc95 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.