SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
Running RECOORD Scripts using CNS 1.1
                                                        Christiane Riedinger, Feb 2007

The RECOORD scripts are bash scripts that generate input scripts (*.inp) for CNS
tailor-made for NMR structure calculation. RECOORD comes with its own set of
forcefields and allows the user to carry out a structure calculation using a standardised
protocol.
Aart J. Nederveen, Jurgen F. Doreleijers, Wim Vranken, Zachary Miller, Chris
A.E.M. Spronk, Sander B. Nabuurs, Peter Guentert, Miron Livny, John L. Markley,
Michael Nilges, Eldon L. Ulrich, Robert Kaptein and Alexandre M.J.J. Bonvin
(2005). RECOORD: a REcalculated COORdinates Database of 500+ proteins from
the PDB using restraints from the BioMagResBank. Proteins 59, 662-672.
http://www.ebi.ac.uk/msd-srv/docs/NMR/recoord/main.html

1. Installing the Scripts
    • Make a project directory for your structure calculation in your home directory,
        e.g. <doc1>
    • Put the RECOORD script directory into <doc1>
    • Make all RECOORD scripts executable and add the directory to your path
        # vi .cshrc
        add: set path = (~/doc1/RECOORD)
    • Edit and execute the script “changeScriptsDir.sh”:
       #!/bin/bash
       #
       # script to change scripts directory, to be run in scripts directory
       # script will change itself as well
       #

       # fill in directory here
       newDir=/users1/riedinger/doc1/RECOORD


2. Creating the topology file (.mtf)
The topology file contains atom information, bond information (lengths and angles),
torsion angles, disulphide bonds, but it does not contain coordinates.

2.1. Generating the topology file from a primary sequence file
If you only have a primary sequence file available for your protein, you need to
generate the topology file using a script from the CNS webpage, called
generate_seq.inp:
    • go to the CNS webpage and edit this script
    • enter the name of your primary sequence file, the desired name of the output
        file….
    • set hydrogens to true, select false for B-factor and occupancy (we are not
        doing crystallography!)….
    • RECOORD comes with its own set of parameter and topology files which
        need to be specified in generate_seq.inp:
{================== protein topology and parameter files ===================}

{* protein topology file *}
{===>} prot_topology_infile="SCRIPTS:/toppar/topallhdg5.3.pro";

{* protein linkage file *}
{===>} prot_link_infile="SCRIPTS:/toppar/topallhdg5.3.pep";

{* protein parameter file *}
{===>} prot_parameter_infile="SCRIPTS:/toppar/parallhdg5.3.pro";

{================nucleic acid topology and parameter files =================}

{* nucleic acid topology file *}
{===>} nucl_topology_infile="SCRIPTS:/toppar/dna-rna-allatom.top";

{* nucleic acid linkage file *}
{===>} nucl_link_infile="SCRIPTS:/toppar/dna-rna.link";

{* nucleic acid parameter file *}
{===>} nucl_parameter_infile="SCRIPTS:/toppar/dna-rna-allatom.param";



{=================== water topology and parameter files ====================}

{* water topology file *}
{===>} water_topology_infile="SCRIPTS:/toppar/topallhdg5.3.sol";

{* water parameter file *}
{===>} water_parameter_infile="SCRIPTS:/toppar/parallhdg5.3.sol";

{================= carbohydrate topology and parameter files ===============}

{* carbohydrate topology file *}
{===>} carbo_topology_infile="SCRIPTS:/toppar/carbohydrate.top";

{* carbohydrate parameter file *}
{===>} carbo_parameter_infile="SCRIPTS:/toppar/carbohydrate.param";

{============= prosthetic group topology and parameter files ===============}

{* prosthetic group topology file *}
{===>} prost_topology_infile="";

{* prosthetic group parameter file *}
{===>} prost_parameter_infile="";

{===================== ion topology and parameter files ====================}

{* ion topology file *}
{===>} ion_topology_infile="SCRIPTS:/toppar/ion.top";

{* ion parameter file *}
{===>} ion_parameter_infile="SCRIPTS:/toppar/ion.param";


   •   Save the script in your project directory, also put your primary sequence file
       there.
   •   Now you need to set an environment variable:
       # setenv SCRIPTS ~/doc1/RECOORD
   •   Run the Script:
       # cns < generate_seq.inp > generate_seq.out
   •   The file generated is doc1.mtf
   •   The output file will give you information in case things have gone wrong.

2.2. Generating the topology file from a pdb file
In case that you already have a pdb file of your protein, you generate the topology file
with generate.sh (similar to generate_easy.inp from the CNS webpage)

3. Generate an extended Structure
The an extended structure is the starting point for simulated annealing and is
generated using the script generate_extended.sh

   •   # generate_extended.sh <your mtf file>
   •   creates <your protein>_extended.pdb
4. Start the simulated annealing
Place your restraint files in your project directory. The restraint files need to be named
as follows:
    • unambig.tbl
    • ambig.tbl
    • dihedrals.tbl
    • hbonds.tbl
    • methyls.tbl
    • …
An example of a unambiguous restraint file: (Exclamation mark indicates a comment)
!Q 60
assign (resid 60 and name hn) (resid 60 and name hb1) 1.8 0.0 1.1 ! 3dhnnoe_new.259
1.80378 strong
assign (resid 60 and name hn) (resid 60 and name hb2) 1.8 0.0 1.7 ! 3dhnnoe_new.240
0.93875 medium
An example of a dihedral restrain file: (coming from TALOS)
! 1. Q 57 Phi -103.79 +/- 70.98 (-174.77 to -32.81)
assign (resid 56 and name C) (resid 57 and name N)
       (resid 57 and name CA) (resid 57 and name C) 1.0        -103.79    70.98 2


      •   the simulated annealing is run with the script annealing.sh
      •   the annealing.sh file generates the CNS input file annealing.inp and run.cns
          (containing the restraints). It then generates refineLong.inp files, each one
          calculating one pdb file.
      •   go thoroughly through the script to specify parameters:
#!/bin/bash
# run as: annealing.sh <entries>
#
# script for calculating an NMR ensemble with MDSA
# per model only one job is generated
#
# Aart Nederveen 2003, Utrecht University

############ settings for CNS calculation #############

#    The following files should be present in project directory:
#    project_cns.pdb
#    project_cns.mtf
#    project_cns_extended.pdb
∍#   simply rename your mft and extended pdb file to contain <your
#    protein>_cns_extended.pdb. I don’t know why it needs a second pdb file, so I just
#    copied my doc1_cns_extended.pdb file to doc1_cns.pdb. that seemed to work, but no
#    guarantee!

# directory for models that are calculated
dirRefined='str'

# directory for scripts
dirScripts='/users1/riedinger/doc1/RECOORD'

# directory for CNS output
dirCalc='cnsRef'

# submit command for cluster
# if 'csh', then your own computer is used
# submit='ssub linux_cluster'
# submit='csh'
# either chose ‘csh’ for your own computer, or if you are using synapse, specify:
submit = ‘qsub –V cwd’

# number of models that are generated
# all models are generated with the same protocol; only the seed number differs
number=2
# select as you wish

# if deletePrevious is 0 then no calculation is performed if coordinatefile is already
present
deletePrevious=0
# sleep time between successive jobs to make cluster happy
sleepTime='3s'

# cns executable
# cnsExec='/software/cns_1.1/cns_solve_1.1/intel-i686-linux_g77/bin/cns'
cnsExec='/packages/cns/cns_solve_1.1/intel-i686-linux/bin/cns'
# enter your correct path

# settings for symmetric dimer (ncs + symmetry restraints)
# mind that segid names and residuenumbers are grepped from $entry.pdb
symDimerOn=0
# 0 = off, if you have a monomer

# choose longer protocol; double number of steps, default 0
doubleSteps=0
…

   •   finally, to run the script, you need to be one directory above your project
       directory
   •   to run the script:
       # annealing.sh <your project directory>

5. Analysing Violations
    • First, use the Script calcViol.sh, which will generate and run calcViol_all.inp
    • Before you run it for the first time, make sure you have entered the correct
       CNS executable for your installation
    • You have to run this script from within your project directory:
       # calcViol.sh doc1_cns str violations 0.3 doc1_cns.mtf > calcViol.out
    • There won’t be an output file if there are no errors
    • The exact input variables are explained in the script itself, the above is just an
       example
    • When you’re done, run the second script, called analys Viol.sh
    •


Useful tips:
   • If running a script again after an error, remove every file that it has created.
   • Check the CNS executable is stated correctly

Weitere ähnliche Inhalte

Was ist angesagt?

Am I reading GC logs Correctly?
Am I reading GC logs Correctly?Am I reading GC logs Correctly?
Am I reading GC logs Correctly?
Tier1 App
 
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
BertrandDrouvot
 
Ceph Day Beijing: CeTune: A Framework of Profile and Tune Ceph Performance
Ceph Day Beijing: CeTune: A Framework of Profile and Tune Ceph Performance Ceph Day Beijing: CeTune: A Framework of Profile and Tune Ceph Performance
Ceph Day Beijing: CeTune: A Framework of Profile and Tune Ceph Performance
Ceph Community
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuning
elliando dias
 
Zing - Performance Brief - Cassandra
Zing - Performance Brief - CassandraZing - Performance Brief - Cassandra
Zing - Performance Brief - Cassandra
Luciano N. Dolenc
 
Hadoop 20111117
Hadoop 20111117Hadoop 20111117
Hadoop 20111117
exsuns
 
Pick diamonds from garbage
Pick diamonds from garbagePick diamonds from garbage
Pick diamonds from garbage
Tier1 App
 

Was ist angesagt? (20)

Am I reading GC logs Correctly?
Am I reading GC logs Correctly?Am I reading GC logs Correctly?
Am I reading GC logs Correctly?
 
GitLab PostgresMortem: Lessons Learned
GitLab PostgresMortem: Lessons LearnedGitLab PostgresMortem: Lessons Learned
GitLab PostgresMortem: Lessons Learned
 
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
 
Ceph Day Beijing: CeTune: A Framework of Profile and Tune Ceph Performance
Ceph Day Beijing: CeTune: A Framework of Profile and Tune Ceph Performance Ceph Day Beijing: CeTune: A Framework of Profile and Tune Ceph Performance
Ceph Day Beijing: CeTune: A Framework of Profile and Tune Ceph Performance
 
Troubleshooting PostgreSQL with pgCenter
Troubleshooting PostgreSQL with pgCenterTroubleshooting PostgreSQL with pgCenter
Troubleshooting PostgreSQL with pgCenter
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuning
 
Data Guard New Features
Data Guard New FeaturesData Guard New Features
Data Guard New Features
 
Oracle cluster installation with grid and nfs
Oracle cluster  installation with grid and nfsOracle cluster  installation with grid and nfs
Oracle cluster installation with grid and nfs
 
SCALE 15x Minimizing PostgreSQL Major Version Upgrade Downtime
SCALE 15x Minimizing PostgreSQL Major Version Upgrade DowntimeSCALE 15x Minimizing PostgreSQL Major Version Upgrade Downtime
SCALE 15x Minimizing PostgreSQL Major Version Upgrade Downtime
 
Cloning Oracle EBS R12: A Step by Step Procedure
Cloning Oracle EBS R12: A Step by Step ProcedureCloning Oracle EBS R12: A Step by Step Procedure
Cloning Oracle EBS R12: A Step by Step Procedure
 
Zing - Performance Brief - Cassandra
Zing - Performance Brief - CassandraZing - Performance Brief - Cassandra
Zing - Performance Brief - Cassandra
 
Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.
 
Automating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLAutomating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQL
 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL Administration
 
Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008
 
Hadoop 20111117
Hadoop 20111117Hadoop 20111117
Hadoop 20111117
 
Troubleshooting PostgreSQL Streaming Replication
Troubleshooting PostgreSQL Streaming ReplicationTroubleshooting PostgreSQL Streaming Replication
Troubleshooting PostgreSQL Streaming Replication
 
Pick diamonds from garbage
Pick diamonds from garbagePick diamonds from garbage
Pick diamonds from garbage
 
The InfluxDB 2.0 Storage Engine | Jacob Marble | InfluxData
The InfluxDB 2.0 Storage Engine | Jacob Marble | InfluxDataThe InfluxDB 2.0 Storage Engine | Jacob Marble | InfluxData
The InfluxDB 2.0 Storage Engine | Jacob Marble | InfluxData
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Tuning
PostgreSQL Portland Performance Practice Project - Database Test 2 TuningPostgreSQL Portland Performance Practice Project - Database Test 2 Tuning
PostgreSQL Portland Performance Practice Project - Database Test 2 Tuning
 

Andere mochten auch

Andere mochten auch (8)

Triple Resonance Backbone Assignments 06
Triple Resonance Backbone Assignments 06Triple Resonance Backbone Assignments 06
Triple Resonance Backbone Assignments 06
 
Nmr In Drug Discovery 04
Nmr In Drug Discovery 04Nmr In Drug Discovery 04
Nmr In Drug Discovery 04
 
NMR assignments and structure determination
NMR assignments and structure determinationNMR assignments and structure determination
NMR assignments and structure determination
 
Recoord 07
Recoord 07Recoord 07
Recoord 07
 
An easy way to learn hip muscles
An easy way to learn hip musclesAn easy way to learn hip muscles
An easy way to learn hip muscles
 
An easy way to learn shoulder muscles
An easy way to learn shoulder musclesAn easy way to learn shoulder muscles
An easy way to learn shoulder muscles
 
An easy way to learn lower limb muscles
An easy way to learn lower limb musclesAn easy way to learn lower limb muscles
An easy way to learn lower limb muscles
 
An easy way to learn upper limb muscles
An easy way to learn upper limb musclesAn easy way to learn upper limb muscles
An easy way to learn upper limb muscles
 

Ähnlich wie How To Recoord

Autoconf&Automake
Autoconf&AutomakeAutoconf&Automake
Autoconf&Automake
niurui
 
LOSS_C11- Programming Linux 20221006.pdf
LOSS_C11- Programming Linux 20221006.pdfLOSS_C11- Programming Linux 20221006.pdf
LOSS_C11- Programming Linux 20221006.pdf
Thninh2
 
Ts archiving
Ts   archivingTs   archiving
Ts archiving
Confiz
 
Testing NodeJS with Mocha, Should, Sinon, and JSCoverage
Testing NodeJS with Mocha, Should, Sinon, and JSCoverageTesting NodeJS with Mocha, Should, Sinon, and JSCoverage
Testing NodeJS with Mocha, Should, Sinon, and JSCoverage
mlilley
 

Ähnlich wie How To Recoord (20)

嵌入式Linux課程-GNU Toolchain
嵌入式Linux課程-GNU Toolchain嵌入式Linux課程-GNU Toolchain
嵌入式Linux課程-GNU Toolchain
 
DEF CON 27 - workshop - ISAAC EVANS - discover exploit and eradicate entire v...
DEF CON 27 - workshop - ISAAC EVANS - discover exploit and eradicate entire v...DEF CON 27 - workshop - ISAAC EVANS - discover exploit and eradicate entire v...
DEF CON 27 - workshop - ISAAC EVANS - discover exploit and eradicate entire v...
 
DevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopDevOpsDays InSpec Workshop
DevOpsDays InSpec Workshop
 
NGS: Mapping and de novo assembly
NGS: Mapping and de novo assemblyNGS: Mapping and de novo assembly
NGS: Mapping and de novo assembly
 
System Programming and Administration
System Programming and AdministrationSystem Programming and Administration
System Programming and Administration
 
.NET Core, ASP.NET Core Course, Session 2
.NET Core, ASP.NET Core Course, Session 2.NET Core, ASP.NET Core Course, Session 2
.NET Core, ASP.NET Core Course, Session 2
 
InSpec For DevOpsDays Amsterdam 2017
InSpec For DevOpsDays Amsterdam 2017InSpec For DevOpsDays Amsterdam 2017
InSpec For DevOpsDays Amsterdam 2017
 
Autoconf&Automake
Autoconf&AutomakeAutoconf&Automake
Autoconf&Automake
 
C++ unit-1-part-6
C++ unit-1-part-6C++ unit-1-part-6
C++ unit-1-part-6
 
Embedded Systems: Lecture 13: Introduction to GNU Toolchain (Build Tools)
Embedded Systems: Lecture 13: Introduction to GNU Toolchain (Build Tools)Embedded Systems: Lecture 13: Introduction to GNU Toolchain (Build Tools)
Embedded Systems: Lecture 13: Introduction to GNU Toolchain (Build Tools)
 
Native development kit (ndk) introduction
Native development kit (ndk)  introductionNative development kit (ndk)  introduction
Native development kit (ndk) introduction
 
Lec 10-linux-review
Lec 10-linux-reviewLec 10-linux-review
Lec 10-linux-review
 
Introduction to OpenSees by Frank McKenna
Introduction to OpenSees by Frank McKennaIntroduction to OpenSees by Frank McKenna
Introduction to OpenSees by Frank McKenna
 
LOSS_C11- Programming Linux 20221006.pdf
LOSS_C11- Programming Linux 20221006.pdfLOSS_C11- Programming Linux 20221006.pdf
LOSS_C11- Programming Linux 20221006.pdf
 
Kernel Recipes 2016 - Kernel documentation: what we have and where it’s going
Kernel Recipes 2016 - Kernel documentation: what we have and where it’s goingKernel Recipes 2016 - Kernel documentation: what we have and where it’s going
Kernel Recipes 2016 - Kernel documentation: what we have and where it’s going
 
Scaling / optimizing search on netlog
Scaling / optimizing search on netlogScaling / optimizing search on netlog
Scaling / optimizing search on netlog
 
Using R on High Performance Computers
Using R on High Performance ComputersUsing R on High Performance Computers
Using R on High Performance Computers
 
Packaging perl (LPW2010)
Packaging perl (LPW2010)Packaging perl (LPW2010)
Packaging perl (LPW2010)
 
Ts archiving
Ts   archivingTs   archiving
Ts archiving
 
Testing NodeJS with Mocha, Should, Sinon, and JSCoverage
Testing NodeJS with Mocha, Should, Sinon, and JSCoverageTesting NodeJS with Mocha, Should, Sinon, and JSCoverage
Testing NodeJS with Mocha, Should, Sinon, and JSCoverage
 

Mehr von Christiane Riedinger

Mehr von Christiane Riedinger (20)

General principles of surgery - medical finals revision notes
General principles of surgery - medical finals revision notesGeneral principles of surgery - medical finals revision notes
General principles of surgery - medical finals revision notes
 
Notes on hernias for medical finals
Notes on hernias for medical finalsNotes on hernias for medical finals
Notes on hernias for medical finals
 
On neck and skin lumps for medical finals
On neck and skin lumps for medical finalsOn neck and skin lumps for medical finals
On neck and skin lumps for medical finals
 
Breast Surgery for Medical Finals
Breast Surgery for Medical FinalsBreast Surgery for Medical Finals
Breast Surgery for Medical Finals
 
Palliative Care for Medical Finals
Palliative Care for Medical FinalsPalliative Care for Medical Finals
Palliative Care for Medical Finals
 
Useful background information for neurology revision.
Useful background information for neurology revision.Useful background information for neurology revision.
Useful background information for neurology revision.
 
Heart sounds, valves and JVP
Heart sounds, valves and JVPHeart sounds, valves and JVP
Heart sounds, valves and JVP
 
Overview of heart murmurs
Overview of heart murmursOverview of heart murmurs
Overview of heart murmurs
 
Endocrinology for Medical Finals
Endocrinology for Medical FinalsEndocrinology for Medical Finals
Endocrinology for Medical Finals
 
Summary of differentiating features of neurological deficits (motor)
Summary of differentiating features of neurological deficits (motor)Summary of differentiating features of neurological deficits (motor)
Summary of differentiating features of neurological deficits (motor)
 
Law and Ethics for Medics
Law and Ethics for MedicsLaw and Ethics for Medics
Law and Ethics for Medics
 
Overview of what Public Health for Medics is all about
Overview of what Public Health for Medics is all aboutOverview of what Public Health for Medics is all about
Overview of what Public Health for Medics is all about
 
Overview of Public Health Topics
Overview of Public Health TopicsOverview of Public Health Topics
Overview of Public Health Topics
 
Presentation Mantras
Presentation MantrasPresentation Mantras
Presentation Mantras
 
Consultation Manual Part 1 - Interview Skills
Consultation Manual Part 1 - Interview SkillsConsultation Manual Part 1 - Interview Skills
Consultation Manual Part 1 - Interview Skills
 
Consultation Manual Part 2 - Examination Skills
Consultation Manual Part 2 - Examination SkillsConsultation Manual Part 2 - Examination Skills
Consultation Manual Part 2 - Examination Skills
 
Antibiotics Overview - the barest facts
Antibiotics Overview - the barest factsAntibiotics Overview - the barest facts
Antibiotics Overview - the barest facts
 
Renal Pathology Tutorial
Renal Pathology TutorialRenal Pathology Tutorial
Renal Pathology Tutorial
 
Cardiovascular Histopathology Tutorial
Cardiovascular Histopathology TutorialCardiovascular Histopathology Tutorial
Cardiovascular Histopathology Tutorial
 
Parasites overview
Parasites overviewParasites overview
Parasites overview
 

KĂźrzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

KĂźrzlich hochgeladen (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

How To Recoord

  • 1. Running RECOORD Scripts using CNS 1.1 Christiane Riedinger, Feb 2007 The RECOORD scripts are bash scripts that generate input scripts (*.inp) for CNS tailor-made for NMR structure calculation. RECOORD comes with its own set of forcefields and allows the user to carry out a structure calculation using a standardised protocol. Aart J. Nederveen, Jurgen F. Doreleijers, Wim Vranken, Zachary Miller, Chris A.E.M. Spronk, Sander B. Nabuurs, Peter Guentert, Miron Livny, John L. Markley, Michael Nilges, Eldon L. Ulrich, Robert Kaptein and Alexandre M.J.J. Bonvin (2005). RECOORD: a REcalculated COORdinates Database of 500+ proteins from the PDB using restraints from the BioMagResBank. Proteins 59, 662-672. http://www.ebi.ac.uk/msd-srv/docs/NMR/recoord/main.html 1. Installing the Scripts • Make a project directory for your structure calculation in your home directory, e.g. <doc1> • Put the RECOORD script directory into <doc1> • Make all RECOORD scripts executable and add the directory to your path # vi .cshrc add: set path = (~/doc1/RECOORD) • Edit and execute the script “changeScriptsDir.sh”: #!/bin/bash # # script to change scripts directory, to be run in scripts directory # script will change itself as well # # fill in directory here newDir=/users1/riedinger/doc1/RECOORD 2. Creating the topology file (.mtf) The topology file contains atom information, bond information (lengths and angles), torsion angles, disulphide bonds, but it does not contain coordinates. 2.1. Generating the topology file from a primary sequence file If you only have a primary sequence file available for your protein, you need to generate the topology file using a script from the CNS webpage, called generate_seq.inp: • go to the CNS webpage and edit this script • enter the name of your primary sequence file, the desired name of the output file…. • set hydrogens to true, select false for B-factor and occupancy (we are not doing crystallography!)…. • RECOORD comes with its own set of parameter and topology files which need to be specified in generate_seq.inp: {================== protein topology and parameter files ===================} {* protein topology file *} {===>} prot_topology_infile="SCRIPTS:/toppar/topallhdg5.3.pro"; {* protein linkage file *} {===>} prot_link_infile="SCRIPTS:/toppar/topallhdg5.3.pep"; {* protein parameter file *}
  • 2. {===>} prot_parameter_infile="SCRIPTS:/toppar/parallhdg5.3.pro"; {================nucleic acid topology and parameter files =================} {* nucleic acid topology file *} {===>} nucl_topology_infile="SCRIPTS:/toppar/dna-rna-allatom.top"; {* nucleic acid linkage file *} {===>} nucl_link_infile="SCRIPTS:/toppar/dna-rna.link"; {* nucleic acid parameter file *} {===>} nucl_parameter_infile="SCRIPTS:/toppar/dna-rna-allatom.param"; {=================== water topology and parameter files ====================} {* water topology file *} {===>} water_topology_infile="SCRIPTS:/toppar/topallhdg5.3.sol"; {* water parameter file *} {===>} water_parameter_infile="SCRIPTS:/toppar/parallhdg5.3.sol"; {================= carbohydrate topology and parameter files ===============} {* carbohydrate topology file *} {===>} carbo_topology_infile="SCRIPTS:/toppar/carbohydrate.top"; {* carbohydrate parameter file *} {===>} carbo_parameter_infile="SCRIPTS:/toppar/carbohydrate.param"; {============= prosthetic group topology and parameter files ===============} {* prosthetic group topology file *} {===>} prost_topology_infile=""; {* prosthetic group parameter file *} {===>} prost_parameter_infile=""; {===================== ion topology and parameter files ====================} {* ion topology file *} {===>} ion_topology_infile="SCRIPTS:/toppar/ion.top"; {* ion parameter file *} {===>} ion_parameter_infile="SCRIPTS:/toppar/ion.param"; • Save the script in your project directory, also put your primary sequence file there. • Now you need to set an environment variable: # setenv SCRIPTS ~/doc1/RECOORD • Run the Script: # cns < generate_seq.inp > generate_seq.out • The file generated is doc1.mtf • The output file will give you information in case things have gone wrong. 2.2. Generating the topology file from a pdb file In case that you already have a pdb file of your protein, you generate the topology file with generate.sh (similar to generate_easy.inp from the CNS webpage) 3. Generate an extended Structure The an extended structure is the starting point for simulated annealing and is generated using the script generate_extended.sh • # generate_extended.sh <your mtf file> • creates <your protein>_extended.pdb
  • 3. 4. Start the simulated annealing Place your restraint files in your project directory. The restraint files need to be named as follows: • unambig.tbl • ambig.tbl • dihedrals.tbl • hbonds.tbl • methyls.tbl • … An example of a unambiguous restraint file: (Exclamation mark indicates a comment) !Q 60 assign (resid 60 and name hn) (resid 60 and name hb1) 1.8 0.0 1.1 ! 3dhnnoe_new.259 1.80378 strong assign (resid 60 and name hn) (resid 60 and name hb2) 1.8 0.0 1.7 ! 3dhnnoe_new.240 0.93875 medium An example of a dihedral restrain file: (coming from TALOS) ! 1. Q 57 Phi -103.79 +/- 70.98 (-174.77 to -32.81) assign (resid 56 and name C) (resid 57 and name N) (resid 57 and name CA) (resid 57 and name C) 1.0 -103.79 70.98 2 • the simulated annealing is run with the script annealing.sh • the annealing.sh file generates the CNS input file annealing.inp and run.cns (containing the restraints). It then generates refineLong.inp files, each one calculating one pdb file. • go thoroughly through the script to specify parameters: #!/bin/bash # run as: annealing.sh <entries> # # script for calculating an NMR ensemble with MDSA # per model only one job is generated # # Aart Nederveen 2003, Utrecht University ############ settings for CNS calculation ############# # The following files should be present in project directory: # project_cns.pdb # project_cns.mtf # project_cns_extended.pdb ∍# simply rename your mft and extended pdb file to contain <your # protein>_cns_extended.pdb. I don’t know why it needs a second pdb file, so I just # copied my doc1_cns_extended.pdb file to doc1_cns.pdb. that seemed to work, but no # guarantee! # directory for models that are calculated dirRefined='str' # directory for scripts dirScripts='/users1/riedinger/doc1/RECOORD' # directory for CNS output dirCalc='cnsRef' # submit command for cluster # if 'csh', then your own computer is used # submit='ssub linux_cluster' # submit='csh' # either chose ‘csh’ for your own computer, or if you are using synapse, specify: submit = ‘qsub –V cwd’ # number of models that are generated # all models are generated with the same protocol; only the seed number differs number=2 # select as you wish # if deletePrevious is 0 then no calculation is performed if coordinatefile is already present deletePrevious=0
  • 4. # sleep time between successive jobs to make cluster happy sleepTime='3s' # cns executable # cnsExec='/software/cns_1.1/cns_solve_1.1/intel-i686-linux_g77/bin/cns' cnsExec='/packages/cns/cns_solve_1.1/intel-i686-linux/bin/cns' # enter your correct path # settings for symmetric dimer (ncs + symmetry restraints) # mind that segid names and residuenumbers are grepped from $entry.pdb symDimerOn=0 # 0 = off, if you have a monomer # choose longer protocol; double number of steps, default 0 doubleSteps=0 … • finally, to run the script, you need to be one directory above your project directory • to run the script: # annealing.sh <your project directory> 5. Analysing Violations • First, use the Script calcViol.sh, which will generate and run calcViol_all.inp • Before you run it for the first time, make sure you have entered the correct CNS executable for your installation • You have to run this script from within your project directory: # calcViol.sh doc1_cns str violations 0.3 doc1_cns.mtf > calcViol.out • There won’t be an output file if there are no errors • The exact input variables are explained in the script itself, the above is just an example • When you’re done, run the second script, called analys Viol.sh • Useful tips: • If running a script again after an error, remove every file that it has created. • Check the CNS executable is stated correctly