- LipidLynxX version: v0.8.24
- API version: 1.0
Please get the latest version from LipidLynxX repository on GitHub using the link below:
https://github.com/SysMedOs/LipidLynxX/releases
In each release, there is always an Assets
section. Please download the Windows version in .zip
format (usually around 350 MB).
When the file is successfully downloaded, you can unzip it to any folder .e.g D:/Apps/LipidLynxX
.
Open the folder of LipidLynxX and you can find the LipidLynxX.exe
by using right click -> Group by -> Type
You can double click on LipidLynxX.exe
to start LipidLynxX
Your antivirus may block it first and shows a blue frame. After virus checking finished, it may have some error message. Close all warnings and this command prompt window.
Now click on LipidLynxX.exe
again and the following command prompt window will show up without any error message.
A web browser window will start automatically and load the LipidLynxX local web service at:
Please make sure you have Chrome or Firefox installed.
If windows internet explorer or Microsoft Edge browser started by default, please start Chrome or Firefox manually and visit http://127.0.0.1:1399
Now you have LipidLynxX installed successfully.
Please leave the LipidLynxX command prompt window on during the run. If you accidentally close the web page of LipidLynxX, you can always visit http://127.0.0.1:1399 to get back to LipidLynxX.
If you want to quit LipidLynxX, just close the LipidLynxX command prompt window, and then the LipidLynxX at http://127.0.0.1:1399 will be switched off. Please make sure you saved all your output files before closing the LipidLynxX command prompt window.
Please make sure you have git
installed.
You can use python 3.7.6 directly, using virtual environment is strongly recommenced.
In this tutorial, conda
from anaconda
or miniconda
is used.
Please find the installation guide of conda for your system on the following link:
https://docs.anaconda.com/anaconda/install/
Following commands can be used on platforms including Linux, macOS, and Windows 10. The screenshots are mainly taken on Ubuntu Linux 18.04 LTS with zsh, however, it may have different style of terminal window display on your system, but the commands and the main output should stay the same cross platforms.
After successful installation of git
and conda
, you can clone the LipidLynxX source code to your disk.
e.g. on Ubuntu Linux 18.04 LTS with zsh:
git clone --depth=50 --branch=master https://github.com/SysMedOs/LipidLynxX.git LipidLynxX
Now you can create a virtual environment for LipidLynxX.
For Windows users, please use the Anaconda Prompt
instead of Commandline Pront
or Power Shell
here a virtual environment named envlynx
is created.
You might have to type y
for enter
to confirm the creation of this virtual environment.
conda create -n envlynx python=3.7
e.g. on Ubuntu Linux 18.04 LTS with zsh:
For Windows users:
You can then activate the virtual environment created above.
Notice that the indicator of your python environment will be changed from anconda
, base
, or miniconda
to the name of the virtual environment created above (envlynx
).
e.g. on Ubuntu Linux 18.04 LTS with zsh:
on Windows 10 using Anaconda Prompt
Now you can navigate to LipidLynxX source code folder and install required packages using file requirements.txt
.
cd LipidLynxX
pip install -r requirements.txt
You might have to type y
for enter
to confirm the installation of a list of packages.
Wait until you see the notification message that a list of packages has been successfully installed.
Then you can start LipidLynxX using following command:
python LipidLynxX.py
After some debug information, you will see following information:
And a browser window will pop up with LipidLynxX interface using link:
LidpidLynxX currently have two major modules:
- LipidLynxX Converter
- Convert different annotations to uniform LipidLynxX ID
- LipidLynxX Equalizer
- Bring lipid identifiers to the same level of annotation and perform cross-level matching between different dataset
- Test input file:
doc/sample_data/input
- Test output example files:
doc/sample_data/output
For Conversion, type/paste your lipid annotations or choose your .xlsx or .csv files. Press “convert abbreviations” or “convert table”, wait for results. You will see the output on the right-hand side or just download the table with converted IDs.
-
Paste list of abbreviations in the text input field and press “convert abbreviations”.
- You can find example input in file
doc/sample_data/input/LipidLynxX_conveter_test.txt
- You can find example input in file
-
You will see the output on the right-hand side or just download the table with converted IDs.
- You can find example output
doc/sample_data/output/LipidLynxX-Converter_from_text.xlsx
- You can find example output
-
Press "Choose file"
-
Select the input file in .xlsx or .csv format and press “Convert table”
- You can use example file
doc/sample_data/input/LipidLynxX_test.xlsx
- You can use example file
-
You will see the output on the right-hand side or just download the table with converted IDs.
- You can find example output
doc/sample_data/output/LipidLynxX-Converter_from_table.xlsx
- You can find example output
To Equalize, select LipidLynxX Equalizer tab from Home page. Select the level of annotations to which you would like to cross-match your lipid annotations (you can select more than one). For details on annotation levels see the tables on the right hand-side. Choose you datafile and press “Equalize”. Download your results as .xlsx file.
- Press "Choose file" and select the input file in .xlsx or .csv format. Then select the level of annotations to which you would like to cross-match your lipid annotations (you can select more than one), in this case levels B0, D0 and D1 are chosen. Then you can press “Equalize” to start processing.
- You will see the output when the processing is finished and you can download the file in .xlsx format.
- LipidLynxX Converter
python LynxConverter.py -i doc/sample_data/input/LipidLynxX_test.xlsx -o doc/sample_data/output/LipidLynxX_test_converter_out.xlsx
- LipidLynxX Equalizer
python LynxEqualizer.py -l "B0,D0,D1" -i doc/sample_data/input/LipidLynxX_test.csv -o doc/sample_data/output/LipidLynxX_test_equalizer_out.xlsx
- LipidLynxX Converter API Examples
curl http://127.0.0.1:1399api/0.1/converter/str/ -d 'data="PLPC"' -X GET
curl http://127.0.0.1:1399api/0.1/converter/list/ -d 'data=["PAPE", "PE 36:4"]' -X GET
curl http://127.0.0.1:1399api/0.1/converter/dict/ -d 'data={"Sample1":["PAPC","PS 16:0/18:2(9Z,12Z)"],"SAMPLE2":["PC 16:0_20:4","PS 16:0_18:2"]}' -X GET
- LipidLynxX Equalizer API Examples
curl http://127.0.0.1:1399api/0.1/equalizer/ -d 'data={"Sample1":["PAPC","PS 16:0/18:2(9Z,12Z)", "DPPE"],"SAMPLE2":["PC 16:0_20:4","PS 16:0_18:2", "PG 18:0_18:3"]}&level=D0' -X GET
In case you experienced any problems with running LipidLynxX, please report an issue in the issue tracker or contact us.