BioXTAS RAW: improvements to a free open-source program for small-angle X-ray scattering data reduction and analysis

BioXTAS RAW is a graphical-user-interface-based free open-source Python program for reduction and analysis of small-angle X-ray solution scattering (SAXS) data, including size-exclusion chromatography coupled SAXS data. The software is designed for biological data and enables creation and plotting of one-dimensional scattering profiles from two-dimensional detector images, standard data operations such as averaging and subtraction and analysis of radius of gyration and molecular weight, and more advanced analyses such as calculation of inverse Fourier transforms.


Introduction
Small-angle X-ray solution scattering (SAXS) is a popular structural technique for studying biological macromolecules. SAXS can provide information about the solution state of macromolecules and complexes, including, but not limited to, size, molecular weight, oligomeric state, flexibility, foldedness and overall shape Jacques & Trewhella, 2010;Blanchet & Svergun, 2013;Graewert & Svergun, 2013;Petoukhov & Svergun, 2013;Vestergaard & Sayers, 2014;Chaudhuri, 2015). Closely tied with the increasing popularity of biological SAXS is the increasing number of computer programs to analyze the data.
SAXS data are primarily acquired on two-dimensional area detectors and then reduced to one-dimensional profiles of scattered intensity versus scattering vector magnitude q [q = 4 sin ()/, where 2 is the scattering angle and is the X-ray wavelength] (Blanchet & Svergun, 2013;Pauw, 2013;Petoukhov & Svergun, 2013;Dyer et al., 2014;Skou et al., 2014). Many programs exist for performing this reduction: standalone programs or libraries such as FIT2D, pyFAI and DPDAK (Hammersley et al., 1996;Benecke et al., 2014;Ashiotis et al., 2015;Hammersley, 2016); custom solutions for a particular synchrotron beamline, such as the version of Blu-ICE (McPhillips et al., 2002) used at BL 4-2 at the SSRL, or home source company, such as the SAXSLab software from Rigaku; and, increasingly, data processing pipelines at synchrotron beamlines, such as those at P12 at Petra III and BM29 at the ESRF Blanchet et al., 2015;Brennich et al., 2016).
Once obtained, macromolecular scattering profiles are typically averaged and background subtracted, then basic analyses, such as a Guinier fit and calculation of molecular weight, are carried out. Except for FIT2D, pyFAI and DPDAK, all of the software listed above has these capabilities. Other common software for these operations are ScÅ tter, Primus and the ATSAS utilities (Rambo, 2017;Konarev et al., 2003;Petoukhov et al., , 2012Franke et al., 2017). After subtraction and basic quality checks, the choices for further analysis depend on the question(s) being investigated by the scientist. Many of the programs already mentioned have advanced analysis capabilities, as do others such as GENFIT, the Integrative Modelling Platform (IMP) SAXS software, SASSIE, DENFERT, SASTBX, MEMPROT (Curtis et al., 2012;Liu et al., 2012;Koutsioubas & Pé rez, 2013;Spinozzi et al., 2014;Pé rez & Koutsioubas, 2015;Koutsioubas et al., 2016;Perkins et al., 2016;Schneidman-Duhovny et al., 2016) and more (see, for example, http://smallangle.org/content/software). There are also programs specifically for analysis of size exclusion chromatography coupled SAXS (SEC-SAXS) data: DATASW, DELA and the US-SOMO HPLC-SAXS module (Malaby et al., 2015;Shkumatov & Strelkov, 2015;. RAW is unique in that it (i) calibrates, masks and integrates images, (ii) can carry out basic data processing such as averaging, subtraction, Guinier fits and molecular weight calculation, (iii) incorporates advanced processing such as calculation of inverse Fourier transforms and envelopes, (iv) provides basic and advanced SEC-SAXS analysis capabilities, (v) can be used both at a beamline and by scientists on their personal machines, (vi) is open source, (vii) is free to all, and (viii) is available on all major OS platforms. The closest comparison among currently available software is to Primus and ScÅ tter, both of which have features (ii), (iii), (v) and (viii), while ScÅ tter additionally has feature (vi). Each of the three programs, Primus, ScÅ tter and RAW, has features that are unique. The synchrotron beamline pipelines mentioned above also provide many of these features [at least (i)-(iii)], but cannot easily be used on scientists' personal machines or at other beamlines. RAW is ideal for use both at a beamline and by scientists at home for initial data processing, validation and modeling. For these reasons, RAW is already used at several beamlines around the world (Acerbo et al., 2015;Li et al., 2016) and at numerous home sources. This paper describes the new or updated features of RAW since the initial publication about the software (Nielsen et al., 2009). These new and updated features include (i) improvements to the automatic centering and calibration routines, (ii) support for new detector types and new integrated (onedimensional) data formats such as .dat [the standard extension for ASCII-formatted SAXS files with three-column data of q, I(q) and ÁI(q)], (iii) calculation of Guinier fits manually and automatically, (iv) calculation of molecular weight via four different methods, (v) control of GNOM, AMBIMETER, DAMMIF, DAMAVER and DAMCLUST (Svergun, 1992;Franke & Svergun, 2009;Petoukhov et al., 2012;Petoukhov & Svergun, 2015;Franke et al., 2017) from RAW, (vi) loading of SEC-SAXS data sets as intensity versus frame number curves and calculation of radius of gyration (R g ) and molecular weight across peaks, (vii) singular value decomposition for analyzing the number of significant components in a data set, (viii) evolving factor analysis for model-free deconvolution of data based on the work of Meisburger et al. (2016), (ix) tracking of processing history and analysis, (x) availability on all major operating systems (Windows, Mac OSX, and Linux), and (xi) availability of a written tutorial and manual, and tutorial videos online.

Program overview
RAW is a graphical user interface (GUI)-based free opensource program for reducing and analyzing biological smallangle X-ray scattering data. It is a Python-based program released under the GNU General Public License (GPL), with a few routines written in C++ for speed. Pre-built installers, source code, installation instructions, tutorials, manuals, version change logs and support are all available from the project web site: https://sourceforge.net/projects/bioxtasraw/. It has been designed as a quick to learn, easy to use program that allows users to process data from images to envelopes, and has been improved on the basis of feedback obtained from users at beamlines and in their home laboratories over the course of $8 years. It contains significant standalone data reduction and analysis features while also serving as a front end for some existing analysis software from the ATSAS (Franke et al., 2017) package (which is closed source, and is free for academic but not industrial users). This article describes version 1.2.1 of RAW only; features may differ in other versions.
3. Working with images and scattering profiles 3.1. Loading and processing images Typical SAXS image processing has been described in detail elsewhere (e.g. Pauw, 2013). In brief, it usually proceeds as follows: collect image; apply any necessary corrections to the image, for example dark current subtraction; mask image to remove artifacts, for example detector panel gaps and beamstop shadow; radially average image into a scattering profile of intensity versus q using known calibration values (beam center, sample-detector distance, X-ray energy), also called integration; apply any necessary corrections to the scattering profile, for example the solid angle correction; normalize the data by incident intensity or other equivalent value; and possibly apply additional normalization/correction factors, for example putting the data on an absolute scale. RAW supports all these operations.
RAW supports 27 different detector image formats using both the FabIO library (Knudsen et al., 2013) and customwritten functions implemented independently from that library, including reading in the image header for use in processing. The FabIO library supports many major image formats including CBF, HDF5 and Pilatus Tiff, while RAW computer programs additionally supports MPA (multiwire), SAXSLab300, FReLoN, FLICAM, ILL SANS D11 and Medoptics image formats. It also calls the pyFAI library (Ashiotis et al., 2015) to automatically calculate sample-detector distance and beam center position using a known calibrant. Masking and integration are carried out as previously described (Nielsen et al., 2009).
Scattering profile normalization can now use general mathematical expressions referencing information in the image header or in an external header file. Many beamlines write separate header files containing information necessary for image processing, such as ion chamber or beamstop diode counts. The format of these files is beamline specific. Currently RAW can read in separate header files from CHESS beamlines G1 and F2, MaxLab beamlines I711 and I911-4, APS beamline 18-ID (BioCAT), and SSRF beamline BL19U2. New formats are added by writing a parse function that takes a filename as input and returns a dictionary of header values. Users can also set RAW to calculate and apply an absolute scale factor based on measured standards.
All of the image processing settings, as well as settings for advanced processing, can be saved as a configuration file and loaded before image processing. Once set, these parameters are automatically applied to any images loaded into RAW, either manually or in the online mode, allowing easy processing of large numbers of images. The Quick Reduce feature of RAW can be used to process images into scattering profiles without having to load them into RAW, further speeding up the process.

Basics of working with scattering profiles
RAW can create scattering profiles from images and load profiles in .csv, .dat, .fit, .fir, .int, .rad and .sub format from many beamlines and programs. Scattering profiles created by RAW are saved as three-column (q, intensity and error in intensity) space-separated .dat files with a footer that contains analysis and processing information in JSON format. These saved files are compatible with other standard programs such as the ATSAS software and ScÅ tter.
Scattering profiles loaded into RAW are plotted and can be easily manipulated. Users may select Lin-Lin, Lin-Log, Log-Lin, Log-Log, Kratky, Guinier or Porod plot axes. Scattering profiles can be averaged, subtracted, merged, rebinned, interpolated, scaled, offset, and truncated at both low and high q. The main scattering profile manipulation interface and plot are shown in Fig. S1 of the supporting information. All of these features are accessible in the manipulation panel, through right-click context menus, and/or through the View and Tools menus in the top menu bar.

Guinier fit
Users can carry out a Guinier fit on a scattering profile, fitting a straight line to logðIÞ versus q 2 data, using the Guinier fit window (Fig. S2). The window displays the radius of gyration (R g ) and scattering intensity at zero angle [I(0)] obtained from the fit, along with q min R g , q max R g and the r 2 value of the fit. When this window is initially opened, RAW automatically attempts to find an optimal fit range. It does this using a heuristic approach that starts by selecting a set of ten windows of different sizes, with a minimum size of ten data points and a maximum size spanning from the minimum q value of the data set, q min , to the first q value where I(q min )/I(q) ! 10. Starting at the first point, these windows are stepped along the curve, with a step size equal to the number of q points divided by 50, and a Guinier fit is calculated for each interval (window plus start position). Each interval is assigned a quality score based on (i) how close q max R g is to 1.3, (ii) how much less than 1 q min R g is, (iii) the size of the fractional errors in R g and I(0), (iv) the r 2 score of the fit, and (v) the length of the window (longer is better). More weight is given to (iv) and (v) than to the other parameters. A total score is assigned between 0 (minimum) and 1 (maximum). The window with the highest score, assuming any score over 0.6, is selected as the Guinier fit.
In addition to the automatic calculation, users may manually fit the curve, adjusting the start and end q points of the fit while watching the change in the plotted fit and the residual. This allows fine-tuning and evaluation of data quality problems or artifacts, particularly at low q where aggregation is most apparent. The fit data are saved with the scattering profile and can also be exported to a spreadsheet along with further analysis from the same and other scattering profiles. The analysis is saved when the scattering profile is saved, and can be viewed either in RAW or in a text editor. This is true for all analysis done on scattering profiles in RAW.

Molecular weight
RAW has a molecular weight window ( Fig. 1) which can calculate molecular weight (MW) by four methods: (i) reference of the I(0) value to that of a known standard, (ii) the absolute intensity value of I(0) (Orthaber et al., 2000;Mylonas & Svergun, 2007), (iii) the adjusted Porod volume method (Fischer et al., 2010) and (iv) the volume of correlation method (Rambo & Tainer, 2013). xS1 in the supporting information describes the validation of the implementations of methods (iii) and (iv) [for additional literature related to the supporting information see Valentini et al. (2015)]. Methods (i) and (ii) depend on an accurate measurement of the sample concentration, while methods (iii) and (iv) do not. Having multiple methods is important, as molecular weight determination from SAXS profiles is typically only accurate to $10% (Mylonas & Svergun, 2007), and different sources of error will affect the different methods.
In the original description of method (iii), the regularized intensity from an inverse Fourier transform (IFT) was used for the scattering profile, including extrapolation to q = 0. The implementation of method (iii) in RAW uses the Guinier fit to extrapolate to q = 0, so an IFT is not required. The regularized profile from an IFT can still be used to calculate MW by loading the IFT into RAW, sending the associated scattering profiles to the main plot and carrying out the analysis from there. Use of a Guinier extrapolation has independently been implemented in the SAXS MoW2 calculator by the original authors of this method (http://saxs.ifsc.usp.br/).

IFT determination
Finding the IFT of a scattering profile in RAW can be done using two methods: a Bayesian method (Hansen, 2000), the implementation of which has been previously described (Nielsen et al., 2009) (BIFT), and a method using the regularization parameter determined by perceptual criteria implemented in GNOM (Svergun, 1992). Figs. 2 and S3 show the new BIFT and GNOM windows, respectively. The GNOM window acts as a GUI for GNOM and DATGNOM from the ATSAS package , requiring a separate installation of ATSAS to work. The BIFT method is completely automatic once initial search parameters are set, while the GNOM window runs DATGNOM when first opened, and then allows manual adjustment of the maximum dimension (D max ) and q range used. The advanced settings available for GNOM can be adjusted using the Advanced Settings GNOM panel. In both windows, the plots show the P(r) function and the data and regularized scattering profile. In the GNOM window the plots and results [such as R g and I(0)] are updated as the user adjusts the controls. Once an IFT is determined, the user closes the window and the IFT is plotted in the IFT plot and control panels discussed in x4.

Manipulation history
RAW tracks how a scattering profile was generated and what changes were made to the profile. For any scattering profile generated from an image, RAW tracks the configuration file used, the normalization parameters and the corrections (such as the solid-angle correction) used when integrating the image. For any scattering profile generated from other scattering profiles (such as an average profile), RAW keeps track of the scattering profiles used in the operation. For example, an average profile generated from ten individual profiles will have a history that lists the ten profiles used in the average. This history is recursively generated, so a subtracted profile generated from two averaged profiles will show the two profiles involved in the subtraction and the profiles involved in the average for each of those profiles. History is tracked for averaging, subtracting, merging, interpolation and binning. This history is visible from inside RAW and is saved as part of the footer in the .dat file as previously described. Once saved it can also be viewed in a text editor.

Exporting analysis information
Analysis information, including R g , I(0), D max and molecular weight, may be exported from RAW scattering profiles as a comma-separated value (CSV) file. This allows users to easily track processing and compare results from different experiments. RAW can also export file header information and selectively export analysis information as a CSV file. The CSV file type was chosen as it can be directly read into common spreadsheet programs such as Microsoft Excel and LibreOffice Calc (The Document Foundation).

Online mode
In online mode, RAW monitors a folder and loads in new files that are written in the folder. The basics of online mode were discussed previously (Nielsen et al., 2009). There are new features that allow custom filtering of what files are loaded and detect modified files to reload when appropriate.

Loading and plotting IFT data
RAW allows users to load IFT files generated by RAW or GNOM and plot them in the IFT window (Fig. S4). This window is also where IFTs generated within RAW, using either BIFT or GNOM as in x3.5, are plotted. This allows comparison of P(r) functions, and the experimental data and  The molecular weight window, which can give up to four different estimates of molecular weight.

Figure 2
The BIFT window for determining IFT by that method. regularized intensity can be loaded as scattering profiles in the main plot using the right-click menu. IFTs can be saved: those generated by BIFT are saved as .ift files, while those generated by GNOM are saved in the standard .out file format compatible with other programs that require that input, such as many programs in the ATSAS package.

Ambiguity determination
Determination of envelopes from measured scattering is not unique, resulting in ambiguity in the final shape . AMBIMETER is a program that quantifies the ambiguity of shape determination from IFT data (Petoukhov & Svergun, 2015). It is available as a utility from the ATSAS package, and RAW implements a GUI for it (Fig. S5). The window reports the number of matching shapes, the ambiguity score and AMBIMETER's assessment of the likelihood of a unique shape reconstruction. It also allows the user to save either the best-fit shape or all shapes from the AMBIMETER library that match the scattering profile. This requires a separate installation of the ATSAS package.

Envelope reconstruction
RAW allows users to generate envelopes from IFT data using the DAMMIF window (Fig. 3), which provides a GUI interface for the DAMMIF, DAMAVER and DAMCLUST programs of the ATSAS package Franke & Svergun, 2009;Petoukhov et al., 2012;Franke et al., 2017). RAW will start a number of simultaneous DAMMIF runs set by the user (to a maximum equal to the number of processors or requested reconstructions, whichever is less). New runs are automatically started when runs finish, until all requested reconstructions have been made. Users may choose to then automatically run DAMAVER or DAMCLUST on the output. Users control common settings from the DAMMIF window, while advanced parameters can be set in the Advanced Settings DAMMIF window. As with the other ATSAS tools, use of DAMMIF, DAMAVER and DAMCLUST requires a separate ATSAS installation. The DAMMIF control runs in a separate thread from the main RAW program, so users can carry out other processing while waiting for reconstructions to finish. 5. Working with SEC data 5.1. Loading and plotting liquid chromatography data Liquid chromatography coupled SAXS (LC-SAXS) data are data collected while the output of a fast protein/highperformance liquid chromatography (FPLC/HPLC) column flows through a SAXS sample cell (Mathew et al., 2004). Typically a sizing column is used to separate the desired sample from aggregates or other contaminants, ensuring monodisperse data collection, and this is called size exclusion chromatography coupled SAXS (SEC-SAXS). Other types of separation can be used; for example ion exchange chromatography coupled SAXS (IEC-SAXS) was recently demonstrated . For LC-SAXS, images are collected continuously while the column elutes and the eluate flows through the sample cell. A typical data set consists of initial buffer images, images from the sample in one or more elution peaks from the column, and buffer images once all of the sample has eluted. As an LC-SAXS data set may contain hundreds or thousands of images, researchers have found plotting image intensity (total intensity or intensity at a particular q value) versus image number a useful initial representation of the data (Brookes et al., 2013Graewert et al., 2015;Malaby et al., 2015;Shkumatov & Strelkov, 2015;Brennich et al., 2016;Hutin et al., 2016). As the protein scatters more strongly than the buffer, this plot is mostly analogous to a SEC UV chromatograph (plotted as time or elution volume versus absorbance). The DAMMIF window, which allows users to generate envelopes from IFT curves using the ATSAS program DAMMIF.

Figure 4
The SEC-SAXS control window and plot, showing intensity versus frame number (line) and R g versus frame number (points) for BSA. The shoulder in the intensity and the increase in R g show that the monomer and oligomer did not fully separate.
In RAW, users may load any set of scattering profiles as a 'SEC' curve. This allows users to plot total intensity, average intensity or intensity at any arbitrary q value versus 'frame number' (the index of the data item relative to the first data item), as shown in Fig. 4. RAW also has automated loading for SEC-SAXS data from beamlines where the file naming convention is known. At these beamlines, SEC-SAXS data can be loaded in an online mode, where the intensity versus frame number curve is updated whenever new frames are collected.
Because of the open-source nature of RAW, anyone could add a new file naming convention and enable online mode for SEC-SAXS data for another beamline.

Calculating R g , molecular weight and I(0) across SEC peaks
After plotting intensity versus frame number, the usual next step in SEC-SAXS data processing is to calculate structural parameters as a function of frame number, allowing the scientist to assess both content and quality of the data (Brookes et al., 2013Graewert et al., 2015;Malaby et al., 2015;Shkumatov & Strelkov, 2015;Brennich et al., 2016;Hutin et al., 2016). RAW allows the user to define a set of frames as the buffer range and the number of scattering profiles to average together to calculate structural parameters. All the scattering profiles in the defined buffer range are averaged and this average is subtracted from all of the scattering profiles in the data set. A window of the defined average size is then stepped along the data, all scattering profiles within it are averaged, and an attempt is made to automatically calculate R g , I(0) and the molecular weight. In this instance, RAW uses the automatic R g determination function described earlier and the volume of correlation method (the volume of correlation method does not require sample concentration and can handle flexible proteins and RNA with default settings). For example, if the user sets a five-frame average size, the buffer-subtracted scattering profiles from frames 1-5, 2-6, 3-7 etc. would be averaged and structural parameters calculated for each of those averages. The user can choose to plot R g , molecular weight or I(0) versus frame number on the same plot as the intensity versus frame number, as shown in Fig. 4. If online mode is enabled and the user has defined the buffer range and average window size, these calculations are carried out on each new frame as it is loaded into RAW.

Extracting, saving and exporting data for further analysis
From SEC data in RAW users can extract individual scattering profiles of interest, save the SEC curve for further analysis in RAW or export data about the SEC curve for use in any other program. To extract individual scattering profiles, users select a range of frame numbers and send either each scattering profile or the average scattering profile of the selected frames to the main plot. Users can save the entire SEC curve as a RAW-specific .sec file, making it simple to load every profile, subtracted profile, and calculated R g , molecular weight and I(0) value back into RAW to continue analysis at a later point. Additionally, users can export all of the following data as a CSV file: total intensity, average intensity, intensity at a particular q, frame number, R g , uncertainty in R g , molecular weight, I(0), uncertainty in I(0) and filename associated with each frame number. Finally, users can export all of the frame data as scattering profiles, which can be useful if images were loaded and the users wishes to save all of the scattering profiles RAW created from those images.
6. Singular value decomposition and evolving factor analysis 6.1. Singular value analysis Singular value decomposition (SVD) is a mathematical technique that provides model-independent information on the number of unique elements in a data set. SVD has frequently been used to analyze mixture and time-resolved SAXS data (Doniach, 2001;Mertens & Svergun, 2010;Pollack, 2011;Schneidman-Duhovny et al., 2012;Blanchet & Svergun, 2013). Formally, singular value decomposition of an m Â n matrix M is a factorization into three matrices such that where U is an m Â m unitary matrix, called the left singular vectors; AE is a diagonal m Â n matrix, where the diagonal values are the singular values; and V* is the conjugate transpose of an n Â n unitary matrix V, the right singular vectors. A typical interpretation of SVD is that the number of singular values significantly above the baseline level is the number of independent components in the data set. RAW can perform SVD on scattering profiles or P(r) functions. This is typically applied to scattering profiles in a SEC-SAXS data set, and the number of significant singular values corresponds to the number of distinct scatterers in the data set. SVD done on a single well separated peak from the chromatograph would yield two significant components: one from the buffer and one from the macromolecule. For SVD done on a poorly separated monomer-dimer peak there would be three significant components: buffer, monomer and dimer. RAW allows users to select a range of scattering profiles for SVD and displays the singular values, i , and the autocorrelation of the left and right singular vectors, R i , for each ith singular value, defined as where X is the U or V singular vector matrix. Autocorrelation values and the magnitude of the singular value allow the user to interpret which singular values are significant. Fig. 5(a) shows the SVD analysis window.

Evolving factor analysis
Evolving factor analysis (EFA) is an extension of SVD to allow model-independent separation of scattering profiles from mixed solutions, particularly overlapping computer programs chromatographic peaks (Maeder, 1987;Maeder & Neuhold, 2007). This method was recently applied to SEC-SAXS data (Meisburger et al., 2016), and an improved version of the method described by Meisburger et al. has been implemented in RAW. EFA in RAW starts with SVD, proceeds by finding the component start and end points in the evolving factor plots, and finally rotates the significant singular value vectors into scattering profiles. RAW implements two new methods for rotation of the singular vectors besides the iterative approach of Meisburger et al. (2016). The first is the explicit calculation method described by Maeder (1987). The second is a hybrid method that uses the explicit calculation as the seed for the iterative approach, giving faster convergence of the rotation. Fig. 5(b) shows the final window of the EFA analysis in RAW, with extracted scattering profiles from overlapping peaks. EFA is different from other common deconvolution techniques, such as those implemented in US-SOMO and DELA (Brookes et al., 2013Malaby et al., 2015), in that it is a model-free approach. However, it is not without its own limitations. xS2 contains the mathematics of our EFA approaches, some remarks on validation of EFA compared with the original instance and our experience with practical limitations to the current implementation of the technique.

Conclusions and future outlook
RAW is a free open-source program for calibrating, masking, integrating and analyzing biological SAXS data. It provides the ability to analyze standard SAXS data and SEC-SAXS data, including Guinier analysis, molecular weight calculation, calculation of P(r) functions, singular value decomposition and evolving factor analysis, and the use of the AMBIMETER, DAMMIF, DAMAVER, DAMCLUST, DATGNOM and GNOM programs from the ATSAS package (which is closed source, requires a separate installation, and is free for academic but not industrial users). RAW is available from https://sourceforge.net/projects/bioxtasraw/. It is written in the Python and C++ programming languages and runs on all major operating systems. It has detailed documentation and video tutorials available online.
Development, including new features, speed improvements and bug fixes, is ongoing, and other scientists are welcome to contribute to RAW development. In the future we intend to add major features including, but not limited to, normalized Kratky plots, a multi-detector mode to seamlessly generate scattering profiles from measurements on several detectors, improved azimuthal integration with support for detector tilt parameters, flexibility analysis, some level of automated processing of subtracted profiles and similarity testing for scattering profiles.
Looking forward, data processing pipelines are becoming more popular at dedicated biological small-angle scattering beamlines. However, not all analysis can be done at the beamline, and scientists will continue to require portable analysis software that they can run at home. Furthermore, many biological experiments are done at small-angle scattering beamlines or home sources not dedicated to biological samples, and these experiments will require some kind of standalone analysis program. Thus, at least for the foreseeable future, we anticipate that RAW and programs like RAW will continue to be useful for the community.

Note added in proof
During review and publication of this paper several new versions of RAW were released, adding some significant new features. As of publication, the newest version is 1.3.0, and includes the following major features not described in this paper: ability to use DAMMIN (Svergun, 1999) as well as DAMMIF for envelope reconstructions and to refine averaged reconstructions; a summary window for envelope reconstructions which shows the chi squared, radius of gyration, maximum dimension, excluded volume and estimated molecular weight for each reconstruction, as well as (when available) the normalized spatial discrepancy, number of models included in the average, clustering of models,  ambiguity of the reconstruction and resolution of the reconstruction; similarity testing of profiles using the CorMap test , available as a tool for the user and carried out automatically when averaging profiles; absolute scaling using glassy carbon (Zhang et al., 2010;Allen et al., 2017); and normalized and dimensionless Kratky plotting (Durand et al., 2010;Rambo & Tainer, 2011;Receveur-Bré chot & Durand, 2012).