Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 645 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 645 Bytes

mgf2svg: View mgf files

Given a url pointing to a valid mgf file (Mascot Generic Format), prints the corresonding svg to stdout.

Installation:

## install python requirements (debian packages)
sudo apt-get install python-setuptools python-dev build-essential python-tk python-matplotlib
## install pyteomics (not in debian yet)
sudo pip install pyteomics

Usage:

./mgf2svg.py https://raw.githubusercontent.com/OpenScienceRender/ExampleData/master/test.mgf > output.svg

Know bugs/limitations:

Only the first spectrum in a mgf file is supported.