Giter Site home page Giter Site logo

msanalysis's Issues

could not broadcast input array (aka empty MS scan in mzXML file)

Problem Description

Traceback (most recent call last):
  File "/Users/ann.lii.rosales/Desktop/Python/msanalysis/examples/05_relative_abundance.py", line 41, in <module>
    data = read_mzXML(mzXML_file)
  File "/Users/ann.lii.rosales/Desktop/Python/msanalysis/msanalysis/data_extraction/utils.py", line 125, in read_mzXML
    intensities[i] = s.get_peaks()[1]
ValueError: could not broadcast input array from shape (0) into shape (26947)

Steps to Reproduce

I modified example 5 to plot data from the real mzXML file (which we now know is corrupted/problematic) and ran the example:

bash python 05_relative_abundance.py


Expected/Desired Behaviour

The corrupted mzXML files is beyond our control, but we need a more descriptive error message when this happens in the future.

Travis CI Security Breach Notice

MolSSI is reaching out to every repository created from the MolSSI Cookiecutter-CMS with a .travis.yml file present to alert them to a potential security breach in using the Travis-CI service.

Between September 3 and September 10 2021, the Secure Environment Variables Travis-CI uses were leaked for ALL projects and injected into the publicly available runtime logs. See more details here. All Travis-CI users should cycle any secure variables/files, and associated objects as soon as possible. We are reaching out to our users in the name of good stewards of the third-party products we recommended and might still be in use and provide a duty-to-warn to our end-users given the potential severity of the breach.

We at MolSSI recommend moving away from Travis-CI to another CI provider as soon as possible. The nature of this breach and the way the response was mis-handled by Travis-CI, MolSSI cannot recommend the Travis-CI platform for any reason at this time. We suggest either GitHub Actions (as is used from v1.5 of the Cookiecutter-CMS) or some other service offered on GitHub.

If you have already addressed this security concern or it does not apply to you, feel free to close this issue.

This issue was created programmatically to reach as many potential end-users as possible. We do apologize if this was sent in error.

Peak detection/fitting and deconvolution

  • Peak detection/fitting would help speed up QMS data analysis immensely. This would include generating isotope patterns based on possible etch products. Then, fitting would entail fitting the calculated patterns to the experimental data. Fitting output would include quality of fitting (eg, percent match to the isotope fingerprints).

  • Peak deconvolution would help identify species with overlapping m/z values. Deconvolution would involve linear combination of relative peak intensities from different species.

Peak loss in log-scale contour plots

Low intensity peaks don't show up in the current log scale contour plots (example 4). One resolution would be to remove the intense bands from precursor that are present throughout the temperature ramp. This requires input of m/z ranges of the intense bands that the users wish to exclude in the codes. Hopefully this will allow the low intensity peaks to show.

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.