Mass spectrometry query language python implementation
Project description
Mass Spec Query Languge
The Mass Spec Query language is meant to be concise querying of mass spec patterns that can scale from one single scan to a whole repository. Here we include the formal grammar and reference implementation in Python.
Repository Structure
This is the repository to define the language and reference implementation. This contains several parts
- Language Grammar
- Reference Implementation Python API
- Commandline Utility to execute
- NextFlow Workflow For Large Scale Analysis
- ProteoSAFe workflow
- Dash interactive exploration
Developers/Contact
Mingxun Wang is the main creator and developer of MSQL. Contact me for contributing or using it!
Docs
Python API
To install massql
pip install massql
Here is the most basic operation you can do
from massql import msql_engine
results_df = msql_engine.process_query(input_query, input_filename)
If you want to push in a data frame you already have, you can specify it
from massql import msql_engine
from massql import msql_fileloading
# Loading Data
ms1_df, ms2_df = msql_fileloading.load_data(input_filename)
# Executing Query
results_df = msql_engine.process_query(input_query, input_filename, ms1_df=ms1_df, ms2_df=ms2_df)
Web API
/api
/parse
/visualize/ms1
/visualize/ms2
License
MIT License
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 massql-0.0.6.tar.gz
.
File metadata
- Download URL: massql-0.0.6.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f41892feb0c99311651933f5c7fea6a604547d677c9720afc8b30ea8f3f148 |
|
MD5 | 4513002671b26c8f4813dbfd52205e30 |
|
BLAKE2b-256 | ef846dbc8cc63f1713d5cf43b87b1b4719a1eb18a87a5344f22fb44379287121 |
File details
Details for the file massql-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: massql-0.0.6-py3-none-any.whl
- Upload date:
- Size: 34.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b99764cd526aba02b73d45da3c665e61f1e8c3a498c1dcc3b19941573e9c1285 |
|
MD5 | 6c6e0a97ebd1f8aedb30c8bed36950d4 |
|
BLAKE2b-256 | 8656298297adbb585e8dce8ccd870eaed72ae1c310c302e1b783b999269eed34 |