Return to Main Documents Page

Merge Utilities

Allows user to combine supplied structures and calculated scattering profiles into a single set of new files.

Accessibility

The Merge Utilities module is accessible from the Tools section of the main menu.

Basic Usage

The purpose of the module is combine the results from multiple runs to consilidate files to enable analysis as if they were derived from a single run.

  1. Combine both trajectory and SAS profile files from multiple runs into a new trajectory file and folder containing the SAS profiles.
  2. Combine only trajectory files from multiple runs into a new trajectory file.
  3. Combine only SAS profiles from multiple runs into a new folder containing the SAS profiles.

The default usage will merge all structures / SAS profiles. There are additional options to merge based on a user supplied weight_files (one per run you wish to merge) or to merge based on a user supplied sampling frequency.

An example of each use case is shown below.

Notes

Screen Shots and Description of Input Fields

This example merges structures and SAS profiles using each of the use cases mentioned above, assuming that the SAS profiles were calculated using SasCalc. If a different SAS module was used to calculate the SAS profiles, the SAS type and SAS data path must be selected accordingly. Usage where only structures or only SAS profiles are merged are not shown, but the input fields for the individual cases does not change in these conditions.

Note, that this example requires you to generate two sets of SAS profiles independently using one of the supported SAS modules in Calculate.

Case 1: Merge Both DCD and SAS Profiles

This example merges all structures from trajectory files uploaded by the user and copies SAS profiles from pre-existing folders on the server. Alternatively, trajectory files could be accessed directly from ther server.

Note that the sascalc/neutron_D2Op_100 directories are selected to merge SAS profiles only for that particular contrast.

inline image

Case 2: Merge Both DCD and SAS Profiles Using Weight Files

This example extracts frames and SAS profiles using information from weight files from each run. In the box below only the first few lines are shown for one of the two weight files.


# file generated on Sun Apr 12 18:05:32 2015
# structure, X2, weight  
1   10.394808   0.000000
2   8.041527    0.000000
3   8.792317    0.000000
4   8.217490    0.000000
5   6.896897    1.000000
6   7.555859    1.000000
7   8.220753    0.000000

inline image

Case 3: Merge Both DCD and SAS Profiles Using Periodic Sampling

This example extracts frames and SAS profiles using the input sampling frequency.

inline image

Case 4: Merge Both DCD and SAS Profiles for Multiple Contrasts (sascalc SAS type only)

This example merges all structures from trajectory files uploaded by the user and copies SAS profiles from multiple pre-existing folders on the server that were created from SasCalc calculations at different contrasts. Alternatively, trajectory files could be accessed directly from ther server.

Note the difference in SAS data paths from Case 1 above. The top level /sascalc directories are selected rather than the contrast-specific directories, /sascalc/neutron_D2Op_100.

inline image

Example Output

Results will be written to a new directory within the given "run name". For example, in the figure it is noted that the structures were saved files within the current project directory within the chosen "run name" directory. SAS profiles are written to a directory named by the SAS calculator used to create the original files.

Case 1: Merge Both DCD and SAS Profiles

inline image


./run_0/merge_utilities/merged_run_m1_m2.dcd
./run_0/merge_utilities/sascalc/neutron_D2Op_100

Case 2: Merge Both DCD and SAS Profiles Using Weight Files

inline image


./run_0/merge_utilities/merged_run_m1_m2_weights_file.dcd
./run_0/merge_utilities/sascalc/neutron_D2Op_100

Case 3: Merge Both DCD and SAS Profiles Using Periodic Sampling

inline image


./run_0/merge_utilities/merged_run_m1_m2_frequency.dcd
./run_0/merge_utilities/sascalc/neutron_D2Op_100

Case 4: Merge Both DCD and SAS Profiles for Multiple Contrasts (sascals SAS type only)

inline image

Note the difference between this output and that for Case 1 above. The SAS files are merged from all sets of directories below the top level /sascalc directory, i.e., /neutron_D2Op_100, /neutron_D2Op_0 and /xray.


./run_0/merge_utilities/merged_run_m1_m2.dcd
./run_0/merge_utilities/sascalc/neutron_D2Op_100
./run_0/merge_utilities/sascalc/xray
./run_0/merge_utilities/sascalc/neutron_D2Op_0

Visualization

None

Files Used and Created in Examples

NOTE: input and output SAS profiles are not available for download since they cannot be uploaded to test the module.

Limitations

Only PDB and DCD file formats are supported. SAS profiles must exist on the server as there is no option to upload a folder containg such files.

Reference(s) and Citations

Not published.

Return to Tools

Return to Main Documents Page

Go to top