Skip to content

Latest commit

ย 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฌ COX-2 Molecular Dynamics

How paracetamol, dipyrone metabolites and arachidonic acid interact with the two active sites of cyclooxygenase-2

Amber AmberTools Gaussian
Python pytraj Jupyter

MRes research project ยท all-atom MD of the COX-2 homodimer

Overview โ€ข Systems โ€ข Workflow โ€ข Results โ€ข Quick start โ€ข Layout โ€ข Reading


๐Ÿ”ญ Overview

Cyclooxygenase-2 (COX-2) is a homodimer, and each monomer has two catalytic sites:

๐Ÿ”ด COX site

The cyclooxygenase channel, where the substrate arachidonic acid binds and Tyr385 starts catalysis. Classical NSAIDs and coxibs such as rofecoxib block this site.

๐ŸŸข POX site

The peroxidase site at the heme. One proposed mechanism is that paracetamol and dipyrone metabolites act here as reducing co-substrates rather than blocking the channel.

This project uses all-atom molecular dynamics to test where these drugs sit and what they do to the enzyme. For every system it compares:

๐Ÿ“ Binding stability ๐ŸŒ€ Protein dynamics ๐Ÿ”— Allostery โšก Energetics
distance to Tyr385 or the heme iron RMSD ยท RMSF ยท radius of gyration residue correlation ร— contact networks between monomers MM/PBSA and MM/GBSA binding energies

At a glance

Ligands 6: two references and four analgesics/metabolites
Binding sites COX site, POX site, and both at once (1C_2P)
Sampling 300 ns per replica, 2โ€“3 replicas per system
Force field ff19SB ยท GAFF + RESP ยท MCPB.py heme/Fe model
Solvent OPC or TIP3P water, Naโบ/Clโป
Time step 4 fs with hydrogen mass repartitioning

๐Ÿ’Š Systems

Ligand What it is Role in this study
๐Ÿงช AA: arachidonic acid Natural COX-2 substrate Reference. Productive (tail-up) and non-productive (head-up) poses
๐Ÿ›‘ Vioxx: rofecoxib Selective COX-2 inhibitor Reference for a COX-site blocker
๐Ÿ’Š APAP: paracetamol Analgesic / antipyretic COX site and POX site
๐Ÿ” AM404: N-arachidonoylphenolamine Paracetamol metabolite COX site and POX site
๐Ÿ’‰ MAA: 4-methylaminoantipyrine Active metabolite of dipyrone COX site and POX site
๐Ÿ” 4-AA: 4-aminoantipyrine Metabolite of dipyrone COX site and POX site

Tip

Naming convention: MAA_POX means MAA at the POX site. 1C_2P systems have two copies of the ligand, one in a COX site and one at a POX site. rep2/rep3 are independent replicas.


๐Ÿงญ Workflow

flowchart LR
    A["๐Ÿงฑ COX-2 dimer<br/>crystal structure"] --> B["โš›๏ธ Heme / Fe site<br/>MCPB.py"]
    L["๐Ÿ’Š Ligand"] --> Q["๐Ÿงฎ QM: B3LYP opt<br/>HF/6-31G* ESP"]
    Q --> R["๐Ÿ”‹ RESP charges<br/>GAFF params"]
    B --> S["๐Ÿ—๏ธ tleap<br/>solvate + ions"]
    R --> S
    S --> H["โš–๏ธ ParmEd<br/>H-mass repartition"]
    H --> M["๐Ÿ”ฅ min โ†’ heat โ†’<br/>10 ns equilibration"]
    M --> P["๐Ÿš€ Production<br/>6 ร— 50 ns"]
    P --> T["๐Ÿ“ˆ cpptraj + pytraj<br/>RMSD ยท RMSF ยท distances"]
    P --> E["โšก MMPBSA.py<br/>binding energy"]
    T --> F["๐Ÿ“Š Summary figures"]
    E --> F
Loading
Step Stage Details Folder
1 Ligand parameters Gaussian optimisation โ†’ RESP charges โ†’ GAFF (antechamber, parmchk2) 01_ligand_parameterisation
2 System setup ff19SB protein + MCPB.py heme/Fe + docked ligand, solvated in tleap, HMR with ParmEd 02_system_setup
3 Minimisation 10 000 steps restrained, then 16 000 unrestrained 03_md_protocol
4 Heating 0 โ†’ 100 K (NVT), then 100 โ†’ 320 โ†’ 300 K (NPT), restrained 03_md_protocol
5 Equilibration 10 ns, 300 K, NPT, Monte Carlo barostat 03_md_protocol
6 Production 50 ns segments (300 ns per replica), frames every 50 ps 03_md_protocol
7 Analysis cpptraj stripping, pytraj notebooks, MMPBSA.py array jobs 04_analysis ยท 05_project_summary

๐Ÿ“Š Selected results

Two figures from the project's summary notebooks, as saved from the original run (legends kept as originally produced).

Arachidonic acid reference poses

Distance between arachidonic acid and Tyr385 over 300 ns for productive and non-productive poses

The productive (tail-up) pose stays closer to Tyr385 than the non-productive (head-up) pose.
From Vioxx_AA_npAA.ipynb.

Drugs and metabolites in the COX site

Distance between each ligand and Tyr385 over 300 ns

Ligandโ€“Tyr385 distance for APAP, 4-MAA, 4-AA and AM404, 1 ns averages.
From COX_oneligand.ipynb.

More figures (RMSD/Rg joint plots, RMSF profiles, MM/PBSA traces) are saved in the notebooks under 04_analysis and 05_project_summary.

Warning

Corrections to the original project. Check these before reusing figures from the original work:

  • ๐Ÿ”ฅ Heating protocol: Heat_2.in never ran its final 320 โ†’ 300 K ramp because of an extra &wt type='END' (details). Now fixed.
  • ๐Ÿ“‰ POX-site figure: in 05_project_summary/POX_site.ipynb, the two AM404 lines of the ligandโ€“heme distance plot were drawn from 4-AA data. The code is fixed; re-run the notebook to regenerate the figure.
  • โšก MM/PBSA units: two notebooks labelled the energies kJ/mol; MMPBSA.py reports kcal/mol.
  • ๐Ÿ“ RMSF subplots: the summary notebooks had the x and y axis labels swapped.

๐Ÿš€ Quick start

# 1. Environment (AmberTools, pytraj, Jupyter, ...)
conda env create -f environment.yml
conda activate cox2-md

# 2. Build a system (example: paracetamol at the POX site)
cd 02_system_setup/APAP_POX
tleap -f APAP_POX.in
parmed -p APAP_POX.parm7 -i ../hmr.parmed      # set outparm to APAP_POX_HMR.parm7

# 3. Simulate on a local GPU: NAME, last solute residue, GPU id
../../03_md_protocol/run_equilibration.sh APAP_POX 1107 0
../../03_md_protocol/run_production.sh    APAP_POX 6 0   # 6 ร— 50 ns = 300 ns
๐Ÿ–ฅ๏ธ Running on a PBS cluster instead
# Equilibration
qsub -v NAME=APAP_POX,RESNUM=1107,PROTOCOL_DIR=/path/to/03_md_protocol \
     /path/to/03_md_protocol/hpc/equilibration.pbs

# Production: a self-resubmitting chain, one 50 ns segment per job
python /path/to/03_md_protocol/hpc/next_job.py APAP_POX 1 0 --init --nseg 6

# MM/PBSA over 6000 frames split into 200 array tasks
qsub -J 1-200 -v JOB=APAP_POX,CHUNK=30 04_analysis/mmpbsa/mmpbsa_array.pbs

See 03_md_protocol/README.md for details.

Note

pmemd.cuda is licensed separately from AmberTools. Amber changes between releases, so check the current manual and tutorials before reusing the inputs.


๐Ÿ“ Repository layout

The folders follow the order of the workflow. Each one has its own README.

๐Ÿ“ฆ MRes_Project_COX-2
โ”œโ”€โ”€ ๐Ÿ“‚ 01_ligand_parameterisation   QM optimisation, RESP charges, GAFF parameters per ligand
โ”œโ”€โ”€ ๐Ÿ“‚ 02_system_setup              tleap scripts: protein + heme (MCPB.py) + ligand โ†’ solvated system
โ”‚   โ”œโ”€โ”€ common/                     shared COX-2 model and heme/Fe parameters
โ”‚   โ””โ”€โ”€ AA_COX/ APAP_COX/ APAP_POX/ MAA_POX/
โ”œโ”€โ”€ ๐Ÿ“‚ 03_md_protocol               pmemd inputs + run scripts (local GPU and PBS)
โ”œโ”€โ”€ ๐Ÿ“‚ 04_analysis
โ”‚   โ”œโ”€โ”€ trajectory/                 per-system pytraj notebooks + cpptraj/parmed inputs
โ”‚   โ””โ”€โ”€ mmpbsa/                     MMPBSA.py input, PBS array script, result notebooks
โ”œโ”€โ”€ ๐Ÿ“‚ 05_project_summary           cross-system comparison notebooks (main figures)
โ”œโ”€โ”€ ๐Ÿ“‚ docs/figures                 figures shown in this README
โ””โ”€โ”€ ๐Ÿ“„ environment.yml              conda environment for the analysis

Important

Trajectories and topologies (.nc, .parm7, โ€ฆ) are too large for git and are not included. The notebooks are kept with their outputs so the results can still be viewed. Each notebook opens with a header describing the system and any corrections made since its outputs were produced.


๐Ÿ› ๏ธ Software

Tool Used for
Amber / AmberTools tleap, antechamber, parmchk2, MCPB.py, ParmEd, pmemd.cuda, cpptraj, MMPBSA.py
Gaussian 16 / GaussView Ligand geometry optimisation and electrostatic potential
Python pytraj, NumPy, SciPy, pandas, Matplotlib, seaborn, Jupyter

๐Ÿ“š Further reading

๐Ÿงฌ COX-2 review
๐Ÿ”— Allostery in COX-2
๐Ÿ’‰ Dipyrone (metamizole)
๐Ÿ’Š Mechanism of paracetamol
โš›๏ธ Amber MD

MRes project ยท molecular dynamics of cyclooxygenase-2

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages