Examples of 2D and 3D spectra

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

ITR3 lecture 7: more introduction to UNIX Thomas Krichel
Cluster Computing at IQSS Alex Storer, Research Technology Consultant.
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Use of Frequency Domain Telecommunication Channel |A| f fcfc Frequency.
Topics spatial encoding - part 2. Slice Selection  z y x 0 imaging plane    z gradient.
Input from STDIN STDIN, standard input, comes from the keyboard. STDIN can also be used with file re-direction from the command line. For instance, if.
Southgreen HPC system Concepts Cluster : compute farm i.e. a collection of compute servers that can be shared and accessed through a single “portal”
Lecture 17 spectral analysis and power spectra. Part 1 What does a filter do to the spectrum of a time series?
Metody szybkiej rejestracji wielowymiarowych widm NMR Wiktor Koźmiński Wydział Chemii Uniwersytetu Warszawskiego.
CS Lecture 03 Outline Sed and awk from previous lecture Writing simple bash script Assignment 1 discussion 1CS 311 Operating SystemsLecture 03.
Scripting Languages Chapter 6 I/O Basics. Input from STDIN We’ve been doing so with $line = chomp($line); Same as chomp($line= ); line input op gives.
Lecture 8 Topics Fourier Transforms –As the limit of Fourier Series –Spectra –Convergence of Fourier Transforms –Fourier Transform: Synthesis equation.
Analogue and digital techniques in closed loop regulation applications Digital systems Sampling of analogue signals Sample-and-hold Parseval’s theorem.
MK Page 1 of 13 Processing of Varian data MK,
Binary Arithmetic Math For Computers.
Shell Script Examples.
Introduction to UNIX/Linux Exercises Dan Stanzione.
1 Functions 1 Parameter, 1 Return-Value 1. The problem 2. Recall the layout 3. Create the definition 4. "Flow" of data 5. Testing 6. Projects 1 and 2.
CMSBrownBag,05/29/2007 B.Mangano How to “use” CMSSW on own Linux Box and be happy In this context “use” means: - check-out pre-compiled CMSSW code - run.
UNIX Shell Script (1) Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
PERCENTS. WHAT ARE PERCENTS?  We’ve done lots of work with fractions and decimals. We’ve determined that fractions that denominators of 100 are useful.
National Magnetic Resonance Facility At Madison NMRFAM
Comments in PHP In PHP, we use // to make a singleline comment or /* and */ to make a large comment block. Comment is a part of your PHP code that will.
Parameter Study Principles & Practices. What is Parameter Study? Parameter study is the application of a single algorithm over a set of independent inputs:
Wireless Communications with GNU SDR. Writing a signal processing block As mentioned earlier, the signal.
Website Development & Management A PHP Exercise CIT Fall Instructor: John Seydel, Ph.D.
Lecture 7 Two-dimensional NMR F2 F1 (  x,  X ) Diagonal (  A,  A ) (  A,  X ) Cross-peak (  X,  A )
Homework 3.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Parameter Study Principles & Practices. Outline Data Model of the PS Part I Simple PS –Generating simple PS Workflow by introducing PS Input port – using.
More Shell Programming. Slide 2 Control Flow  The shell allows several control flow statements:  if  while  for.
ISG We build general capability Introduction to Olympus Shawn T. Brown, PhD ISG MISSION 2.0 Lead Director of Public Health Applications Pittsburgh Supercomputing.
DTFT continue (c.f. Shenoi, 2006)  We have introduced DTFT and showed some of its properties. We will investigate them in more detail by showing the associated.
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2015 Lecture 4 – Shell Variables, More Shell Scripts.
Primarily, Chapter 3 Claridge Also, Chapter 2 Claridge,
How can we convert metric measurements? Do Now: What is the value of the prefixes kilo, centi, and milli?
Multiplication Level 1 (Facts 0-2) Read These Instructions:  Try to get the answer before the computer puts it on the screen.  Do not click on your.
Cliff Addison University of Liverpool NW-GRID Training Event 26 th January 2007 SCore MPI Taking full advantage of GigE.
Robert Peterson Group Meeting 1/25/11 Topspin 3 New Features Protein Dynamic Center Non Uniform Sampling A few older features Licensing.
The NMRPipe System for Multidimensional NMR Processing and Analysis
Protein NMR IV - Isotopic labeling
Goals of tutorial Introduce NMRbox platform
Primarily, Chapter 3 Claridge Also, Chapter 2 Claridge,
Tim Hall Oracle ACE Director
Signals & systems Ch.3 Fourier Transform of Signals and LTI System
Logistics of tutorial All scripts are pre-written & all data is pre-processed Data can be re-processed without deleting old files first In the tutorial.
Welcome to Indiana University Clusters
CSE 374 Programming Concepts & Tools
Input from STDIN STDIN, standard input, comes from the keyboard.
CHAPTER 5 Z-Transform. EKT 230.
Using Paraguin to Create Parallel Programs
Rowland NMR Toolkit (RNMRTK) Overview
Goals of tutorial Introduce NMRbox platform
The Linux Operating System
Shell Environments.
Laplace and Z transforms
EE Audio Signals and Systems
PureShift in MNova Vadim Zorin Manchester, 17 September 2018.
3.4 Solving Systems of Linear Equations in Three Variables
Lecture 14 Digital Filtering of Analog Signals
Solving Systems of Linear Equations in Three Variables
John Carelli, Instructor Kutztown University
Goals of tutorial Introduce NMRbox platform
Research Methods in Acoustics Lecture 9: Laplace Transform and z-Transform Jonas Braasch.
Chapter 5 DT System Analysis : Z Transform Basil Hamed
NMR Spectroscopy Question and Answer Session
MestRe-C: pages: Start program……………………………………………………………
More Shell Programming
SEEM 4540 Tutorial 4 Basic PHP based on w3Schools
Presentation transcript:

Examples of 2D and 3D spectra Processing NUS Data Examples of 2D and 3D spectra 4D to be appended soon. Assumed knowledge: NMRPipe and NMRDraw : Unix Environment

2D Processing 1D Reconstruction 15N, 13C HSQC and Homonuclear Spectra Single indirect dimension acquired non- uniformly We convert data from Bruker/Varian like normal Processing starts by doing FT on directly acquired data first Data is then transposed... ready for reconstruction

2D Spectra Conversion fid.com bruk2pipe -in ser -DMX -swap -decim 24 -dspfvs 12 \ #!/bin/sh -f -xN 2048 -yN 80 \ -xT 1024 -yT 40 \ -xMODE DQD -yMODE Echo-AntiEcho \ -xSW 7002.801 -ySW 1824.568 \ -xOBS 500.130 -yOBS 50.678 \ -xCAR 4.697 -yCAR 118.000 \ -xLAB 1H -yLAB 15N \ -ndim 2 -aq2D States \ -out data.fid -ov -verb Nothing Special for 2D Spectra Conversion!

Direct Dimension Transform ft1.com nmrPipe -in data.fid \ | nmrPipe -fn SOL \ | nmrPipe -fn SP -off 0.3 -end 0.98 -pow 2 \ | nmrPipe -fn ZF -auto \ | nmrPipe -fn FT \ | nmrPipe -fn PS -p0 46 -p1 0.0 -di \ | nmrPipe -fn EXT -left -sw -verb \ | nmrPipe -fn TP \ -verb -ov -out test.ft1 Viewing this output in NMRPipe allows you to phase direct dimension.

Direct Dimension Processing Only

Let’s fill in the blanks ist.com #!/bin/csh istHMS -in $1 -out $2 -zero 1 -vlist sched.1d \ -xN 440 -over 0 -ref 0 -itr 400 -verb 1 If this script is called ist.com then you would run it as: ist.com test.ft1 test.ft2

Direct Dimension Processing Only

Let’s FT indirect dimension! ft2.com nmrPipe -in test.ft2 \ | nmrPipe -fn SP -off 0.3 -end 0.98 -pow 1 -size 512 -c 0.5 \ | nmrPipe -fn ZF -size 1024 \ | nmrPipe -fn FT \ | nmrPipe -fn PS -p0 90 -p1 0.0 -di \ | nmrPipe -fn POLY -ord 0 -auto \ | nmrPipe -fn TP \ -verb -ov -out test.ft3 pipe2ucsf test.ft3 HSQC.ucsf

2D Processing Done

Simplified 2D Reconstruction ft12.com nmrPipe -in data.fid \ | nmrPipe -fn SOL \ | nmrPipe -fn SP -off 0.5 -end 0.98 -size 512 -c 1.0 \ | nmrPipe -fn ZF -size 1024 \ | nmrPipe -fn FT -auto \ | nmrPipe -fn PS -p0 -120.0 -p1 0.0 -di \ | nmrPipe -fn EXT -left -sw -verb \ | nmrPipe -fn TP \ | istHMS -xN 512 -sched ./sched.1d -itr 400 \ | nmrPipe -fn SP -off 0.5 -end 0.98 -c 0.5 -size 512 \ | nmrPipe -fn ZF -auto \ | nmrPipe -fn PS -p0 -90.0 -p1 0.0 -di -verb \ | nmrPipe -fn POLY -ord 0 -auto \ -ov -out test.ft12

Looks great!

3D Processing 2D Reconstruction Triple Rez, 3D NOESY, HC(C)H, XX(CO)NH etc Two indirect dimensions acquired non-uniformly We convert data from Bruker/Varian differently and cautiously Processing starts by doing FT on directly acquired data first - just like 2D Data is then transposed... ready for reconstruction Reconstruction followed by FT in 2nd and 3rd dimension.

3D Spectra Conversion fid.com bruk2pipe -in ./ser \ #!/bin/csh -bad 0.0 -noaswap -DMX -decim 24 -dspfvs 12 -grpdly 0 \ -xN 2048 -yN 4 -zN 818 \ -xT 1024 -yT 2 -zT 409 \ -xMODE DQD -yMODE Real -zMODE Real \ -xSW 7002.801 -ySW 1824.818 -zSW 2777.778 \ -xOBS 500.132 -yOBS 50.684 -zOBS 125.780 \ -xCAR 4.772 -yCAR 119.571 -zCAR 176.054 \ -xLAB HN -yLAB 15N -zLAB 13C \ -ndim 3 -aq2D States \ | nmrPipe -fn MAC -macro $NMRTXT/ranceY.M -noRd -noWr \ | pipe2xyz -out ./fid/test%03d.fid -verb -ov -to 0 What is going on here?

What is going on here? Data no longer collected as a series of planes. Instead, treat data as string of points acquired according to the schedule. In 3D spectrum there are 4 FIDs per indirect point. -yN = 4 2 FIDs for each indirect dimension. E.g. 2 FIDs for Nitrogen (a complex point) 2 FIDs for Carbon (a complex point) This is how the Pulse Program Acquires the data Then there are 818 points acquired. -zN = 818 We treat each FID is real for conversion Each FID is put into a complex line of data by the reconstruction program Any dimension with non-complex acquisition (read Echo-AntiEcho) needs to be labeled as such. | nmrPipe -fn MAC -macro $NMRTXT/ranceY.M -noRd -noWr \ Here the Y dimension (Nitrogen) is labeled as Rance-Kay (Echo-AntiEcho).

Direct Dimension Transform ft1xyz.com xyz2pipe -in fid/test%03d.fid -x \ | nmrPipe -fn SOL \ | nmrPipe -fn SP -off 0.3 -end 0.98 -pow 2 -c 1.0 -size 512 \ | nmrPipe -fn ZF -size 512 \ | nmrPipe -fn FT -verb \ | nmrPipe -fn PS -p0 -34.4 -p1 0.0 -di \ | nmrPipe -fn EXT -x1 11.0ppm -xn 5.5ppm -sw \ | pipe2xyz -ov -out xyz/test%03d.ft1 -x Read in x dimension, write out to x dimension This allows phasing of direct dimension in NMRPipe.

Direct Dimension Processing Only

Phase, Transpose for Reconstruction ft1.com xyz2pipe -in fid/test%03d.fid -x \ | nmrPipe -fn SOL \ | nmrPipe -fn SP -off 0.3 -end 0.98 -pow 2 -c 1.0 -size 512 \ | nmrPipe -fn ZF -size 512 \ | nmrPipe -fn FT -verb \ | nmrPipe -fn PS -p0 -34.4 -p1 0.0 -di \ | nmrPipe -fn EXT -x1 11.0ppm -xn 5.5ppm -sw \ | pipe2xyz -ov -out xyz/test%03d.ft1 -z Read in x dimension, write out to z dimension This places indirect data in the x and y dimensions. This is necessary for istHMS reconstruction.

Fill in with Blanks, Reconstruct ist.csh set F = $1 #!/bin/csh -xv set in = $F:t set out = $F:t:r.phf set ft1 = $F:t:r.ft1 echo $in $out $ft1 istHMS -dim 2 -incr 1 -xN 64 -yN 128 -user 1 \ -itr 400 -verb 1 -ref 0 -vlist ./sched.2d \ < ./yzx/${in} >! ./yzx_ist/${out} -xN and -yN can be replaced with -autoN which gets the limits of reconstruction from the schedule file Each file in ‘yzx’ directory needs to be processed this way. Opportunity for parallelization of this process.

Cluster Submission E.g. foreach F (yzx/test*.ft1) qsub -cwd ./ist.csh $F end Many other methods. Consult your sys/cluster admin.

Multicore Laptop/Desktop Processing Use a perl program that will run multiple jobs for you at once, but never more than one job per possible thread. My Macbook pro: 4 cores, 8 threads. 8 processes at once. Not too shabby. parallel -j 100% 'csh ist.csh {} 2> /dev/null; echo {}' ::: yzx/test*.ft1 Running at 100% will make things toasty. You can run at 50% etc etc. This will take 15-30 minutes for typical spectra.... coffee time!

Reordering FIDs phf2pipe.com #!/bin/csh xyz2pipe -in yzx_ist/test%03d.phf \ | phf2pipe -user 1 -xproj xz.ft1 -yproj yz.ft1 \ | pipe2xyz -out rec/test%03d.ft1 FIDs are fully reconstructed from last step FIDs are now in conventional order (planes) xproj and yproj give the first plane in each indirect dimension - for phasing. Lets look at yz.ft1

Projection Phasing

Final Processing ft23.com #!/bin/csh -f xyz2pipe -in rec/test%03d.ft1 -x \ | nmrPipe -fn SP -off 0.5 -end 0.98 -pow 2 -c 0.5 \ | nmrPipe -fn ZF -size 64 \ | nmrPipe -fn FT -verb \ | nmrPipe -fn PS -p0 0.0 -p1 0.0 -di \ | nmrPipe -fn REV -verb \ | nmrPipe -fn TP \ | nmrPipe -fn ZF -size 128 \ | nmrPipe -fn FT -alt -verb \ | nmrPipe -fn PS -p0 0.0 -p1 0.0 -di \ | nmrPipe -fn ZTP \ > rec/data.pipe pipe2xyz -in rec/data.pipe -out rec/test%03d.ft3 -y pipe2ucsf rec/data.pipe GB1_NUS_HNCO.ucsf

Nice Spectrum!