Skip to content
/ ReAdW Public
forked from PedrioliLab/ReAdW

Convert ThermoFinningan RAW mass spectrometry files to the mzXML format

License

Notifications You must be signed in to change notification settings

z0lberg/ReAdW

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReAdW

Description

Convert ThermoFinningan RAW mass spectrometry files to the mzXML format[1].
Originally a part of the Trans-Proteomic Pipeline

Dependencies

ReAdW requires either Xcalibur or MSFileReader to be installed or minimally just the three DLLs: XRawfile2.dll, fileio.dll, fregistry.dll.
MSFileReader can be downloaded by creating an account with ThermoFischer Scientific. Once registered you will find the software under "Utility Software".

Binaries

Two binaries are available depending on which dependency is installed on your system:

  • The MSFileReader compatible is here
  • The Xcalibur compatible one is here

Note: the binaries have been tested to work under wine on *nix like systems.

Compilation

ReAdW can be compiled from source using Visual Studio 2010.

Usage

For a quick help call ReAdW.exe without any arguments.

ReAdW [options] <raw file path> [<output file>]

 Options

  --centroid, -c: Centroid all scans (MS1 and MS2)
      meaningful only if data was acquired in profile mode;
      default: off
  [Advanced option, default OFF] --precursorFromFilterLine: only
      try to get the precursor MZ value from the Thermo
      "filterline" text; only use this if you have a good reason!
      Otherwise, the program first will try to obtain a more accurate
       mass from the "Monoisotopic M/Z:" "trailer value"
  --nocompress, -n: Use zlib for compressing peaks
      default: off
  --verbose, -v:   verbose
  --gzip, -g:   gzip the output file (independent of peak compression)

  output file: (Optional) Filename for output file;
      if not supplied, the output file will be created
      in the same directory as the input file.


Example: convert input.raw file to output.mzXML, centroiding MS1 and MS2 scans

      ReAdW --compress C:\test\input.raw c:\test\output.mzXML

Converting multiple files

On a Windows system
Save the following code in a .bat file (e.g. convertall.bat) in a directory with a bunch of raw files you want to convert.

@echo off
for %%i in (*.RAW) do ReAdW.exe --centroid %%i

Double click on the .bat file to convert each of them using ReAdW.
You will need to rename your ReAdW binary to ReAdW.exe and place it in the same directory or edit the previous code to reference your specific ReAdW binary. Add the "--nocompress" option if you don't want to zlib compress the peaklists. Remove the "--centroid" option if you don't want to centroid peaks.

On a *nix system
To run ReAdW on a *nix like system you will first need to install wine.

Next follow these steps:

  • Copy convertRawDir.sh from the scripts folder into your PATH
  • Edit convertRawDir.sh to set the value of PATH_TO_READW to point to the folder in which you have isntalled ReAdW
  • Make sure that your ReAdW executable is called ReAdW.exe

The script will convert all new RAW files in a folder and place the resulting mzXML files in a separate mzXML folder.

Latest changes

2015.1.0, 2015/06/28

  • Add support for ETD+SA.

2014.1.1, 2014/08/08

  • Add new instrument types, parse synchronous precursor selection (sps) text in filter line, report ion injection times as "injectionTime" attribute in the "scan" element.

References

[1]: "Pedrioli, P. G. A. et al. A common open representation of mass spectrometry data and its application to proteomics research. Nat Biotech 22, 1459–1466 (2004)."

About

Convert ThermoFinningan RAW mass spectrometry files to the mzXML format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 57.4%
  • C++ 42.5%
  • Shell 0.1%