Giter Site home page Giter Site logo

fastei's Introduction

GitHub

FastEI is an ultra-fast and accurate spectrum matching method, proposed to improve accuracy by Word2vec-based spectrum embedding and boost the speed using hierarchical navigable small world graph (HNSW)

Motivation

The in-silico library with predicted spectra of large-scale molecules can extend the chemical space and increase the coverage immensely when compared with experimental libraries (e.g., NIST 2017 and MassBank libraries). How to rapidly search an in-silico library of millions or even tens of millions of spectra while ensuring the accuracy of molecular identification is a new challenge. In this work, a million-molecule scale in-silico library has been builded and an ultra-fast and accurate search method has been developed (FastEI).

Depends

Anaconda for Python 3.7

conda install -c conda-forge gensim

conda install -c rdkit rdkit

conda install -c conda-forge hnswlib

Installation

The current install version of FastEI only supports Windows 64-bit version. It has been test on windows 7, windows 10.

Install software: FastEI-GUI-1.0.0-Windows.exe

Note: All the database, HNSW index, Word2vec model and query spectra examples are included in the installation package. So there are four files needed to be downloaded, including FastEI-GUI.exe, FastEI-GUI-1.bin, FastEI-GUI-2.bin, and FastEI-GUI-3.bin. It will take some time to install. Please be patient.

Development version

  1. Install Anaconda or Miniconda

  2. Install Git

  3. Open commond line, clone the repository and enter:

    git clone https://github.com/Qiong-Yang/FastEI.git
    cd FastEI
    
  4. Create environment and install dependency with the following commands :

    conda env create -f FastEI.yml conda activate FastEI

  5. Run FastEI.py:

    cd GUI/ui
    python FastEI.py
    

Usage

Software

The video for using the FastEI is available at the video folder.

FastEI-GUI.mov

For the details on how to use FastEI, please check Ducomentation.

Code

Database, Word2vec model and HNSW index download:

Please put IN_SILICO_LIBRARY.db , references_index.bin and references_word2vec.model into data directory.

Take example.pyexample.ipynb)as an example for molecular identification. If you want to identify molecules based on your spectra, please put your spectra files in to spectra directory and run test.py.

Contact

Yang qiong

E-mail: [email protected]

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.