Overlay spectra with different color

490 views
Skip to first unread message

jmgo...@ncsu.edu

unread,
Jul 5, 2021, 7:17:52 PM7/5/21
to NMR POKY/SPARKY USER GROUP
Hi Woonghee,

I was wondering if it was possible to change the color of the different spectra when overlaying them. Thanks in advance!

Best,
Jessica

Lee, Woonghee

unread,
Jul 5, 2021, 7:25:16 PM7/5/21
to jmgo...@ncsu.edu, NMR SPARKY USER GROUP
Dear Jessica,

You can just type "ct" and change the color. Or, yoy can click tool button in the poky main window when selecting a spectrum and click contour setting button in the opened window if you use poky.

Best,
Woonghee


From: nmr-s...@googlegroups.com <nmr-s...@googlegroups.com> on behalf of jmgo...@ncsu.edu <jmgo...@ncsu.edu>
Sent: Monday, July 5, 2021, 17:17
To: NMR POKY/SPARKY USER GROUP
Subject: [NMR POKY/SPARKY] Overlay spectra with different color

[External Email - Use Caution]
--
You received this message because you are subscribed to the Google Groups "NMR POKY/SPARKY USER GROUP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nmr-sparky+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nmr-sparky/a2061ee2-0827-4dc6-90a4-93e507fed699n%40googlegroups.com.

Gabriel Cornilescu

unread,
Jul 6, 2021, 12:08:53 PM7/6/21
to nmr-s...@googlegroups.com

May want to check out the select all/random colors from 'ec' - easy contour - a nice tool, I'm using it all the time with hsqc titrations. Even more useful, handling contour levels in multiple spectra is fast in 'ec'.

Gabriel Cornilescu

unread,
Jul 6, 2021, 12:31:22 PM7/6/21
to nmr-s...@googlegroups.com

Jessica,

I've included below some other sparky commands/tricks that I'm using routinely with nmr titrations:

****** titr Sparky ********

yr - zoom in one spectrum will also zoom in all others (if syncronyzed with yt)

ct - 1-apo-blue, 2-magenta, 3- lime green, 4-orange, 5-red, then -> Set default
* ec - easy contour (use Update to see defaults from ct above)

* eo - easy overlay spectra

* pa, oc, op (to copy all apo peak labels onto next spectrum)
* pc - peak center (perturbed peaks), repeat onto the next spectrum etc. until the last spectrum - this way most shifting peaks will be assigned automatically in all spectra, manually inspect overlap regions and broadened out peaks

lt - check shifted amide peaks one by one (double click each assignment in sequence to jump into its zoomed spectral location in all spectra)

* np - perturbation plot
dHN = sqrt [dH^2+(dN/B)^2)/2], B=7, k=1/B=0.14
save to graphics/from_ndpplot.png

- edit YMAX=...ppm in ~/ndpplot.ini, if needed to normalize CSPs

* Click on 'Gradient' button, a new file called "p" will be written, with color gradient

* pt/Save (save as Z2445167076_zoom.ps)

*** Pymol:
pymol from_ndpplot.pse&

- color all blue to make sure previous color gradient is reset!!!

@p - on pymol command line to update colors from ndplot
File/Export as png: map_to_struct.png

Lee, Woonghee

unread,
Jul 6, 2021, 12:34:22 PM7/6/21
to Gabriel Cornilescu, nmr-s...@googlegroups.com

Hi Gabriel,

 

This is really a nice note! Everybody will benefit from it.

 

Thanks,

Woonghee

 

--

Woonghee Lee, I.E.I.P., M.S., Ph.D.

 

Assistant Professor

Department of Chemistry

University of Colorado Denver

1151 Arapahoe St. (Science Bldg.) Rm 4128A

Denver, CO 80217-3364, USA

Office: +1-303-315-7672

woongh...@ucdenver.edu

 

https://poky.clas.ucdenver.edu

https://poky.clas.ucdenver.edu/wlee-group

https://clas.ucdenver.edu/chemistry/woonghee-lee

 

Shipping/Mailing Address:

Woonghee Lee

1201 5th St. UCD CHEM-194

P.O. Box 173364 (USPS)

Denver, CO 80204, USA

Jessica M. Gonzalez-Delgado

unread,
Jul 6, 2021, 12:43:04 PM7/6/21
to nmr-s...@googlegroups.com
Wow! Thank you so much for sharing these!!

Gabriel Cornilescu

unread,
Jul 6, 2021, 1:10:12 PM7/6/21
to nmr-s...@googlegroups.com

I also have an NMRPipe protocol to process all titration spectra (acquired with NUS) in a couple of seconds :)

Please let me know if you're interested...

stefano ciurli

unread,
Jul 7, 2021, 11:04:25 AM7/7/21
to Gabriel Cornilescu, nmr-s...@googlegroups.com
… who would not be…? :-)

Sent from my iPad

On Jul 6, 2021, at 19:10, Gabriel Cornilescu <gcorn...@gmail.com> wrote:



Gabriel Cornilescu

unread,
Jul 7, 2021, 4:04:53 PM7/7/21
to stefano ciurli, jmgo...@ncsu.edu, nmr-s...@googlegroups.com

I placed an example dataset here:

https://drive.google.com/file/d/1juQgtFH43SLxonV7Ke5jl3zK4C6miFdz/view?usp=sharing

Please take a look at the README file and feel free to ask questions.

Enjoy,

Gabriel

Reply all
Reply to author
Forward
0 new messages