{"id":571,"date":"2017-12-18T14:17:47","date_gmt":"2017-12-18T22:17:47","guid":{"rendered":"https:\/\/bionmr.mbi.ucla.edu\/?page_id=571"},"modified":"2018-01-16T11:36:28","modified_gmt":"2018-01-16T19:36:28","slug":"processing-with-smile","status":"publish","type":"page","link":"https:\/\/bionmr.mbi.ucla.edu\/?page_id=571","title":{"rendered":"Processing with SMILE"},"content":{"rendered":"<h4><span style=\"text-decoration: underline;\">SMILE:<\/span> Sparse Multidimensional Iterative Lineshape-Enhanced reconstruction of NUS data<\/h4>\n<p>&nbsp;<\/p>\n<p>SMILE is a new (2017) NUS processing algorithm published by Jinfa Ying, Frank Delaglio, Dennis Torchia, and Ad Bax.<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/link.springer.com\/article\/10.1007%2Fs10858-016-0072-7\">Ying, J., Delaglio, F., Torchia, D.A., and Bax, A.\u00a0<em>J. Biomol. NMR<\/em>\u00a0<strong>68<\/strong>(2): 101-118 (2017)<\/a><\/p>\n<p>It is provided as a plug-in to <span style=\"color: #800000;\">nmrPipe<\/span>. It must be installed along with <span style=\"color: #800000;\">nmrPipe<\/span>, and requires a version of <span style=\"color: #800000;\">nmrPipe<\/span> posted October 14th 2016, or later. More information can be found <a href=\"https:\/\/spin.niddk.nih.gov\/bax\/software\/smile\/\">here<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h5><span style=\"text-decoration: underline;\">Data Conversion<\/span><\/h5>\n<p>&nbsp;<\/p>\n<h5>*Note: All data processing instructions that follow assume familiarity with <a href=\"https:\/\/spin.niddk.nih.gov\/NMRPipe\/doc1\/\">nmrPipe processing<\/a>.<\/h5>\n<p>The data conversion is best done using the <span style=\"color: #800000;\">bruker<\/span> program that is supplied with <span style=\"color: #800000;\">nmrPipe<\/span>. The only thing that&#8217;s necessary for the <span style=\"color: #800000;\">bruker<\/span> program to recognize your dataset as an NUS dataset is that a file called <span style=\"color: #800000;\">nuslist<\/span> exists in the data directory. If you&#8217;ve acquired the data using TS2, just rename the file <span style=\"color: #800000;\">sched<\/span> to <span style=\"color: #800000;\">nuslist<\/span>.<\/p>\n<p>Here are three examples of data conversion:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Example 1: 2D HSQC acquired using TS3 \u00a050% sparcity<\/span><\/p>\n<p>Starting in your data directory, type:<\/p>\n<p>&gt;bruker -nus -nouseMask<\/p>\n<p>This will bring up the usual GUI, with NUS features added:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-589\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE101-300x166.png\" alt=\"SMILE101\" width=\"806\" height=\"446\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE101-300x166.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE101-768x425.png 768w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE101.png 921w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/p>\n<p>All the important information, including all the NUS information, will be read in automatically when you click &#8220;Read Parameters&#8221;. You&#8217;ll probably have to adjust the usual things like &#8220;Center Position&#8221;.<\/p>\n<p>This will generate a script (<span style=\"color: #800000;\">fid.com<\/span>) which does the data conversion:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-592\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE4-300x136.png\" alt=\"SMILE4\" width=\"717\" height=\"325\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE4-300x136.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE4.png 735w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Example 2: SMILE used as an alternative to linear prediction to extend a constant time<\/span><\/p>\n<p>SMILE can also be used to predict data points at the end of uniformly sampled data. For example, to extend a constant time. It works much better than linear prediction, and it&#8217;s very easy to implement. The conversion is done exactly as the conversion of any normal (ie, not NUS) dataset:<\/p>\n<p>&gt;bruker<\/p>\n<p>This will bring up the GUI, but without the added NUS stuff. It will generated the usual <span style=\"color: #800000;\">fid.com<\/span> script:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-595\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE102-300x111.png\" alt=\"SMILE102\" width=\"743\" height=\"275\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE102-300x111.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE102-768x284.png 768w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE102.png 883w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Example 3: 3D HBHAcoNH acquired using TS2 \u00a025% sparcity<\/span><\/p>\n<p>Rename the <span style=\"color: #800000;\">sched<\/span> file to <span style=\"color: #800000;\">nuslist<\/span> and start the <span style=\"color: #800000;\">bruker<\/span> GUI:<\/p>\n<p>&gt;mv sched nuslist<\/p>\n<p>&gt;bruker -nus -nouseMask<\/p>\n<p>As before, click &#8220;Read Parameters&#8221; in the GUI, and adjust things like the &#8220;Center Position&#8221;. It will generate a conversion script (<span style=\"color: #800000;\">fid.com<\/span>) appropriate for a 3D dataset acquired using NUS:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-599\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE103-300x162.png\" alt=\"SMILE103\" width=\"776\" height=\"419\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE103-300x162.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE103-768x414.png 768w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE103.png 859w\" sizes=\"auto, (max-width: 776px) 100vw, 776px\" \/><\/p>\n<p>Run the conversion script:<\/p>\n<p>&gt;.\/fid.com<\/p>\n<p>&nbsp;<\/p>\n<h5><span style=\"text-decoration: underline;\">Data Processing<\/span><\/h5>\n<p>&nbsp;<\/p>\n<p>One very nice feature of\u00a0the new <span style=\"color: #800000;\">bruker<\/span> conversion is that it\u00a0sorts and expands the NUS data into a larger matrix (the size that the uniformly sampled dataset would have been), and places zeros into the not-sampled points:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-602\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE5-300x165.png\" alt=\"SMILE5\" width=\"691\" height=\"380\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE5-300x165.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE5-768x422.png 768w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE5-1024x563.png 1024w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE5.png 1586w\" sizes=\"auto, (max-width: 691px) 100vw, 691px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\">Sorted and expanded data from 50% sparse HSQC<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>The data can then be processed normally (with no reconstruction). This is exactly like processing any normal (not NUS) data using nmrPipe.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-604\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE6-300x163.png\" alt=\"SMILE6\" width=\"690\" height=\"375\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE6-300x163.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE6-768x417.png 768w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE6-1024x555.png 1024w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE6.png 1591w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\">50% sparse NUS HSQC, processed with no reconstruction<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>The spectrum processed this way has many artifacts, but the peaks are clearly visible. The correct phase values can be found this way. This is important because the correct phase values must be known for the reconstruction to work properly.<\/p>\n<p>Reconstruction is done in nmrPipe using the new function SMILE. This is illustrated using the same three examples as above:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Example 1:\u00a02D HSQC acquired using TS3 \u00a050% sparcity<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-609\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE104-300x137.png\" alt=\"SMILE104\" width=\"694\" height=\"317\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE104-300x137.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE104-768x351.png 768w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE104.png 929w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/p>\n<p>The direct dimension is processed first, then a transpose is done to place the indirect dimension first. Then the SMILE reconstruction is done on the indirect dimension, then the indirect dimension is processed. Notice that the phase values for the indirect dimension also appear in the SMILE reconstruction.<\/p>\n<p>*One non-standard thing in this script is that the value of the parameter xT is 250. This parameter controls by how much the original data is extended. The default value is 0. If &#8220;-xT 0&#8221; is set, then the data in the reconstructed dimension will be extended by 50% (the default). In this case, there were 125 complex points collected (but 50% sparse, of course), so it would have been extended to 187 or 188 points. I wanted more resolution, so I set &#8220;-xT 250&#8221; to force it to extend out to 250 complex points. That is &#8211; in addition to filling in the missing points in the the first 125, it also uses SMILE to fill in (or predict) 125 additional points.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-615\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE107-300x166.png\" alt=\"SMILE107\" width=\"708\" height=\"392\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE107-300x166.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE107-768x425.png 768w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE107.png 955w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\">Reconstructed HSQC acquired with 50% sparcity<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Example 2: SMILE used as an alternative to linear prediction to extend a constant time<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-610\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE105-300x171.png\" alt=\"SMILE105\" width=\"558\" height=\"318\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE105-300x171.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE105.png 759w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/p>\n<p>In this case, the\u00a0spectrum was uniformly sampled, so there is no <span style=\"color: #800000;\">nuslist<\/span>. However the SMILE function used with the parameter xCT set to 486, tells it to use SMILE to extend the original 243 complex points out to 486 complex points. Again, the indirect dimension phases must be set during the reconstruction as well as during the final processing.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-616\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE108-300x204.png\" alt=\"SMILE108\" width=\"728\" height=\"495\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE108-300x204.png 300w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE108-768x523.png 768w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE108.png 943w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Example 3: 3D HBHAcoNH acquired using TS2 \u00a025% sparcity<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-611\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE106-214x300.png\" alt=\"SMILE106\" width=\"475\" height=\"666\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE106-214x300.png 214w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE106.png 493w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/p>\n<p>As with 2D data, with 3D data the direct dimension is processed first. The data is then reordered so that XYZ becomes YZX. Or the original Y and Z dimensions (the 1st and 2nd indirect dimensions in nmrPipe-speak) are moved into the X and Y positions. Then the SMILE reconstruction is done, then the two indirect dimensions are processed. For a 3D dataset, there are &#8220;x&#8221; and &#8220;y&#8221; phases, as well as xT and yT parameters. \u00a0Here, &#8220;x&#8221; refers to the first indirect dimension and &#8220;y&#8221; refers to the 2nd indirect dimension. The phase corrections should exactly match the two sets of phase corrections for the two indirect dimensions that appear below the SMILE reconstruction in the script (here they&#8217;re all zero). &#8220;-xT 0&#8221; and &#8220;-yT 0&#8221; tell it to use the default 50% extension in both indirect dimensions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-617\" src=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE109-233x300.png\" alt=\"SMILE109\" width=\"641\" height=\"825\" srcset=\"https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE109-233x300.png 233w, https:\/\/bionmr.mbi.ucla.edu\/wp-content\/uploads\/2018\/01\/SMILE109.png 420w\" sizes=\"auto, (max-width: 641px) 100vw, 641px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\">F1-F3 projection from reconstructed HBHAcoNH spectrum<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/bionmr.mbi.ucla.edu\/?page_id=408\">back to Non-Uniform Sampling experiments<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SMILE: Sparse Multidimensional Iterative Lineshape-Enhanced reconstruction of NUS data &nbsp; SMILE is a new (2017) NUS processing algorithm published by Jinfa Ying, Frank Delaglio, Dennis Torchia, and Ad Bax. Ying, J., Delaglio, F., Torchia, D.A., and Bax, A.\u00a0J. Biomol. NMR\u00a068(2): 101-118 (2017) It is provided as a plug-in to nmrPipe. It must be installed along [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-571","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bionmr.mbi.ucla.edu\/index.php?rest_route=\/wp\/v2\/pages\/571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bionmr.mbi.ucla.edu\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bionmr.mbi.ucla.edu\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bionmr.mbi.ucla.edu\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bionmr.mbi.ucla.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=571"}],"version-history":[{"count":33,"href":"https:\/\/bionmr.mbi.ucla.edu\/index.php?rest_route=\/wp\/v2\/pages\/571\/revisions"}],"predecessor-version":[{"id":620,"href":"https:\/\/bionmr.mbi.ucla.edu\/index.php?rest_route=\/wp\/v2\/pages\/571\/revisions\/620"}],"wp:attachment":[{"href":"https:\/\/bionmr.mbi.ucla.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}