Wiki source code of 11. Data processing

Version 26.1 by tabermah on 2022-10-20 15:24

Hide last authors
ecrosas 4.1 1 \\
2
hakanj 15.1 3 **11.1. Automatic data processing**
ecrosas 2.1 4
hakanj 13.1 5 Unless you un-check the option for the specific acquisition run, autoprocessing will be executed. For standard rotational data autoprocessing is via XDSAPP (Sparta et al. (2016) //J. Apple. Cryst.// **49**, 1085-1092) for strategy calculation we use Mosflm (Leslie //Acta D//**62** (2006) 48-57) and Spotfinder ((% style="color: rgb(0,0,0);text-decoration: none;" %)Zhang et al. (2006). (% style="text-decoration: none;text-align: left;" %)//J. Appl. Cryst.//(% style="color: rgb(0,0,0);text-decoration: none;" %) (% style="text-decoration: none;text-align: left;" %)**39**(% style="color: rgb(0,0,0);text-decoration: none;" %), 112–119)(%%) for producing the heatmap for the grid scans. The results are compiled into HTML-files to give you a convenient way of checking them. The output files are in the processed folders of the corresponding datasets.  A self refreshing index of all results is created in the beamtimes processed folder. During the beamtime you can open it from file::~/~//gpfs/current/processed/index.html in a browser. The HTML-file is also contained in your data backup.
ecrosas 2.1 6
janmeyer 10.1 7 \\
ecrosas 2.1 8
hakanj 15.1 9 **11.2. Manual data processing onsite**
ecrosas 2.1 10
tabermah 25.1 11 Please do not use the control computers of the beamline (haspp11user01-04) nor the haspp11eval01 for data processing (latter is now fully dedicated to autoprocessing).
ecrosas 2.1 12
hakanj 20.1 13 Use Maxwell-cluster for data processing as described in the next chapter; on-site, you can directly ssh to username@desy-ps-cpu. Access to Maxwell requires a Scientific Account.
ecrosas 3.1 14
tabermah 25.1 15 Manual data processing after the beamtime or during a remote session is only available for registered [[DESY Scientific Accounts>>doc:FSEC.Science Accounts.WebHome||shape="rect"]].
hakanj 13.1 16
tabermah 24.1 17 \\
ecrosas 3.1 18
hakanj 13.1 19 //Accessing data from outside the DESY network~://
hakanj 20.1 20
tabermah 26.1 21 Accessing the Maxwell cluster is easiest with Max-display:  connect to [[https:~~/~~/max-fs-display.desy.de:3389/auth/ssh/>>url:https://max-fs-display.desy.de:3389/auth/ssh/||shape="rect"]] via web browser with the credentials of your scientific account.
hakanj 20.1 22
23 Accesss via terminal window:
ecrosas 3.1 24 ssh (% class="Object" %)[[username@desy-ps-ext.desy.de>>mailto:username@desy-ps-ext.desy.de||shape="rect"]](%%)
25 ssh username@desy-ps-cpu
hakanj 20.1 26
ecrosas 3.1 27 Give your password when prompted
28 Navigate to data by:
hakanj 13.1 29 cd /asap3/petra3/gpfs/p11/2020/data/beamtimeID
30
31 Data is accessible to users who were registered participants to the experiment in Door prior to the beamtime ID being opened at the beamline. If you cannot access the data, please contact your LC or the beamline manager.
hakanj 17.1 32
hakanj 18.1 33 (% style="color: rgb(51,51,51);text-decoration: none;" %)Our processing folders now contain two folders, 'full' and 'manual'. 'Manual' contains a template that has all the correct parameters and processing will run just by typing xds_par there. However, to shorten the processing time and make use of the computational structure, you should use a script to queue the jobs in slurm. A template script (xds.sh) can be found at /asap3/petra3/gpfs/common/p11/xds.sh
34
35 The partition in the script is defined psx for external users (ps should be used for internal users of Photon Science).
hakanj 17.1 36 (% style="color: rgb(51,51,51);text-decoration: none;" %)Copy the script to the folder where you run the processing and launch by (%%)
37 (% style="color: rgb(51,51,51);text-decoration: none;" %)sbatch xds.sh(%%)
38 (% style="color: rgb(51,51,51);text-decoration: none;" %)It will find a free node for your job and run faster than just typing xds_par(%%)
pompidor 19.1 39 (% style="color: rgb(51,51,51);text-decoration: none;" %)The xds-log you get in a file xds-job-~#~##.out
40
41 (% style="color: rgb(51,51,51);text-decoration: none;" %)nxds can be used for processing Serial Crystallography data in a similar way than xds. As the computing time is long, nxds should should be used via a script to queue the jobs in slurm. The template script (nxds.sh) as well as an example of input file (nXDS.INP) can be found in /asap3/gpfs/common/p11/.
42
43 (% style="color: rgb(51,51,51);text-decoration: none;" %)Copy the script and the nXDS.INP to the folder where you run the processing. The nXDS.INP file needs some editing to fit your data path and data collection parameters (wavelength, detector distance, oscillation...). The processing is launch by
44 sbatch nxds.sh
45
46 //List of software you can use is at~://
tabermah 21.1 47 (% class="Object" %)[[https:~~/~~/confluence.desy.de/display/MXW/Photon+Science>>doc:MXW.Photon Science.WebHome||shape="rect"]](%%)
ecrosas 4.1 48 \\//You can store analysis results in scratch_cc (temporary/testing results) or processed (final results).//
49 \\//To use crystallographic programs~://
ecrosas 3.1 50 module avail
51 module load xray     # sets the environment for xds and helper GUIs such as XDSAPP
52 module load ccp4/6.4
53 module load phenix 
pompidor 19.1 54
55 \\
56
57 \\
tabermah 21.1 58
59 (((
60 \\
61 )))