Software:RemoteConvert

From SPCTools

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:00, 4 March 2009
Zsun (Talk | contribs)
(Instructions on install user defined service:)
← Previous diff
Current revision
Zsun (Talk | contribs)
(Requirements)
Line 1: Line 1:
-'''RemoteConvert: TConvert the raw file remotely.'''+'''RemoteConvert'''
==Description== ==Description==
Line 6: Line 6:
==Requirements== ==Requirements==
-The following is a list of software need to be installed in window machine before you can convert each type of the raw file.+The following is a list of software need to be installed on window machine before you can convert each type of the raw file.
 + 
 +{| class="wikitable" style="text-align:center;" border="2" cellpadding="2"
 +|-
 +! Raw file type !! Raw-to-mzXML/mzML converter !! Required Software
 +|-
 +| .RAW file || [http://tools.proteomecenter.org/wiki/index.php?title=Software:ReAdW ReAdw] || Thermo's XCalibur software
 +|-
 +| raw dir || [http://tools.proteomecenter.org/wiki/index.php?title=Software:massWolf massWolf] || Waters' MassLynx software
 +|-
 +| .wiff || [http://tools.proteomecenter.org/wiki/index.php?title=Software:mzWiff mzWiff] || Analyst software
 +|-
 +|-
 +| .wiff || mzML_Exporter || /
 +|-
 +|-
 +| .baf .yep || [http://tools.proteomecenter.org/wiki/index.php?title=Software:CompassXport CompassXport] || CompassXport, produced by Bruker
 +|-
 +|}
==How to use it== ==How to use it==
Line 32: Line 50:
./ remoteconvert.pl –showoptions: show all options available for each converter ./ remoteconvert.pl –showoptions: show all options available for each converter
-==Install RemoteConvert as service==+==Install RemoteConvert as a service==
The service will stop if the user session is time out or the window machine is restarted. I complied the perl code into a executable using triall version of perl2exe, and installed it as service on a window 2000 and a window server 2003 sucessfully, thus the service will keep running without user log in and restart by itself after the computer restarts. The service will stop if the user session is time out or the window machine is restarted. I complied the perl code into a executable using triall version of perl2exe, and installed it as service on a window 2000 and a window server 2003 sucessfully, thus the service will keep running without user log in and restart by itself after the computer restarts.
-== Instructions on install user defined service: ==+== Instructions on installing user defined service: ==
- 1.Use perl2exe or other software to convert the perl program (server side) to exectuable. Save your perl executable into C:\convert+ 1.Use perl2exe or other software to convert the perl program
- + (server side) to executable. Save your perl executable into
- 2.Download and install resource kit tool from Microsoft website according to which version of window machine you have.+ C:\convert
- + 2.Download and install resource kit tool from Microsoft
- Window server 2003:+ website.
- + Window server 2003:[http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en]
- Window 2000: + Window 2000:[http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=3e89879d-6c0b-4f92-96c4-1016c187d429]
- + Alternatively if you can get INSTSRV.EXE and SRVANY.EXE
- + somewhere, you don’t need to install the whole resource kit.
- Alternatively if you can get INSTSRV.EXE and SRVANY.EXE somewhere, you don’t need to install the whole resource kit.+ Suppose these two executable are located in “C:\reskit”
-Suppose these two executable is located in “C:\reskit”+ 3.At a MS-DOS command prompt(running CMD.EXE), type the
- + following command:
- 2.At a MS-DOS command prompt(running CMD.EXE), type the following command:+ C:\reskit\INSTSRV.EXE RemoteConvert C:\reskit\SRVANY.EXE
- + 4.Run Registry Editor (start|run|regedit) and locate the
- C:\reskit\INSTSRV.EXE RemoteConvert C:\reskit\SRVANY.EXE+ following subkey:
- + HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteConvert
- 3.Run Registry Editor (start|run|regedit) and locate the following subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteConvert + a. From the Edit menu, click New Key. Type the following
- + and click OK:
- a. From the Edit menu, click New Key. Type the following and click OK:+
Key Name: Parameters Key Name: Parameters
Class : <leave blank> Class : <leave blank>
- 
b. Select the Parameters key. b. Select the Parameters key.
- From the Edit menu, click New Value. Type the following and click OK:+ From the Edit menu, click New Value. Type the following
 + and click OK:
Value Name: Application Value Name: Application
Data Type: REG_SZ Data Type: REG_SZ
String: C:\convert\RemoteConvertServer.exe String: C:\convert\RemoteConvertServer.exe
- 
c. Select the Parameters key c. Select the Parameters key
- From the Edit menu, click New Value. Type the following and click OK:+ From the Edit menu, click New Value. Type the following
 + and click OK:
Value Name: AppDirectory Value Name: AppDirectory
Data Type: REG_SZ Data Type: REG_SZ
String: C:\convert String: C:\convert
d. Close Registry Editor. d. Close Registry Editor.
- + 5: start the service
- 4: start the service+
control panel -> administrative tool -> component service control panel -> administrative tool -> component service
Find the "RemoteConvert" Find the "RemoteConvert"
Click it Click it
on popup window, click start on popup window, click start
 +
'''This software is included in the current [[Software:TPP|TPP]] distribution.''' '''This software is included in the current [[Software:TPP|TPP]] distribution.'''
 +
Additional methods for obtaining the software are: Additional methods for obtaining the software are:
*Download from SourceForge Sashimi project file release: [] *Download from SourceForge Sashimi project file release: []
*Browse sourcecode from on Sashimi project SVN[]. *Browse sourcecode from on Sashimi project SVN[].

Current revision

RemoteConvert

Contents

Description

Because several conversion programs depend on Windows-only vendor libraries from different manufacture, this software will enable you converting your raw files in you local machine without logging in to remote window machine.

Requirements

The following is a list of software need to be installed on window machine before you can convert each type of the raw file.

Raw file type Raw-to-mzXML/mzML converter Required Software
.RAW file ReAdw Thermo's XCalibur software
raw dir massWolf Waters' MassLynx software
.wiff mzWiff Analyst software
.wiff mzML_Exporter /
.baf .yep CompassXport CompassXport, produced by Bruker

How to use it

Suppose the remote window machine is named R machine. The local linux machine is named L machine.

On R machine:

mkdir C:\convert Download converter executable and save into C:\convert

Download RemoteConvertServer.pl and lib dir, and save into C:\convert

Download 7-zip, unzip and save it into C:\convert\7-zip

cd C:\convert

perl RemoteConvertServer.pl

On L machine:

Download remoteconvert.pl and save into some dir.

./ remoteconvert.pl : show some examples command to run the software.

./ remoteconvert.pl –showoptions: show all options available for each converter

Install RemoteConvert as a service

The service will stop if the user session is time out or the window machine is restarted. I complied the perl code into a executable using triall version of perl2exe, and installed it as service on a window 2000 and a window server 2003 sucessfully, thus the service will keep running without user log in and restart by itself after the computer restarts.

Instructions on installing user defined service:

  1.Use perl2exe or other software to convert the perl program
    (server side) to executable. Save your perl executable into
    C:\convert
  2.Download and install resource kit tool from Microsoft 
    website.
    Window server 2003:[1]   
    Window 2000:[2]
    Alternatively if you can get INSTSRV.EXE and SRVANY.EXE 
    somewhere, you don’t need to install the whole resource kit.
    Suppose these two executable are located in “C:\reskit”
  3.At a MS-DOS command prompt(running CMD.EXE), type the 
    following  command:
    C:\reskit\INSTSRV.EXE RemoteConvert C:\reskit\SRVANY.EXE
  4.Run Registry Editor (start|run|regedit) and locate the
    following subkey:
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteConvert 
    a. From the Edit menu, click New Key. Type the following
       and click OK:
       Key Name: Parameters
       Class : <leave blank> 
    b. Select the Parameters key. 
       From the Edit menu, click New Value. Type the following
       and click OK:
       Value Name: Application
       Data Type: REG_SZ
       String: C:\convert\RemoteConvertServer.exe
    c. Select the Parameters key
       From the Edit menu, click New Value. Type the following
       and click OK:
       Value Name: AppDirectory
       Data Type: REG_SZ
       String: C:\convert
    d. Close Registry Editor.
  5: start the service
    control panel -> administrative tool -> component service
    Find the "RemoteConvert" 
    Click it
    on popup window, click start


This software is included in the current TPP distribution.


Additional methods for obtaining the software are:

  • Download from SourceForge Sashimi project file release: []
  • Browse sourcecode from on Sashimi project SVN[].
Personal tools