Coder Social home page Coder Social logo

icextract's Introduction

ICExtract

Package for analyzing MS with Python. It provides an ion-chromatogram-extraction method based on Greed Nearest Neighbor algorithm for raw LC-MS dataset (including DDA-MS data and DIA-MS data) effectively and quickly.

Install

Required Dependencies

Download

  • Download ICExtract.
  • Unzip it into ICExtract directory.

Compile

  • step 1 Compile OpenMS by OpenMS Guide.

  • step 2 Compile ICExtract. Open "VS2015 x64 Native Tools Command Prompt" ; Run following commands in the prompt.

     cd ICExtract
     mkdir build
     cd build
     cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
     nmake
     nmake install

Usage

  • Download ICExtract_python.zip file from url.

  • Upzip ICExtract_python.zip file and go to /python36 directory.

  • Run following Python code fragment to extract ion chromatogram from mzXML or mzML file.

     from _ICExtract import DDAMS, DDA_PIC, DIAMS, DIA_PIC, MS2_PIC
     import sys
     ### for DDA-MS data
     mzfile="DDAfile.mzxml" ## dda-ms file
     mzfile=mzfile.encode(sys.getfilesystemencoding())
     ddams=DDAMS()
     ddams.load(mzfile)
     ics_ms1 = DDA_PIC(ddams, 0.025, 300.0, 10.0, 10.0, 5.0)
     
     ### for DIA-MS data
     mzfile="DIAfile.mzxml" ## dia-ms file
     mzfile=mzfile.encode(sys.getfilesystemencoding())
     diams=DIAMS()
     diams.load(mzfile)
     ics_ms1 = DIA_PIC(diams, 0, 0.025, 300.0, 10.0, 10.0, 5.0) ## MS1
     ics_ms2 = MS2_PIC(diams, 1, 0.025, 300.0, 10.0, 10.0, 5.0) ## MS2 

Contact

For any questions, please contact: [email protected]

icextract's People

Contributors

mapancsu avatar

Stargazers

Zhimin Zhang avatar Hongchao Ji avatar

Watchers

 avatar

Forkers

hcji

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.