Coder Social home page Coder Social logo

wfondrie / depthcharge Goto Github PK

View Code? Open in Web Editor NEW
55.0 10.0 17.0 1.32 MB

A deep learning toolkit for mass spectrometry

Home Page: https://wfondrie.github.io/depthcharge/

License: Apache License 2.0

Python 100.00%
deep-learning framework mass-spectrometry metabolomics proteomics pytorch

depthcharge's People

Contributors

alfred-n avatar bercestedincer avatar bittremieux avatar justin-a-sanders avatar melihyilmaz avatar wfondrie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

depthcharge's Issues

Example code to read .mgf file

Hi, I would like to know how to read and preprocess a .mgf file using the package. Can you please help me by providing an example code for that, which can then be used to pass on other package functions such as Encoder and Transformer? Thank You

Existing index doesn't know whether it's annotated

When trying to re-use an existing HDF5 index, I get the following error in hdf5.py on line 80:

AttributeError: 'AnnotatedSpectrumIndex' object has no attribute 'annotated'

Looking at the code, I don't know when the annotated attribute should be set. In fact, _handle is set to None in line 63, so I'm not fully understanding how this piece of code is supposed to work.

Problem with AnnotatedSpectrumDataset and n_workers>0

Hi there,
I started to use depthcharge and I really like it :)
However, I have a bit of a problem with the dataset AnnotatedSpectrumDataset from the latest depthcharge version. I am testing it with the function from https://github.com/wfondrie/depthcharge/blob/main/tests/unit_tests/test_data/test_loaders.py#L47
That works well. However, whenever I increase the number of workers it gets stuck and the code never terminates.
Have you encountered problems like this? Do you have any idea why this may happen?
I am using Python 3.10.12 on a Linux machine. Here are some of my package versions:

torch==2.1.0
pytorch-lightning==1.9.5
pylance==0.8.16
pyteomics==4.6.3

Thanks a lot in advance!

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.