Spreadsheets


A spreadsheet represents a container of crystal samples that you bring to the beamline. Spreadsheets are the primary way to provide sample information that is then stored in the Crystal Server database.

Note - Currently, a spreadsheet must be uploaded to the database and assigned to a beamline to save screening and automated processing results in the database and susequent display of those reuslts in BluIce and the Crystal Server.

Create, Modify and Upload a New Spreadsheet

New spreadsheets can be created by clicking the Create New Spreadsheet subtab under the Spreadsheets main tab (Fig. 1) and then entering an optional spreadsheet name and selecting a container type (SAM Cassette, Uni-puck, or SSRL Plate). Downloaded spreadsheets can then be modified and uploaded to the Crystal Server database via the "Upload Spreadsheet" button. The Quick Start option uploads a default spreadsheet directly to the database for immediate use.

The Create New tab

Figure 1. The Create New Spreadsheet tab can be used to create a sample spreadsheet.

There are two choices to create a spreadsheet:

  • Download Template: click Download Template and fill in your sample information, then click Upload Spreadsheet to upload the spreadsheet to the Crystal Server database.
  • Quick Start: click Quick Start. The system creates a spreadsheet directly in the database with container port names (i.e. A1, A2) as default sample names, ready for immediate use.

A cassette spreadsheet is shown in Fig. 2.

The Cassette Spreadsheet

Figure 2. A spreadsheet defined for a cassette (96 samples).

The available input columns:

  • ContainerID: Optional container ID number.
  • ContainerType: Type of container (cassette, uni-puck, ssrl plate).
  • Port: Cassette port ID.
  • CrystalID: Sample ID value. Defaults to Port value.
  • Protein: Optional protein name/descriptor.
  • Directory: Name of the output directory for single-crystal data collection. Multiple-energy datasets will be deposited into this same directory.
  • Comment: Optional comment.
  • FreezingCond: Optional cell for recording freezing conditions.
  • CrystalCond: Optional cell for recording crystallization conditions.
  • Compound/Metal/Priority/Person: Optional cells for additional information.
  • MulticrystalProject: Optional multicrystal project name. Samples assigned the same name will be automatically grouped into the project for scaling.

After a spreadsheet is uploaded to the database, the database input can be modified via the Screening tab in the Blu-Ice data collection GUI.

List Spreadsheets

Click on the List Spreadsheets subtab under the main Spreadsheets tab to view a list of your spreadsheets (Fig. 3) and use the Options menu to view results, assign beamline positions, rename or delete spreadsheets.

The List Spreadsheets tab

Figure 3. The List Spreadsheet tab displays a list of all the user's spreadsheets.

The table displays the following information:

  • Upload Time: When the spreadsheet was first uploaded.
  • Last Modified: The last time the file was modified.
  • Spreadsheet Name: Name.
  • Spreadsheet ID: Internal spreadsheet ID.
  • Processed Datasets: Number of samples with processing results.
  • Container Type: Cassette, Uni-puck or Plate.
  • Assigned Location: The beamline and cassette location in the dewar (left, middle or right) that the spreadsheet has been assigned for data collection.
  • Options: Options menu.

Click on a column label to sort by that column.

Options

Click Options to see a list of available spreadsheet actions (Fig. 4):

  • Open Screening Results: Opens the Screening Results tab associated with the selected spreadsheet.
  • Open Processing Results: Opens the Processing Results display for the selected spreadsheet.
  • Assign/Unassign: Assign this spreadsheet to a beamline and cassette location in the dewar, or remove an existing assignment. Only beamlines and positions in the dewar that you are authorized to use will be displayed.
  • Rename: Change the spreadsheet name.
  • Download: Export to Excel with all input columns as well as any screening and automated processing results.
  • Delete: Permanently remove the spreadsheet and all related sample information from the database.
The Options Menu

Figure 4. The Options menu for spreadsheet actions.

Spreadsheet Screening Results

Clicking on a spreadsheet name opens the Screening Results tab for the selected spreadsheet. The Screening Results tab (Fig. 5) shows results for samples that have been automatically screened, indexed and assigned a quality score in the Blu-Ice Screening tab.

Screening results view

Figure 5. Screening results and relevant output parameters are displayed for each sample.

Screening Column Views

Use the Views selection to show more or less parameters:

Minimum:

  • Port
  • Protein
  • Bravais Lattice
  • Unit Cell
  • Mosaicity
  • Resolution
  • Ice Rings
  • Score
  • Spot Warnings
  • Index Warnings

Less adds:

  • Crystal ID
  • Index Images

More adds:

  • Multicrystal Project
  • Overloads

All adds:

  • Sample ID
  • Container ID
  • Container Type

First Column Choice

Samples are initially organized by port, however, the first column can be changed using the First Column drop down menu (Fig. 6).

  • Port
  • CrystalID
  • Protein
  • Bravais Lattice
  • Resolution
  • Score
The First Column Drop Down

Figure 6. The First Column menu displays a list of parameters that can be used for the first column.

In addition, any column can be used to sort the results by clicking the column label and toggling the black arrow.

The Restore Defaults button will select the Less view, set default column widths and set the First Column to Port. The Export to Excel button will dump the screening tab results into an excel spreadsheet.

Spreadsheet Processing Results

The Processing Results tab appears next to the Screening Results tab, showing autoprocessing data for samples in the spreadsheet (Fig. 7).

Spreadsheet processing results

Figure 7. The Processing Results display for a specific spreadsheet.

Processing Column Views

Minimum

  • Start Time
  • Status
  • Port
  • Run
  • σ_mosaicity
  • Space Group
  • Unit Cell
  • Summary File
  • Anisotropy
  • Resolution
  • Completeness
  • Multiplicity
  • I/σ(I)
  • Rpim
  • CC½
  • Anomalous

Less adds:

  • Cutoff Method
  • Observations
  • Ice Rings Excluded
  • Completeness Anom
  • Mult Anom
  • CC Anom
  • S/N Anom
  • MTZ File
  • Error

More adds:

  • Crystal ID
  • Protein
  • Multicrystal Project
  • Filename
  • Image Directory
  • Processing Directory
  • Energy
  • Phi Range
  • Source
  • Processing Package
  • Processing Package Version
  • Automated Pipeline
  • Automated Pipeline Version
  • Run Time
  • Sample ID

All adds:

  • I/σ(I) Est.
  • Update ID
  • Job ID
  • Slurm Job ID
  • Slurm Job Name
  • Slurm Partition
  • Hostname
  • Slurm Run Time

Buttons

The "Restore Defaults" button (Fig. 7, upper right) returns the View to Less and restores the First Column, column widths and sorting.

The "Export to Excel" button allows the user to download an excel file with all the processing results associated with the spreadsheet. Each processing method is shown on a different sheet.

The help icon at the very top of the page "?" opens a webpage with documentation for the Processing Tab.

Status

The "Status" column indicates the current status of the autoprocessing job:

  • Pending - the job is in the queue, but not started yet.
  • Submitted - the job has started.
  • Running - the job is currently in progress.
  • Error (highlighted in red) - the job has exited with an error. The associated error message can be found in the column labeled "Error". Processing error messages are extracted from the general log file.
  • Completed - the job has finished without errors.

Anomalous Signal Detection

When autoPROC detects an anomalous signal, it is reported in the Anomalous column and another processing job is automatically spawned with the -ANO flag and the "autoPROC_XdsKeyword_STRICT_ABSORPTION_CORRECTION = yes" flag to optimize anomalous data processing. The anomalous multiplicity can be found in the Mult Anom column (the Mult column always assumes no anomalous signal).

Anisotropy

In addition to the standard processing method, autoPROC will run an anisotropic analysis. The processing statistics can be found in the summary.html file under "anisotropic". The program STARANISO is used to determine anisotropic diffraction by fitting an ellipse to the data. The "Anisotropy" parameter in the Processing tab is calculated from the three axes of the ellipse:

Anisotropy = [ [ max(res1,res2,res3) - min(res1,res2,res3) ] / ave(res1,res2,res3) ]

Zero indicates no anisotropy. Anisotropies above 5% have made improvements (sometimes significant) to electron density maps compared to the standard processing method. If Anisotropy is detected, 3 resolution values will be shown representing the fitted ellipse. The corresponding MTZ file (Standard or Anisotropic) can be downloaded from the MTZ File column.

Results Summary File

The "Summary" column shows a View button that will open the summary file in a browser.

  • Periodically refreshing the page will show the updated statistics as the processing job runs.
  • The file will also display any error messages and warnings that come up.

View Processing Results

Under the main Spreadsheets tab, the "View Processing Results" tab can be used to select specific spreadsheets or view all spreadsheet results at once (Fig. 8).

View all processing results or individual Spreadsheets

Figure 8. The View Processing Results tab provides a list of all processing results or results from specific spreadsheets.

This view of the processing results features a drop down for spreadsheet selection or "All Spreadsheets" to view all automated processing results. A search bar can also be used to find a specific spreadsheet. For a complete description of the buttons, columns, parameters, etc., see Spreadsheet Processing Results above.

Reprocessing

Under the main Spreadsheets tab, the "Reprocess a Dataset" tab can be used to reprocess autoPROC datasets (Fig. 9).

The Reprocess a Dataset tab for reprocessing autoPROC datasets using new keywords and parameters

Figure 9. The Reprocess a Dataset tab provides a simple interface for processing autoPROC datasets.

Datasets can be selected from a spreadsheet or via a directory. When a spreadsheet is selected, the corresponding processing runs are shown to the right. Select one dataset for reprocessing. The keywords and parameters that were used to process the dataset are shown in the window below. If autoPROC was run with defaults only, a message indicating this is displayed. Click on Edit to add or modify keywords (Fig. 10).

The Reprocess a Dataset tab for reprocessing autoPROC datasets using new keywords and parameters

Figure 10. The edit window is used to add or modify autoPROC keywords and associated parameters.

There are two tabs available: Keywords and Macros. The Keywords tab lists all autoPROC keywords and their default values along with a description. Particular keywords can be found by entering the name in the search bar. Macros are predefined sets of keywords and parameters for specific types of data processing (e.g. I/σ(I) Cutoff or Optimize Anomalous). Once the proper keywords are entered, click Save.

Click on Reprocess to submit the new job. Click on "See Results" to view the processing results entry. The reprocessed dataset is tracked with the Reprocess ID parameter, which counts the number of times a given dataset is reprocessed.

How to Interpret Error Messages

If an error occurs, the Status column will indicate an error and the message will be displayed in the Error column on the Processing Tab. There are three general types of errors:

  • IceFlow errors (these should be labeled "ICEFLOW ERROR")
  • SLURM Queue errors
  • Processing software errors (these should be labeled "AUTOPROC ERROR")

If there are IceFlow or SLURM errors, please contact beamline support.

autoPROC errors most often reflect issues with processing the data; some of the most common types are:

  • Indexing errors in XDS
  • Integration errors in XDS
  • Scaling errors in aP_scale or XSCALE

IceFlow extracts autoPROC error messages from the "top" log file (typically named out-{cutoff}.log); these errors most often point to the log files for specific processes (e.g. indexing) and provide relative paths to them. Inspect these logs if you need more detailed information about what went wrong.

The autoPROC manual lists a few common errors that can be encountered when running autoPROC as well as a few general suggestions for how to handle them. The data can be easily reprocessed with different or modified keywords and input parameters using the Reprocess a Dataset tab in the Crystal Server.

Processing Pipeline (autoPROC)

To learn more about the autoPROC programs, versions and references, see the BluIce Processing Tab documentation.

Wrapper Pipeline (IceFlow)

To learn more about the Wrapper Pipeline IceFlow that runs various 3rd party pipelines such as autoPROC, see the BluIce Processing Tab documentation.