Skip to content

Draws content of a mgf file (mascot generic format; mass spectrometry) into svg

License

Notifications You must be signed in to change notification settings

OpenScienceRender/mgf2svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Draws content of a mgf file (mascot generic format; mass spectrometry) into svg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages