EMBL Hamburg Biological
Small Angle Scattering

DATRG manual


Post all your questions about DATRG to the ATSAS Forum.

© ATSAS Team, 2010-2013

Table of Contents


The following sections shortly describe how to run DATRG from the command-line on any of the supported platforms, the required input and runtime output


DATRG is a tool for estimation of radius of gyration (Rg) and I0. It also estimates errors of determined values and fidelity.

Running datrg


$ datrg [OPTIONS] FILE(s)

OPTIONS known by DATRG are described in next section, the required argument(s) FILE(S) in the section on input files.

Command-line arguments and options

DATRG requires the following command line arguments:

FILE(S) Data files in any of the supported formats.

Absolute as well as relative paths to data files are accepted. Up to one of the input files may also be given as '-', in this case input is read from stdin instead of a file.

DATRG recognizes following command-line options:

Short optionLong optionDescription
-t --type Assumed type of particle, may be one of: GLOBULAR, FLAT, ROD (case insensitive). Default: GLOBULAR.
--first First point of the Guinier region. Default: 1.
--last Last point of the Guinier region. Default: N, where N is the number of points in the rspective data file.
-v --version Print version information and exit.
-h --help Print a summary of arguments and options and exit.

Runtime output

DATRG output consists of results lines for each input file with the following values: Rg, error of Rg, I0, error of I0, fidelity.

datrg input files

FILE may come in any supported file format that provides a scattering vector, experimental intensity and experimental errors.


$ datrg -t ROD --last 20 sample001.dat sample002.dat
1.406       0.001       2.957       0.002       0.000  sample001.dat
1.495       0.001       2.506       0.002       0.000  sample002.dat

  Last modified: February 25, 2015

© BioSAXS group 2015