Difference between revisions of "LipidXplorer Installation"

From LIFS LipidXplorer Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Note:''' The current package of LipidXplorer is compatible with '''Microsoft Windows''' only. A Linux version has to be compiled first. This should be not a big problem. If anyone is interested, please write me.  
+
'''Note:''' The current package of LipidXplorer is mainly compatible with 64bit versions of '''Microsoft Windows''' (7,8,10) only. A Linux version is only available from source. If you need help, [https://lifs.isas.de/support please contact us].  
  
 +
=====File conversion=====
 +
LipidXplorer supports the generic file formats *.mzML and *.mzXML. Raw spectra as they are produced by the mass spectrometer have to be converted into one of those formats before they can be used with LipidXplorer. The recommended converter is [http://proteowizard.sourceforge.net/downloads.shtml MSConvert] from the ProteoWizard package. It supports the formats of the main mass spectrometer vendors and is maintained by a team of developers. It comes with an easy-to-use graphical user interface.
 +
 +
Details on how to use msConvert for LipidXplorer can be found [[LipidXplorer msconvert conversion|here]]
 +
 +
====Binary Distribution for Windows====
 +
 +
The binary distribution of LipidXplorer is a zip-Archive containing the LipidXplorer.exe file. You can download the latest release version from [https://lifs.isas.de/lipidxplorer here]
 +
 +
Requirements:
 +
The binary version of LipidXplorer requires a 64bit Windows installation to run. Everything else is already bundled in the .exe file.
 +
 +
In order to run LipidXplorer from the binary distribution, please proceed as follows:
 +
 +
# unzip the LipidXplorer-X.Y.Z.zip archive to a location of your choice,
 +
# open the unzipped directory in your Windows Explorer,
 +
# double-click LipidXplorer.exe to launch the application.
 +
 +
Please see the [[LipidXplorer Tutorial|Tutorial]] for instructions on how to proceed.
 +
 +
====Sourcecode Installation for Windows====
 +
 +
Requirements:
 +
In order to work with the sourcecode and build LipidXplorer, you will need the following tools on your Windows PC (64 bit)
 +
 +
* [https://tortoisegit.org/ Git (TortoiseGit)]
 +
* A Python IDE [https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=windows&code=PCC PyCharm CE]
 +
* [https://repo.anaconda.com/archive/Anaconda2-2019.07-Windows-x86_64.exe Anaconda2, 64bit]
 +
 +
The source code for LipidXplorer has been moved to the ISAS GitLab server. In order to clone it with TortoiseGit, follow these steps:
 +
 +
# open a folder in your Windows Explorer where you want to keep the sourcecode locally,
 +
# right-click and select 'Git Clone...',
 +
# enter the repository URL: https://gitlab.isas.de/lifs-public/lipidxplorer.git ,
 +
# left-click 'Ok'
 +
 +
The sourcecode should now be cloned into the selected directory within the 'lipidxplorer' folder.
 +
 +
The next step is to import the wx-py27-anaconda.yml environment file, located in the lipidxplorer folder into anaconda.
 +
Please follow the instructions [https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file here], just replace 'environment.yml' with wx-py27-anaconda.yml
 +
 +
In order to use the dependencies for your project, open a Conda2 shell and navigate to the location where your project was cloned to.
 +
Follow the instructions [https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#activating-an-environment here] to activate the environment.
 +
You can then run LipidXplorer by typing 'python LipidXplorer.py'.
 +
 +
=====Using PyCharm=====
 +
 +
If you use PyCharm as your IDE, the following instructions will help you get started:
 +
 +
# Use https://gitlab.isas.de/lifs-public/lipidxplorer.git as the Git location: [https://www.jetbrains.com/help/pycharm/set-up-a-git-repository.html Set up the git repository]
 +
# Use the wx-py27 anaconda environment and the conda Python 2.7 interpreter: [https://www.jetbrains.com/help/pycharm/conda-support-creating-conda-virtual-environment.html]
 +
# For further hints and tutorials, please see the [https://www.jetbrains.com/help/pycharm/quick-start-guide.html PyCharm Quickstart]
 +
 +
 +
----
 +
 +
 +
====Legacy Sourcecode Instructions (no longer necessary)====
 +
 +
=====Download link=====
 +
LipidXplorer 1.2.7 can be downloaded [https://sourceforge.net/projects/lipidxplorer/files/ here]. Unzip it and store the folder at any place you prefer. LipidXplorer is started with a double click on "LipidXplorer.py". In the "mfql" folder you find example queries taken from the LipidXplorer paper[1].
  
====Installation for Windows====
 
 
LipidXplorer '''32Bit'''
 
LipidXplorer '''32Bit'''
 
* Python 2.6 [http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi here] !Note! Python version has to be >= 2.6.6  
 
* Python 2.6 [http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi here] !Note! Python version has to be >= 2.6.6  
Line 30: Line 90:
 
*** install lxml from command line: <code>c:\Python27\scripts\pip.exe install lxml-<version>-win_amd64.whl</code>
 
*** install lxml from command line: <code>c:\Python27\scripts\pip.exe install lxml-<version>-win_amd64.whl</code>
  
The requirements for Linux are the same. However, the links above are only for the Windows version. For Linux, please check out the repositories of your distribution. Further, the Python C extensions have to be build separately on Linux. Please contact me [mailto:herzog@mpi-cbg.de (Email)] for further information.
+
The requirements for Linux are the same. However, the links above are only for the Windows version. For Linux, please check out the repositories of your distribution. Further, the Python C extensions have to be build separately on Linux. Please [https://lifs.isas.de/support contact us] for further information.
 
 
====Download link====
 
LipidXplorer can be downloaded [https://sourceforge.net/projects/lipidxplorer/files/ here]. Unzip it and store the folder at any place you prefer. LipidXplorer is started with a double click on "LipidXplorer.py". In the "mfql" folder you find example queries taken from the LipidXplorer paper[1].
 
 
 
====Optional requirements====
 
 
 
=====File conversion=====
 
 
 
LipidXplorer supports the generic file formats *.mzML and *.mzXML. Raw spectra as they are produced by the mass spectrometer have to be converted into one of those formats before they can be used with LipidXplorer. The recommended converter is [http://proteowizard.sourceforge.net/downloads.shtml MSConvert] from the ProteoWizard package. It supports the formats of the main mass spectrometer vendors and is maintained by a team of developers. I comes with an easy-to-use graphical user interface.
 
  
 
-----
 
-----
  
 
'''[1]''' Herzog, R., Schwudke, D., Schuhmann, K., Sampaio, J.L., Bornstein, S.R., Schroeder, M., and Shevchenko, A. 2011. A novel informatics concept for high-throughput shotgun lipidomics based on the molecular fragmentation query language. Genome Biol 12(1): R8.
 
'''[1]''' Herzog, R., Schwudke, D., Schuhmann, K., Sampaio, J.L., Bornstein, S.R., Schroeder, M., and Shevchenko, A. 2011. A novel informatics concept for high-throughput shotgun lipidomics based on the molecular fragmentation query language. Genome Biol 12(1): R8.

Latest revision as of 08:54, 13 September 2019

Note: The current package of LipidXplorer is mainly compatible with 64bit versions of Microsoft Windows (7,8,10) only. A Linux version is only available from source. If you need help, please contact us.

File conversion

LipidXplorer supports the generic file formats *.mzML and *.mzXML. Raw spectra as they are produced by the mass spectrometer have to be converted into one of those formats before they can be used with LipidXplorer. The recommended converter is MSConvert from the ProteoWizard package. It supports the formats of the main mass spectrometer vendors and is maintained by a team of developers. It comes with an easy-to-use graphical user interface.

Details on how to use msConvert for LipidXplorer can be found here

Binary Distribution for Windows

The binary distribution of LipidXplorer is a zip-Archive containing the LipidXplorer.exe file. You can download the latest release version from here

Requirements: The binary version of LipidXplorer requires a 64bit Windows installation to run. Everything else is already bundled in the .exe file.

In order to run LipidXplorer from the binary distribution, please proceed as follows:

  1. unzip the LipidXplorer-X.Y.Z.zip archive to a location of your choice,
  2. open the unzipped directory in your Windows Explorer,
  3. double-click LipidXplorer.exe to launch the application.

Please see the Tutorial for instructions on how to proceed.

Sourcecode Installation for Windows

Requirements: In order to work with the sourcecode and build LipidXplorer, you will need the following tools on your Windows PC (64 bit)

The source code for LipidXplorer has been moved to the ISAS GitLab server. In order to clone it with TortoiseGit, follow these steps:

  1. open a folder in your Windows Explorer where you want to keep the sourcecode locally,
  2. right-click and select 'Git Clone...',
  3. enter the repository URL: https://gitlab.isas.de/lifs-public/lipidxplorer.git ,
  4. left-click 'Ok'

The sourcecode should now be cloned into the selected directory within the 'lipidxplorer' folder.

The next step is to import the wx-py27-anaconda.yml environment file, located in the lipidxplorer folder into anaconda. Please follow the instructions here, just replace 'environment.yml' with wx-py27-anaconda.yml

In order to use the dependencies for your project, open a Conda2 shell and navigate to the location where your project was cloned to. Follow the instructions here to activate the environment. You can then run LipidXplorer by typing 'python LipidXplorer.py'.

Using PyCharm

If you use PyCharm as your IDE, the following instructions will help you get started:

  1. Use https://gitlab.isas.de/lifs-public/lipidxplorer.git as the Git location: Set up the git repository
  2. Use the wx-py27 anaconda environment and the conda Python 2.7 interpreter: [1]
  3. For further hints and tutorials, please see the PyCharm Quickstart




Legacy Sourcecode Instructions (no longer necessary)

Download link

LipidXplorer 1.2.7 can be downloaded here. Unzip it and store the folder at any place you prefer. LipidXplorer is started with a double click on "LipidXplorer.py". In the "mfql" folder you find example queries taken from the LipidXplorer paper[1].

LipidXplorer 32Bit

  • Python 2.6 here !Note! Python version has to be >= 2.6.6
  • wxPython 2.8 (for Python 2.6) here
  • numPy (for Python 2.6) here

LipidXplorer 64Bit

  • Python 2.7 here
  • wxPython 2.8 (for Python 2.7) here
  • install Python 2.7 and wxPython 2.8
  • download the lipidxplorer third party dependencies here
    • unzip it to a location of your choice
    • double click on install_dependencies.py
    • after the installation finished you can delete the unzipped folder - it is not needed any longer
    • if this fails, you can manually install the dependencies:
      • download pip: get-pip.py
      • install pip from cmd line with Python get-pip.py
      • download numPy (for Python 2.7 64Bit): Since Numpy is officially not supported for 64Bit there is an unofficial version here which can be used and installed. Please select numpy-<version>+mkl-cp27-none-win_amd64.whl where <version> is the newest.
      • open the command line window:
        • move your mouse cursor over the window in which you saved the numpy[...].whl file
        • do a right mouse click while holding down the SHIFT key
        • in the menu select Open command window here
      • install numPy from command line and type: c:\Python27\scripts\pip.exe install numpy-<version>-win_amd64.whl
      • insert the correct version number for <version>
      • lxml (for Python 2.7 64 Bit): lxml is needed for reading mzML files with Python 2.7. Here is a site where you can download it for your system. Please select lxml‑<version>‑cp27‑none‑win_amd64.whl
      • save it in the same folder as the numpy file
      • install lxml from command line: c:\Python27\scripts\pip.exe install lxml-<version>-win_amd64.whl

The requirements for Linux are the same. However, the links above are only for the Windows version. For Linux, please check out the repositories of your distribution. Further, the Python C extensions have to be build separately on Linux. Please contact us for further information.


[1] Herzog, R., Schwudke, D., Schuhmann, K., Sampaio, J.L., Bornstein, S.R., Schroeder, M., and Shevchenko, A. 2011. A novel informatics concept for high-throughput shotgun lipidomics based on the molecular fragmentation query language. Genome Biol 12(1): R8.