---
title: "PRETTY XDS"
url: "https://help.dectris.cloud/en/article/pretty-xds"
language: "en"
last_updated: "2026-07-16T01:05:15.140Z"
---

# PRETTY XDS

## **Introduction**

[This job template](https://app.dectris.cloud/sections/library/jobs/templates/public?id=01975702-e4df-7243-9c16-8700b9f70c3b) is built with the [XDS](https://help.dectris.cloud/en/article/xds) environment and runs `xds_par` followed by `xds_conv`. The user must define paths to folders in an experiment or project containing the input files `XDS.INP` and `XDSCONV.INP`, respectively. These files must be prepared before running the job.

The job uses a Python script to generate visual output, including plots of **CC1/2** and **completeness** as functions of resolution.

## **Quick Start**

To run this job, you need to specify the following input variables:

-   **DC\_XDS\_INP\_PATH:** Path to a folder within your experiment or project where relevant the `XDS.INP` file is located (the file must have this exact name). This file must already be configured, e.g. with the correct path in the cloud to the data you want to analyze. *Example value*: `DCEU:2025:85161/auxiliary`
-   **DC\_XDSCONV\_INP\_PATH**: Path to a folder within your experiment or project where the relevant `XDSCONV.INP`  file is located (The file must have this exact name). This file must also be preconfigured. Example value: `DCEU:2025:85161/auxiliary`

Optionally, the following input variables can also be configured:

-   **DC\_XDS\_MAX\_JOBS**: Overrides the [MAXIMUM\_NUMBER\_OF\_JOB](https://xds.mr.mpg.de/html_doc/xds_parameters.html#MAXIMUM_NUMBER_OF_JOBS=) parameter defined in the XDS input file. This parameter defines how many portions the images are split into for the COLSPOT and INTEGRATE steps of xds\_par. *Example value*: `4`
-   **DC\_XDS\_MAX\_PROCESSORS**: Overrides the [MAXIMUM\_NUMBER\_OF\_PROCESSORS](https://xds.mr.mpg.de/html_doc/xds_parameters.html#MAXIMUM_NUMBER_OF_PROCESSORS=) parameter in the XDS input file. This parameter defines the maximum number of CPUs that can be used by xds\_par. *Example value*: `4`

These optional variables can have a significant impact on the runtime of the job. Increase them if you are using a machine type with many CPUs.

![](https://cdn-assets.productfruits.com/ed309b50-208d-425b-9dd3-c76929c8c7b9)

In the above example, `XDS.INP` and `XDSCONV.INP` files have been uploaded to the auxiliary directory of the experiment. The job copies these files to the temporary working directory, where the programs are executed. Afterward, a Python script generate visualizations, and all relevant output is copied to the job output directory. 

## **Output**

A successfully completed job generates the following outputs:

![](https://cdn-assets.productfruits.com/e343667e-14eb-4822-af1d-3a9909ecc252)

![](https://cdn-assets.productfruits.com/2cdd3045-243d-458f-8581-861e45b089aa)

-   At the top level of the output folder, the following plots and files are defined: 
    -   `CC_HALF_vs_Resolution.png`: A plot of CC1/2 as a function of the resolution limit.
    -   `COMPLETENESS_vs_Resolution.png`: A plot of the completeness as a function of the resolution limit.
    -   `I_SIGMA_vs_Resolution.png`: A plot of the Mean I/σ(I) as a function of the resolution limit.
    -   `R-MEAS_vs_Resolution.png`: Redundancy-independent R-factor (%) as a function of the resolution limit.
    -   `correct_summary.txt`: Crystallographic statistics extracted from the CORRECT.LP
    -   `refined_unit_cell.txt`: The refined unit cell
-   Within the subdirectory `xds_output`, the typical XDS and XDS\_CONV output files can be found:
    -   `ABS.cbf`
    -   `COLSPOT.LP`
    -   `CORRECT.LP`
    -   `DEFPIX.LP`
    -   `GXPARM.XDS`
    -   `IDXREF.LP`
    -   `INIT.LP`
    -   `INTEGRATE.HKL`
    -   `INTEGRATE.LP`
    -   `F2MTZ.INP`
    -   `SHOW_BKG.cbf`
    -   `SPOT.XDS`
    -   `temp.hkl`
    -   `XDS.INP`
    -   `XDSCONV.INP`
    -   `XDSCONV.LP`
    -   `XDS_ASCII.HKL`
    -   `XPARM.XDS`
    -   `XYCORR.LP`

## **Versions**

### **Version 0**

-   Initial version created with version 1 of the [XDS](https://help.dectris.cloud/en/article/xds) environment.
-   In this version, the input variables `XDS_INP_PATH` and `XDSCONV_INP_PATH` were specified as strings instead of path variables, so they had to be typed manually instead of selected via the job file browser:![](https://cdn-assets.productfruits.com/0333fb87-1426-4a80-8c23-d43bc6db256d)

### **Version 1**

-   In this version `XDS_INP_PATH` and `XDSCONV_INP_PATH` were updated to become PATH variables:![](https://cdn-assets.productfruits.com/9c091f9a-d2b0-4251-9562-ea52ac7366ed)
