GithubHelp home page GithubHelp logo

chenxiptz / masscomp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruocheny/masscomp

0.0 1.0 1.0 45.23 MB

a lossless compressor for mass spectrometry data

C 2.92% C++ 97.02% Makefile 0.06%

masscomp's Introduction

MassComp

About MassComp

MassComp is a loseless compressor for mass spectrometry data. It compresses the mass-to-charge ratio and intensity pairs in mzXML files efficiently by calculating the hexadecimal difference of consecutive m/z values, and by searching for parts of the intensity values that match previous ones. The remaining parts of the mzXML (e.g., metadata associated to the experiments) is compressed with the general compression algorithm 7zip.

Getting Started

Download the full project.

Run MassComp

Linux system

To compile:

g++ -o masscomp masscomp.cpp tinyxml2.cpp

To compress:

./masscomp -c fileOri.mzXML fileMasscomp

To decompress

./masscomp -d fileMasscomp fileDecomp.mzXML

To compare

./masscomp -cmp fileOri.mzXML fileDecomp.mzXML

Windows system

Current implementation of the code can be run by visual studio on windows system (we will provide a Linux and Mac implementation shortly).

Here's an example of this. Folder 'MSV000080896' is downloaded from MassIVE with id MSV000080896 and contains two mzXML files.

Run the executbale file MassComp in the project. With the hint "please input the path of files to be compressing:", input the folder path "\MSV000080896\peak\Data_mzXML" to start compressing. The output folder need an external compression with 7zip.

With the hint "please input the path of files to be decompressing:", input the folder path "\output\MSV000080896\peak\Data_mzXML" to start decompressing. Before start the decompressing, the zip file needs an external decompression with 7zip.

Note: Running the application in Windows uses gzip and requires installation of Cygwin.

Datasets

Datasets of mass spectrometry data can be downloaded from MassIVE https://massive.ucsd.edu/ProteoSAFe/static/massive.jsp

Authors

MassComp was created by Ruochen Yang and Idoia Ochoa at University of Illinois at Urbana-Champaign.

Contact

If you have any problem, please email me at [email protected]

masscomp's People

Contributors

chenxiptz avatar ruocheny avatar

Watchers

James Cloos avatar

Forkers

iochoa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.