
       SASHA (Small-Angle scattering SHape determination)

Dear User,

Below you will find instructions  how to use beta-version of  SASHA with
an example of a dialogue session commented at each step.

SASHA is a  program which allows  one to determine  low-resolution shape
of  a  homogeneous  particle  from  solution  scattering data.  No extra
information is required.

The program runs  in a command  line dialogue mode  and at present  does
not use  any graphic.  This makes  it portably  to any existent computer
platform.  To  plot  the  results,  the  User  should  use  supplemental
programs, DSPLOT to inspect the quality of fit to experimental data  and
ASSA to draw particle shapes.

Please note that SASHA is a console application and does not have a file
chooser (this means that you MUST start the program from the command prompt
window in the directory containing the data file).

SASHA  normally  works  in  the  USER  mode  with  default answers.  The
program may stop at  the very beginning if  it is unable to  compute the
Rg using Guinier approximation. It  is made deliberately: is one  cannot
compute Rg, one should not  try shape determination; check your  data if
this happens.

For typical experimental  data, default (L=4)  resolution can be  taken.
If you  apply symmetry  restrictions, those  reduce the  number of  free
model parameters  and may  allow to  use higher  harmonics, for example,
L=6 with the symmetry Pmmm.

The output fit  for monomer data  is normally placed  onto <outname>.fim
and <outname>.fid for dimer  data; the resulting shape  Flm coefficients
onto <outname>.flm. This file  contains also detailed information  about
search  conditions  and  shape  parameters,  such as integral parameters
(radius of gyration, volume), distance between monomer centers, etc.

If your structure is a dimer, you  could e.g. treat it as a single  body
with the P2 symmetry.  In this case you  enter the experimental data  as
MONOMER curve, and the outputs will be as usual, *.fim and *.flm.

Another option  is to  look for  the shape  of the  monomer and  for the
distance  between  the  monomers.  Then  enter  the curve as DIMER curve
(answer  just  <CR>  to   MONOMER).  The  outputs will be *.flm (monomer
shape; the distance is written at  the bottom of the file; see  comments
to ASSA how to display a dimer), and *.fid (fit to the data).

If you  have both  scattering curves  (from dimer  and monomer)  you can
enter both of  them; the program  will try to  simultaneously fit them).
The output files will then be *.flm, *.fim, *.fid.

The fits  can be  viewed by  typing dsplot  <outname>.fim (or  fid), the
shapes with ASSA (see corresponding comments to these programs).

     +-------------------------------------------------------+
     |   WORKING WITH SASHA, EXAMPLE OF A DIALOGUE SESSION.  |
     +-------------------------------------------------------+

Each step of the dialogue is commented by lines started with pair
of exclamation characters.

        +---------------------------------------------------+
        |                                                    \
        |    _/_/_/       _/_/   _/_/_/   _/    _/  _/_/      \
        |   _/    _/     _/ _/  _/    _/  _/    _/  _/ _/      \
        |   _/          _/  _/  _/        _/    _/  _/  _/      \
        |    _/_/_/    _/   _/   _/_/_/   _/_/_/_/  _/   _/      |
        |         _/  _/_/_/_/        _/  _/    _/  _/_/_/_/     |
        |   _/    _/ _/     _/  _/    _/  _/    _/  _/     _/    |
        |    _/_/_/ _/      _/   _/_/_/   _/    _/  _/      _/   |
        |                                                        |
        |         Shape determination from a SAS curve,          |
        |                 homogeneus particle.                   |
        |            Written by D.Svergun & V.Volkov.            |
        |                                                        |
        +--------------------------------------------------------+

Welcome to SASHA v2.04b from 15.06.99 13:50

Working mode [ User/Developer ] ........ <         User >:

                   !! At this step, the user preferred USER mode of
                   !! opereating by pressing a carriage return to
                   !! give the default answer. Default values are
                   !! suggested in angular brackets in the prompt
                   !! line.

MONOMER SAS data file name ............. <         .dat >: t30m

                   !! Here the file t30m.dat contains experimental
                   !! scattering intensities from solution of
                   !! monomer molecules.
                   !! See later for the format of this file.

> Number of data points read ........................... : 91
Angular units used in MONOMER data:
4*Pi*SIN(theta)/lambda [1/Angstrom] (1)
4*Pi*SIN(theta)/lambda [1/nM]       (2)
2*SIN(theta)/lambda    [1/Angstrom] (3)
2*SIN(theta)/lambda    [1/nM]       (4)  <            1 >:

                   !! The default answer "1" specifies the scale of
                   !! angular grid.

DIMER SAS data file name ............... <         .dat >: t30d

                   !! In this case, there is once more data set
                   !! measured from solution of a dimer molecule.
                   !! If no such data, the User may simply press
                   !! carriage return to skip.

> Number of data points read ........................... : 91
Angular units for DIMER data:
4*Pi*SIN(theta)/lambda [1/Angstrom] (1)
4*Pi*SIN(theta)/lambda [1/nM]       (2)
2 *  SIN(theta)/lambda [1/Angstrom] (3)
2 *  SIN(theta)/lambda [1/nM]       (4)  <            1 >:

                   !! See above.

OUTPUT file name ....................... <         .flm >: out

                   !! This answer specifies the name of output files.

> MONOMER case:

 Guinier fit using          11 points:
Radius of gyration ..................................... : 12.71
I(0) estimate .......................................... : 2.336e+8
Estimated Porod volume ................................. : 1.305e+4

> DIMER case:

 Guinier fit using           5 points:
Radius of gyration ..................................... : 17.43
I(0) estimate .......................................... : 9.318e+8
Estimated Porod volume ................................. : 2.773e+4

                   !! This is information calculated from experimental data.
                   !! At this stage, the User may analyse the quality of the
                   !! data if he knows estimates of the radii of gyrations
                   !! and volumes of the molecules. The program may stop at
                   !! this stage if it is unable to compute the Rg using
                   !! Guinier approximation. It is made deliberately: if
                   !! one cannot compute Rg, one should not try shape
                   !! determination; check your data if this happens.


Smax for the MONOMER fitting region .... <       0.5000 >: .35

                   !! The default is the maximum value of the scattering
                   !! vector as it specified in the data file. Here, the
                   !! User preferred to reduce the range of fitting, e.g.,
                   !! due to large relative errors in the data at the end of
                   !! the curve.

> Width of the angular region in Shannon channels ...... : 7.640
  62 data points in [ 5.000E-02 :  .355    ]

                   !! Number of Shannon channels may be an empyrical measure
                   !! of how many structural parameters may describe the
                   !! shape. The User will use this information later when
                   !! answering a prompt for the maximum harmonic order, L.
                   !! The maximum number of model parameters is (L+1)^2 and
                   !! decreases if the User puts a symmetry on the shape.
                   !! In practice the number of Shannon channels may be 1.5
                   !! times less than number of parameters in the shape
                   !! model.
                   !! If both monomer and dimer curve are handled, the
                   !! allowed number of parameters increases at a factor of
                   !! 1.5 (rule of thumb).

Smax for the DIMER fitting region ...... <       0.5000 >: .30

                   !! The same choice was made for the dimer data.

> Width of the angular region in Shannon channels ...... : 8.160
  52 data points in [ 5.000E-02 :  .305    ]

                   !! See above.

 SEARCH FOR THE BEST ELLIPSOID PARTICLE, MONOMER CASE.

> Half-axes of the best ellipsoid:   18.52       18.52       11.01

 SEARCH FOR THE BEST ELLIPSOID PARTICLE, DIMER CASE.

> Half-axes of the best ellipsoid:   25.99       25.99       11.37

                   !! To this moment, the program has found ellipsoidal
                   !! shapes that fit the experimental data. Due to
                   !! singularity of this problem, two of three axes may
                   !! coincide but newertheless these bodies reflect the
                   !! low-resolution anysometry of the particle. The next
                   !! messages compare two independent estimates of the
                   !! particle volumes. The better are the data, the closer
                   !! are the estimates.

> MONOMER Porod volume ................................. : 1.305e+4
> MONOMER ellipsoid volume ............................. : 1.581e+4

> DIMER Porod volume ................................... : 2.773e+4
> DIMER ellipsoid volume ............................... : 3.216e+4

 Enter initial approximation file or press CR to choose
a default starting particle shape ...... <         .flm >:

                   !! Here the User may specify the name of a file
                   !! containing Flm coefficients of the starting model.
                   !! Pressing CR denotes that the starting approximation
                   !! will be generated by the program.

Symmetry [P1/P2/P222/Pmmm/P3] .......... <           P1 >: p3

                   !! This answer specifies the desired particle symmetry.
                   !! The higher is the symmetry, the less is the number of
                   !! parameters in the model.

Max. harmonic order for the shape ...... <            4 >: 3

                   !! This is the important choice. Use the comments above.
                   !! Usually, at the number of Shannon channels in the data
                   !! and P1 symmetry one may set L=4, and up to 6 with the
                   !! Pmmm symmetry.

Specify the shape anysometry:
   S - spherical particle;
   O - oblate;
   P - prolate ......................... <            O >: p

                   !! If the program generates the starting approximation
                   !! itself, the user may enter the desired type of
                   !! anysometry. Sometimes is is useful to investigate
                   !! independence of the solution from the starting
                   !! approximation and thus validate the final structure.

WIGRID ---    1627 3j coefficients used

Distance between dimer units (angstroms) <        25.16 >:

                   !! The default is the value calculated from the volume
                   !! of the best ellipsoid fitting monomer data.

Adjust the dimer distance [ Y / N ] .... <          Yes >:

                   !! The default is to adjust the distance during the
                   !! search.

Monomer fraction in dimer sample [0:1] . <          0.0 >:

                   !! Sometimes, due to dissociation, the dimer sample may
                   !! contain significant part of monomer. The User may enter
                   !! here the approximate value and let it vary during the
                   !! search by answering "YES" to the next prompt:

Adjust the monomer fraction [ Y / N ] .. <           No >:

                   !! In this example, the User decided not to search the
                   !! volume fraction.

The next two questions prompt for parameters
requred for shape smoothness constrains.
Enter the molecular weight in kDa .....................: 30
Enter the monomer Rg in angsroms ......................: 12.5

                   !! Well, one have to have this information about the
                   !! molecule, but don't confuse to enter rough
                   !! approximations.  Too wrong values may lead to
                   !! inadequate penalties on the shape features thus
                   !! resulting in artefacts.

                   !! Now the dialogue is finished and we have to wait a
                   !! little for the results. The results will written to a
                   !! set of files named OUT.*.

  OK

ALMGRZ --- :   48360 summation coefficients used

iter | //resid//|//penalt//| I(s)mult (mon/dim) |
STRT    .165      2.393E-03   .817       .938

Total solution time expected (minutes) ................. : 2.917

   1    .165      2.393E-03   .817       .938
   2   7.931E-02  3.631E-03   .857       .923
   3   6.254E-02  3.498E-03   .854       .833
   4   2.300E-02  1.917E-03   .951       .943
   5   5.293E-03  1.764E-03   .925       .921
   6   5.243E-03  1.774E-03   .924       .921
   7   5.221E-03  1.791E-03   .923       .919
   8   5.219E-03  1.794E-03   .923       .919
   9   5.218E-03  1.792E-03   .923       .919
iter | //resid//|//penalt//| I(s)mult (mon/dim) |
  10   5.198E-03  1.814E-03   .923       .920
  11   5.197E-03  1.817E-03   .923       .919
  12   5.197E-03  1.816E-03   .923       .919
  13   5.162E-03  1.867E-03   .924       .920

                      ..... Coffee break .......

  44   4.152E-03  2.536E-03   .917       .914
  45   4.139E-03  2.534E-03   .917       .914
  46   4.135E-03  2.531E-03   .918       .914
  47   3.976E-03  2.603E-03   .917       .913
  48   3.823E-03  2.687E-03   .917       .914
  49   3.823E-03  2.687E-03   .917       .914
iter | //resid//|//penalt//| I(s)mult (mon/dim) |
  50   3.821E-03  2.690E-03   .917       .914
Stop - Program terminated.


Well, we may watch a set of new files entitled OUT.*:

 out.em1 : Fit by monomer ellipsoid
 out.ed1 : Fit by dimer ellipsoid
 out.fim : Fit by monomer shape
 out.fid : Fit by dimer particle
 out.flm : Resultant shape, Flm coefficients.

 To plot fits, use the program dsplot, e.g.:

 dsplot out.fim

 To plot the shape, invoke ASSA system.
 For more details on these programs, see comments to them.
