
                            ===================
                            = O L I G O M E R =
                            ===================

    Fitting the experimental scattering curve from multicompoment mixture
of proteins via search the contribution of each component to resulting
scattering.


    The program OLIGOMER fits the experimental scattering curve
from multicompoment mixture of proteins via search the contribution of each component.

    The input data for OLIGOMER is experimental scattering curve from mixture
of proteins and sets of form-factors for each component of these mixture.

    The experimental scattering intensity I_exp(s) from a mixture of K different
particles (components) is written as

                          I_exp(s) = Sum ( V_j * I_j(s) )

where V_j and I_j(s) are the volume fraction and the scattering intensity from
the j-th component, respectively.

    Given the intensities from the components (form-factors), program OLIGOMER finds
the volume fractions by solving a system of linear equations using the algorithm of
nonnegative or unconstrained least-squares to minimize the discrepancy between
the experimental and calculated scattering curves.

    Scattering form-factors for dummy atoms models one can estimate using program
CRYSOL, which is a program for evaluation X-ray or neutron solution scattering of
biological macromolecules from their atomic coordinates.
    Scattering intensity from form-factors  M U S T  be contained in input file
in Angstroms.

    This program estimates molecular weights for calculation of volume
fractions and radii of gyration from experimental or model scattering curves of
components of the mixture. The latter values are used only for determination
of the average value of Rg for all mixtures.

     Therefore, you   M U S T   enter the   R E A L   values of MW for each component
     in following cases:
  -  scattering curves from components (i.e. sets of form-factors) are
     standartized to Iexp(0) = 1;
  -  scattering curves from components calculated by CRYDAM or CRYSOL from
     dummy atom models built by programs DAMMIN or GASBOR with beads not equal size;
  -  sets of form-factors are standartized to equally values of Iexp(0).

In opposite the values of volume fractions   W I L L  B E  W R O N G   calculate.

    You may   N O T  C H A N G E   the values of MW for each components if you use
real scattering curves (Iexp(0) always is in proportion to MW) as sets of form-factors.

    After starting OLIGOMER you will need to specify:

 (1)   Form-factor file
 (2)   Experimental data file
       and for data in Otoko format file contained values of angular axis.
 (3)   Scale factor for angular units on Experimental File:
       "1" - units is Angstroms
       "2" - units is nm
       If entered value will be more then 2 and less then 1,
       then default value is equal to 1.
 (4)   Fraction of experimental data which will processed.
       If entered value will be more then 1 and less then 0,
       then default value is equal to 1.
 (5)   Name of output file ( default value: "oligomer.log" )


    After the program is finished, you will get the files:

 (1)   oligomer.log : log file (will be create in current folder)
 (2)   <name>.fit   : fit to the calculating data by experimental data


       Oligomer can also be used in batch mode with "/" batch options.

       Use in the batch mode:
       oligomer [/ff <FF_File1>] [<Dat_File>]
       [/param1 <param1>]...[/paramN <paramN>]

       where the arguments FF_File and Dat_File should be the
       name of a ASCII format file (extension .dat or .txt).
       Dat_File is experimental scattering data file name.
       Wildcards  (e.g. m?.dat or *.dat) are permitted, in
       which case the program makes a loop over these files
       If  Dat_File is not specified or Dat_File = all
       then all DAT files will be processed.
       The command option "/dat" is optional for Dat_File and
       can be omitted.


       The following program options can be given as
       keys with parameters
       /ff   Formfactor file
       /dat  Experimental data file
       /un   Angular units (default 1)
       /smin  minimum value of angular axis
       /smax  maximum value of angular axis
       /out  the name of the output file,
                                 default is oligomer.log
       /pl   plot the fitted curves
       /br   brief output for log file

       Examples:

       oligomer  /ff ff.dat /dat m01.dat  /un 2
       for fitting m01.dat file using the formfactor
       file ff.dat  with the angular axis in nm-1


       oligomer /ff ff2.dat m*.dat /smin 0.5 /pl /br
       for processing all experimental data files with
       the names beginning with "m" and with "dat" extension
       using the formfactor file ff2.dat. The fitting will
       be applied from smin=0.5 for the experimental curves.
       The fits will be plotted and output oligomer.log file
       will have the brief format.

       oligomer /ff ff3.dat m03.dat /out m03.log /un 3
       for fitting m03.dat file using the formfactor
       file ff3.dat  with the angular units 3 (2*pi*s, A-1).



  -----------------------------------------------------------
||  For more detailed information, see our web-page:         ||
||    http://www.embl-hamburg.de/ExternalInfo/Research/Sax/  ||
  -----------------------------------------------------------
