Skip to content

Commit bb8c7c2

Browse files
authored
Create README.md
1 parent beaf63f commit bb8c7c2

1 file changed

Lines changed: 98 additions & 0 deletions

File tree

README.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# MSFileParserApp
2+
3+
**MSFileParserApp** is a Python Dash web application that parses targeted mass spectrometry experiment from **Skyline** and converts them into a **2D matrix format** for downstream statistical or bioinformatics analysis.
4+
5+
This tool is ideal for labs and analysts looking for a fast, browser-based interface to convert Skyline output into a pivoted matrix (samples × analytes).
6+
7+
---
8+
9+
## 🔍 What It Does
10+
11+
- Parses and decodes .TXT` Skyline data files
12+
- Extracts quantification metrics like **Concentration**, **Response**, or **Area**
13+
- Supports toggling of **internal standard inclusion**
14+
- Transforms long-form MS data into a **pivoted matrix**: samples × analytes
15+
- Allows direct **CSV download** of the processed matrix
16+
- Provides a clean, responsive UI with `dash-mantine-components`
17+
18+
---
19+
20+
## 📁 Project Structure
21+
22+
```
23+
MSFileParserApp/
24+
├── app.py # Dash app (recommend renaming to massspec_dash_app.py)
25+
├── scr/
26+
│ └── conv.py # Core logic for file decoding and data transformation
27+
├── requirements.txt # Python dependencies
28+
├── README.md # Project overview and usage
29+
```
30+
31+
---
32+
33+
## 🛠️ Installation
34+
35+
```bash
36+
# Clone the repo
37+
git clone https://github.com/tkimhofer/MSFileParserApp.git
38+
cd MSFileParserApp
39+
40+
# Set up a virtual environment (optional but recommended)
41+
python -m venv venv
42+
source venv/bin/activate # or venv\Scripts\activate on Windows
43+
44+
# Install dependencies
45+
pip install -r requirements.txt
46+
```
47+
48+
---
49+
50+
## 🚀 Run the App
51+
52+
```bash
53+
python app.py
54+
```
55+
56+
Navigate to [http://127.0.0.1:8050](http://127.0.0.1:8050) in your browser.
57+
58+
---
59+
60+
## 📤 Output Format
61+
62+
- A **pivoted data matrix**: rows = samples, columns = analytes
63+
- Index includes path and sample name
64+
- Exported as `.csv` with dynamic naming:
65+
```
66+
df_conc_[datetime].csv
67+
```
68+
69+
---
70+
71+
## 🎯 Use Cases
72+
73+
- Preprocessing of Skyline output for statistical analysis
74+
- Generating clean feature matrices for machine learning
75+
- Quick QC of targeted LC-MS data via web interface
76+
77+
---
78+
79+
## 📦 Dependencies
80+
81+
- Dash
82+
- Pandas
83+
- Plotly
84+
- dash-mantine-components
85+
86+
---
87+
88+
## 📖 License
89+
90+
MIT License
91+
92+
---
93+
94+
## 👩‍🔬 Acknowledgements
95+
96+
- Developed by [@tkimhofer](https://github.com/tkimhofer)
97+
- Built with [Dash](https://dash.plotly.com/)
98+
- UI powered by [dash-mantine-components](https://www.dash-mantine-components.com/)

0 commit comments

Comments
 (0)