{"id":1420,"date":"2018-05-03T08:39:17","date_gmt":"2018-05-03T12:39:17","guid":{"rendered":"https:\/\/research.cbc.osu.edu\/foster.281\/?p=1420"},"modified":"2018-05-03T08:39:17","modified_gmt":"2018-05-03T12:39:17","slug":"delaglios-tips-for-measuring-noise-in-nmrpipe","status":"publish","type":"post","link":"https:\/\/research.cbc.osu.edu\/foster.281\/2018\/05\/03\/delaglios-tips-for-measuring-noise-in-nmrpipe\/","title":{"rendered":"Delaglio\u2019s Tips for Measuring Noise in NMRPipe"},"content":{"rendered":"<p>NMRDraw has interactive tools to estimate noise (Draw\/Estimate Noise) and report statistics of a selected region (Mouse\/2D Zoom).<\/p>\n<p>If you&#8217;d like to use command-line tools to estimate noise, here are some examples &#8230; you can combine these in a script to automated a signal to noise calculation according to whatever protocol you like.<\/p>\n<p>If you&#8217;d like to report the RMS or other statistic of a spectral region, you can use the &#8220;<a dir=\"ltr\" href=\"http:\/\/specstat.com\/\">specStat.com<\/a>&#8221; utility. For example, this would perform an automated noise estimate. The noise estimate analyzes the distribution of intensities, and assumes that that inner fraction of this distribution is mostly due to noise. This estimate is usually good to between 5 &#8211; 20%, and will tend to underestimate the noise:<\/p>\n<p><a dir=\"ltr\" href=\"http:\/\/specstat.com\/\">specStat.com<\/a> -in test.ft2 -x1 0% -xn 100% -y1 0% -yn 100% -stat vEstNoise<\/p>\n<p>This would report the RMS of the selected region (such as an empty region you define):<\/p>\n<p><a dir=\"ltr\" href=\"http:\/\/specstat.com\/\">specStat.com<\/a> -in test.ft2 -x1 10.5ppm -xn 9.7ppm -y1 117.0ppm -yn 104.0ppm -stat vRMS<\/p>\n<p>As you know, you can perform peak detection in NMRDraw, but the same peak detection method is available from the command line, for example:<\/p>\n<p>pkDetect2D.tcl -in test.ft2 -thresh 1.2e+6 -out test.tab<\/p>\n<p>Given a peak table, you can extract the HEIGHT values like this:<\/p>\n<p>set hiList = (`getTabCol.tcl -in test.tab -var HEIGHT`)<\/p>\n<p>and you can extract statistics of the extracted values above (average, minimum, maximum, etc) like this:<\/p>\n<p>getStat.tcl -x $hiList -stat Median<\/p>\n<p>A complete example is below. Hope this helps!<\/p>\n<p>Cheerful Regards,<\/p>\n<p>big fd<\/p>\n<p>#!\/bin\/csh<\/p>\n<p>set autoNoise = (`<a dir=\"ltr\" href=\"http:\/\/specstat.com\/\">specStat.com<\/a> -in test.ft2 -x1 0% -xn 100% -y1 0% -yn 100% -stat vEstNoise -brief`)<br \/>\nset manualNoise = (`<a dir=\"ltr\" href=\"http:\/\/specstat.com\/\">specStat.com<\/a> -in test.ft2 -x1 10.5ppm -xn 9.7ppm -y1 117.0ppm -yn 104.0ppm -stat vRMS -brief`)<\/p>\n<p>pkDetect2D.tcl -in test.ft2 -thresh 1.2e+6 -out test.tab -noverb<\/p>\n<p>set hiList = (`getTabCol.tcl -in test.tab -var HEIGHT`)<br \/>\nset pkMedian = (`getStat.tcl -x $hiList -stat Median -noverb`)<\/p>\n<p>set autoSN = (`MATH &#8220;$pkMedian\/$autoNoise&#8221;`)<br \/>\nset manualSN = (`MATH &#8220;$pkMedian\/$manualNoise&#8221;`)<\/p>\n<p>nmrPrintf &#8220;Automated Noise Estimate: %9.1f\\n&#8221; $autoNoise<br \/>\nnmrPrintf &#8220;RMS of Manually-Selected Empty Region: %9.1f\\n&#8221; $manualNoise<br \/>\nnmrPrintf &#8220;Median Peak Height: %.3e\\n&#8221; $pkMedian<br \/>\nnmrPrintf &#8220;Automated Signal-to-Noise: %9.3f\\n&#8221; $autoSN<br \/>\nnmrPrintf &#8220;Manual Signal-to-Noise: %9.3f\\n&#8221; $manualSN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NMRDraw has interactive tools to estimate noise (Draw\/Estimate Noise) and report statistics of a selected region (Mouse\/2D Zoom). If you&#8217;d like to use command-line tools to estimate noise, here are some examples &#8230; you can combine these in a script<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-1420","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7sxod-mU","jetpack-related-posts":[{"id":952,"url":"https:\/\/research.cbc.osu.edu\/foster.281\/2016\/04\/29\/mark-foster-receives-dick-maxwell-award-from-the-office-of-disability-services\/","url_meta":{"origin":1420,"position":0},"title":"Mark Foster Receives Dick Maxwell Award from the Office of Disability Services","author":"Mark Foster","date":"April 29, 2016","format":false,"excerpt":"Dick Maxwell Award Nomination Statement Nominee: Dr. Mark Foster Nominators: The Interpreting Team Dr. Foster has worked with a student who is deaf that is registered with our office in various capacities since August of 2014. Dr. Foster is currently her lab advisor in her pursuit of a PhD in\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1163,"url":"https:\/\/research.cbc.osu.edu\/foster.281\/2016\/08\/01\/fixing-scale-unit-errors-for-generating-symmetry-mates-in-pymol-and-chimera\/","url_meta":{"origin":1420,"position":1},"title":"Fixing Scale Unit Errors for Generating Symmetry Mates in PyMOL and Chimera","author":"Mark Foster","date":"August 1, 2016","format":false,"excerpt":"Problem: I am experiencing a strange problem with generating symmetry mates in PyMOL for the coordinate file 1WAP: specifically, the generated molecules clash with each other. I tried using either the menus Action > generate > symmetry mates \u2026. , or using the symexp command; same result Coot is able\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/posts\/1420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/comments?post=1420"}],"version-history":[{"count":1,"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/posts\/1420\/revisions"}],"predecessor-version":[{"id":1421,"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/posts\/1420\/revisions\/1421"}],"wp:attachment":[{"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/media?parent=1420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/categories?post=1420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/research.cbc.osu.edu\/foster.281\/wp-json\/wp\/v2\/tags?post=1420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}