Git Product home page Git Product logo

imzml-to-hdf5's Introduction

Description

Parser to convert MSI imzML files into HDF5 files.

Preconditions

Python is needed for execution. We recomment to install anaconda from https://www.anaconda.com/distribution/#download-section . Afterwards, use the predefined anaconda environment. Therefore, open your console, navigate into the imzML-to-HDF5 package and call conda env create -f .\environment.yml. Activate the environment with activate msiparse (Windows users should use the CMD instead of powershell). Activation needs to be done every time before the parser is called. Deactivate the environment with deactivate.

Execution

  1. Call activate msiparse.
  2. Call python msiproc.py to convert from imzml + ibd to h5 data. This requires a lot of memory for bigger imzml/ibd files and should be executed on a cluster. For parameter details call msiproc.py -h

Optional

(a). Provide a mir file (peak selection file) to reduce data sets generated to the specified peak selection.

(b). Call python consensus_peaklist.py to align multiple peak selected data sets. Peaks with a user specified percentual overlap will be merged. For parameter details call python consensus_peaklist.py -h.
Important: This method will only change the representative m/z value of peaks. The intensity will remain as the sum over the original peak range, i.e. a shifting will be simulated without changing the peaks in the original data. The new peak values should not be used in relation with the original data set!

(c). Provide a mis file to generate position mapping images and scaled images.

Hints and issues:

  • The following files have to be named equally: imzml, ibd(, mis).
  • Computing consensus peaks can cause some issues with due to peak chaining effects and multiple peak overlapping, e.g. two peaks of D1 overlap with one peak of D2.
    None of these Problems should raise with enough spacing between selected peaks.

imzml-to-hdf5's People

Contributors

kawue avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

changzhijiang

imzml-to-hdf5's Issues

memory error

computer has already equipped with 64 Gb RAM, but still does not work:

HD5

any fix, please.

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.