npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

exfilms

v1.2.8

Published

A cross-platform, command line interface (CLI) tool to extract mass spectrometry (MS) data from mzML formatted files, with filtering capabilities.

Downloads

470

Readme

ExfilMS
NPM License CI/CD CodeCov Semantic-Release Downloads DOI-Zenodo

Introduction

ExfilMS is a cross-platform, command line interface (CLI) tool to extract mass spectrometry (MS) data from mzML formatted files, with filtering capabilities.

Features

  1. MS data extraction (spectrum and chromatogram)

  2. Precision value rounding

  3. Spectra filtering (m/z and intensity)

    • Targeted (target file, m/z tolerance and ppm tolerance)
    • Range (minimum and maximum m/z)
  4. Spectrum data filtering

    • Type (profile / centroid)
    • MS level (i.e., 1, 2, ..., n)
    • Polarity (positive / negative)
    • Exclude spectra (m/z and intensity)

Supported MS Platforms

Data extraction and spectrum filtration have been tested on data files acquired on the following MS platforms:

Installation

ExfilMS has been tested on Windows, macOS and Linux.

CLI

[!IMPORTANT]
Prerequisite: Node.js®

$ npm i -g exfilms

Docker

[!IMPORTANT]
Prerequisite: Docker

# Clone repository

$ git clone https://github.com/vmalnathnambiar/exfilms.git

# Navigate into repository

$ cd exfilms

# Build Docker image

$ docker build -t exfilms .

Usage

CLI

# Using command line flags

$ exfilms -i "/path/to/input/directory/containing/mzML/data/files/" ...

# Running interactive mode

$ exfilms -x

Docker

# Using command line flags

$ docker run --rm -it -v "/path/to/input/directory/":/inputDirectory -v "/path/to/output/directory/":/outputDirectory -v "/path/to/log/directory/":/logDirectory exfilms -i /inputDirectory -o /outputDirectory -l /logDirectory ....

# Running interactive mode

$ docker run --rm -it -v "/path/to/input/directory/":/inputDirectory -v "/path/to/output/directory/":/outputDirectory -v "/path/to/log/directory/":/logDirectory exfilms -x

[!NOTE]
Running ExfilMS using Docker requires the use of volume mapping in the Docker command. For example,

-v "/path/on/the/local/machine/":/tmpPath

Once the volume mapping is done, you would use /tmpPath as the input data where required, instead of the actual path on the local machine. For the successful execution of ExfilMS, you are REQUIRED to provide the following:

  • -v "/path/to/input/directory/":/inputDirectory
  • -v "/path/to/output/directory/":/outputDirectory
  • -v "/path/to/log/directory/":/logDirectory

For more guidance on how to use ExfilMS, please refer to our available guides below:

Limitations

[!WARNING]

  1. Unable to extract MS data from Bruker EVOQ instruments and SCIEX wiff2 scan files (Unsupported file formats by ProteoWizard).

  2. Unable to parse mzML data with a file size > 2GB.

  3. Large MS data may cause Node environment to terminate abruptly due to memory limit exhaustion.

  4. May have slow output write speed due to build architecture difference (i.e, Intel vs AMD vs ARM) when running ExfilMS with Docker.

  5. Unable to perform chromatogram filtering as of now.

Citations

If you use ExfilMS in your work, please cite it using the following:

Nambiar, V., & Nambiar, S. (2024). ExfilMS (Version 1.2.8) [Computer software]. https://doi.org/10.5281/zenodo.10976761

License

Please refer to our license information here.