Unit tests for SanXoT

From PROTEOMICA
Revision as of 12:51, 14 February 2018 by Mtrevisan (talk | contribs)
Jump to: navigation, search

We present here three unit tests for windows that can be performed using the following programs in the SanXoT software package:

For detailed explanations, check notes about the Unit test for SanXoT.

Test 1: The fundamental workflow

The fundamental workflow consists in the steps to quantify proteins using PSMs and quantitative information, following the steps:

1) calibration of spectra 2) integrating from spectra to peptides 3) integrating from peptides to proteins 4) quantifying proteins

This test makes use of four programs: Aljamia, Klibrate, SanXoT, and SanXoTSieve.

To run this unit test, follow these steps:

1) download the windows executables, SanXoT.zip. Unzip them in a folder specific for the program. 2) download the files for the unit test, SanXoT_test1.zip. Unzip to a working folder. You should have four text files:

  • commands_test1.bat, a windows batch file with command lines to run this sample analysis.
  • startingFile.xls, a tab-separated-values text file with identifications and quantitative data from a proteomics experiment.

3) Get a) the path of your working folder (where you have unzipped the startingFile.xls), b) the path of the folder where you have unzipped the windows executables, and c) the unit of the latter (C:, D:, etc); modify the following lines in the command_test1.bat file accordingly:

set unit=D:
set programFolder="D:\SSP"
set workingFolder="D:\SanXoT_test1"

4) execute the bat file, copy and paste the whole commands_test1.bat text into a command prompt window (you can also just double click the bat file; however, if an error arises, the CMD window created will close immediately, so the text of the error will not be available). 5) wait until it finishes. It should take 30-60 seconds (for a regular PC with 64-bit Windows 10, 3.4 GHz, 32 GB RAM). 6) compare your results with the data in the results folder of SanXoT_test1_results.zip (for example using a comparison software such as Beyond Compare). Only the files ending in *_log.txt and *_infoFile.txt should have differences (and only due to the different path for files, and the timestamp, all other features being identical, such as variances, Levenberg-Marquardt steps, and options).

Test 2: Experiment merging

Protein quantifications from different technical or biological replicates can be merged into experiment-independent quantifications, giving the biological and technical variance. In this test we

1) use the data from Test 1 2) perform the fundamental workflow for another parallel experiment 3) we merge both experiments

This test makes use of four programs: Klibrate, SanXoT, SanXoTSieve, and Cardenio.

To run this unit test, follow these steps:

1) use the windows executables unzipped in step 1 of Test 1. 2) download the files for the unit test, SanXoT_test2.zip. This contains all the files generated in Test 1, with the addition of the tag file (for Cardenio). 3) remember to change the following lines in the command_test2.bat file, as in step 3 for Test 1:

set unit=D:
set programFolder="D:\SSP"
set workingFolder="D:\unitTest"

4) execute the bat file (same as step 4 in Test 1). 5) wait until it finishes. As in Test 1, this test should take 30-60 seconds (for a regular PC with 64-bit Windows 10, 3.4 GHz, 32 GB RAM). 6) As in Test 1, the only files that are not identical should be the merge_logFile.txt from Cardenio, and the *_infoFiles.txt from SanXoT, SanXoTSieve and Klibrate.

Test 3: Systems biology