A python script to quickly evaluate effect of co-processing several 2D spectra together.
The analysis can be performed in 10-15 minutes time, and is a valuable guide to determine which limit one should set the sampling fraction level to.
This script is for the intended use, where several experiments is recorded together, and where the modulation of the peaks are expected only to be in the peak intensities. That means, that all spectra should share the same frequency information, but not same amplitude.
First record one full experiment, for example the reference spectrum.
Put a link to qNLS.py somewhere in your PATH
In the folder, write: qNLS.py -sf 20 15 10 5
Where sf is the sampling fractions in percent.
The script then proceeds as follows:
- Loop over the sampling fraction level:
- Produce nls.in ; Numper of points in direct and in-direct dimensions, and sweep-width (Hz) are read from test.fid with nmrglue. ; In 00_ref.fid, write nls.in at 100 sf level ; In 01.fid, write nls.in according to the sampling fraction level
- Produce nusschedules with 'nussampler' from MddNMR within each *.fid folder
- Binary read the orginal fid file, and write out a truncated fid file in each *.fid folder according to the nusschedule. ; The individual fid file only contains the in-direct FIDs determined and ordered from the nusscedule. ; The 00_ref.fid then contains the full fid, but where the in-direct FIDs have been shuffled according to the full nusscedule.
- Then write proc.sh, which is command file with environment settings to MddNMR. These settings can be modified by parsing input commands to qNLS.py
- Then write fidSP.com and recFT.com. These are spectrum processing parameters, and these are read from the initial files of fid.com, and nmrproc.com.
- Then produce files for coMDD processing.
- Then coMDD process.
- Then analyse and produce figures.
Get help by writing:
qNLS.py -h
If problems, try see this wiki page: http://wiki.nmr-relax.com/Epd_canopy
The following programs should be in your PATH.
Try write in your terminal "which mddnmr4pipeN.sh", to see if they are available.
coMDD in MddNMR needs some standard packages to be present on system.