SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

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
 
GitLab PostgresMortem: Lessons Learned
GitLab PostgresMortem: Lessons LearnedGitLab PostgresMortem: Lessons Learned
GitLab PostgresMortem: Lessons LearnedAlexey Lesovsky
 
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
 
Troubleshooting PostgreSQL with pgCenter
Troubleshooting PostgreSQL with pgCenterTroubleshooting PostgreSQL with pgCenter
Troubleshooting PostgreSQL with pgCenterAlexey Lesovsky
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuningelliando dias
 
Data Guard New Features
Data Guard New FeaturesData Guard New Features
Data Guard New Featuresxiangrong
 
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 nfsChanaka Lasantha
 
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 DowntimeJeff Frost
 
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 ProcedureOrazer Technologies
 
Zing - Performance Brief - Cassandra
Zing - Performance Brief - CassandraZing - Performance Brief - Cassandra
Zing - Performance Brief - CassandraLuciano N. Dolenc
 
Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Alexey Lesovsky
 
Automating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLAutomating Disaster Recovery PostgreSQL
Automating Disaster Recovery PostgreSQLNina Kaufman
 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL AdministrationEDB
 
Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Robert Treat
 
Hadoop 20111117
Hadoop 20111117Hadoop 20111117
Hadoop 20111117exsuns
 
Troubleshooting PostgreSQL Streaming Replication
Troubleshooting PostgreSQL Streaming ReplicationTroubleshooting PostgreSQL Streaming Replication
Troubleshooting PostgreSQL Streaming ReplicationAlexey Lesovsky
 
Pick diamonds from garbage
Pick diamonds from garbagePick diamonds from garbage
Pick diamonds from garbageTier1 App
 
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 | InfluxDataInfluxData
 
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 TuningMark Wong
 

Mais procurados (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
 

Destaque

Destaque (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
 

Semelhante a How To Recoord

嵌入式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...Felipe Prado
 
DevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopDevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopMandi Walls
 
.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 2aminmesbahi
 
InSpec For DevOpsDays Amsterdam 2017
InSpec For DevOpsDays Amsterdam 2017InSpec For DevOpsDays Amsterdam 2017
InSpec For DevOpsDays Amsterdam 2017Mandi Walls
 
Autoconf&Automake
Autoconf&AutomakeAutoconf&Automake
Autoconf&Automakeniurui
 
C++ unit-1-part-6
C++ unit-1-part-6C++ unit-1-part-6
C++ unit-1-part-6Jadavsejal
 
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)Ahmed El-Arabawy
 
Native development kit (ndk) introduction
Native development kit (ndk)  introductionNative development kit (ndk)  introduction
Native development kit (ndk) introductionRakesh Jha
 
Lec 10-linux-review
Lec 10-linux-reviewLec 10-linux-review
Lec 10-linux-reviewabinaya m
 
Introduction to OpenSees by Frank McKenna
Introduction to OpenSees by Frank McKennaIntroduction to OpenSees by Frank McKenna
Introduction to OpenSees by Frank McKennaopenseesdays
 
LOSS_C11- Programming Linux 20221006.pdf
LOSS_C11- Programming Linux 20221006.pdfLOSS_C11- Programming Linux 20221006.pdf
LOSS_C11- Programming Linux 20221006.pdfThninh2
 
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 goingAnne Nicolas
 
Using R on High Performance Computers
Using R on High Performance ComputersUsing R on High Performance Computers
Using R on High Performance ComputersDave Hiltbrand
 
Packaging perl (LPW2010)
Packaging perl (LPW2010)Packaging perl (LPW2010)
Packaging perl (LPW2010)p3castro
 
Ts archiving
Ts   archivingTs   archiving
Ts archivingConfiz
 
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 JSCoveragemlilley
 

Semelhante a 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
 

Mais de Christiane Riedinger

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 notesChristiane Riedinger
 
Notes on hernias for medical finals
Notes on hernias for medical finalsNotes on hernias for medical finals
Notes on hernias for medical finalsChristiane Riedinger
 
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 finalsChristiane Riedinger
 
Palliative Care for Medical Finals
Palliative Care for Medical FinalsPalliative Care for Medical Finals
Palliative Care for Medical FinalsChristiane Riedinger
 
Useful background information for neurology revision.
Useful background information for neurology revision.Useful background information for neurology revision.
Useful background information for neurology revision.Christiane Riedinger
 
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)Christiane Riedinger
 
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 aboutChristiane Riedinger
 
Consultation Manual Part 1 - Interview Skills
Consultation Manual Part 1 - Interview SkillsConsultation Manual Part 1 - Interview Skills
Consultation Manual Part 1 - Interview SkillsChristiane Riedinger
 
Consultation Manual Part 2 - Examination Skills
Consultation Manual Part 2 - Examination SkillsConsultation Manual Part 2 - Examination Skills
Consultation Manual Part 2 - Examination SkillsChristiane Riedinger
 
Antibiotics Overview - the barest facts
Antibiotics Overview - the barest factsAntibiotics Overview - the barest facts
Antibiotics Overview - the barest factsChristiane Riedinger
 
Cardiovascular Histopathology Tutorial
Cardiovascular Histopathology TutorialCardiovascular Histopathology Tutorial
Cardiovascular Histopathology TutorialChristiane Riedinger
 

Mais de 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
 

Último

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Último (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

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