A package for converting spectrometry imaging line scan data files to a visualizable format
Project description
MSIGen
MSIGen is designed for converting mass spectrometry imaging (MSI) data from the raw line-scan data to a visualizable format and is designed with nano-DESI MSI in mind. It has premade files for converting to images using a GUI, jupyter notebook, or from the command line.
Installation on Windows
Using Anaconda (https://www.anaconda.com/download), create a new environment titled "MSIGen" with python >=3.8 and activate it. Then, MSIGen can be installed using the pip package manager.
Run the following in anaconda prompt:
conda create --name MSIGen python=3.9
conda activate MSIGen
pip install MSIGen
For GUI tool:
Download "make GUI shortcut.py" from the tests folder in the Github repository. Run this code from Anaconda prompt.
conda activate MSIGen
python "C:/path/to/make GUI shortcut.py"
After running with the actual location of "make GUI shortcut.py", there should be a shortcut called "MSIGen GUI" on your desktop. This runs the GUI for MSIGen.
For Jupyter Notebook Tool:
Download "MSIGen_jupyter.ipynb" from the tests folder in the Github repository. Open Anaconda and run Jupyter Notebook in the MSIGen environment. Open "MSIGen_jupyter.ipynb" from Jupyter Notebook.
For Command Line Interface Tool:
Download "MSIGen_CLI.py" from the tests folder in the Github repository. Create a configuration file for your experiment. An example can be found in the tests folder. Run the following in Anaconda Prompt:
conda activate MSIGen
python "C:/Path/to/MSIGen_CLI.py" "C:/path/to/config_file1.json" "C:/path/to/config_file2.json"
Supply one configuration file for each dataset to be processed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file msigen-0.1.0.tar.gz
.
File metadata
- Download URL: msigen-0.1.0.tar.gz
- Upload date:
- Size: 3.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 918bf410711472074bf34703718464f21edec6d1c215f82fa69a76573cda800b |
|
MD5 | ed37ef6715794faacbbb77f1606b9804 |
|
BLAKE2b-256 | d78b2dafd2c57771b4709b4b45a730d8f6ad88bc629efac8bc45ff683bc43e96 |
File details
Details for the file msigen-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: msigen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98263e8cc6b40bc38048f1baecdced27766a5c124e4140442107f7bb59bc969 |
|
MD5 | d71f889a4347d8f7b58b273cf7f77a79 |
|
BLAKE2b-256 | 60c888eb3bdbff2e18e7bd1599f181ded0f282f249fcd5f0561fcb29aca3ff82 |