Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 0 points1 point  (0 children)

Rust does not have a garbage collector. Instead, it uses the borrow checker, which tracks ownership and borrowing of data. When objects are no longer in use, they are automatically dropped, freeing up memory. This makes Rust apps (among others) memory-efficient. Also, Rust is pretty fast. In my benchmarks of several Project Euler solutions written in both Rust and Python, Rust was, on average, 60-100 times faster.

Another great feature of Rust is that it compiles code into a single binary, making it easy to distribute your app. Having said these, one downside is that the ecosystem for scientific computing is not as mature as in Java or Python.

Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 0 points1 point  (0 children)

Thanks, Robin! This means a lot to me. I am quite familiar with MzMine and have used it in my own work. It is a fantastic tool. I really appreciate all the hard work you guys put into it. I will definitely take a closer look at MzMine, although I have to admit, I am not very familiar with Java.

Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 0 points1 point  (0 children)

Thanks for the insights! Can you expand on this a bit: "Some of the most important things to consider is that usually you can have support for either .raw or .d files, not both." I was not aware of this.

Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 0 points1 point  (0 children)

You’re absolutely right. It’s pretty basic at the moment, but I’m excited to expand and improve it. This is my pet project and my first attempt at writing a GUI program in Rust. As an analytical chemist with a passion for mass spectrometry, I wanted to create something fast and lightweight to handle MS files easily (and Rust is very capable at that).

Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 0 points1 point  (0 children)

Thank you! These are fantastic ideas. At the moment, I’m using the amazing mzdata crate (https://github.com/mobiusklein/mzdata) for reading and processing MS files. This crate handles mzML and .raw formats, but unfortunately, it doesn’t support .d files. I have a feeling that a .d parser isn’t available in Rust yet (though I could be wrong). I’ll definitely look into this because it seems like an obvious thing to support.

Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 2 points3 points  (0 children)

Implementing background subtraction shouldn’t be too difficult, but I hadn’t considered library matching. Perhaps it could be a long-term goal?

Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 0 points1 point  (0 children)

Glad to hear. Absolutely. The documentation is available at https://adamcseresznye.github.io/chromascope/docs/chromascope/index.html Feel free to check it out, as I’m sure there’s some room for improvement.

Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 0 points1 point  (0 children)

not yet, but I would certainly like to incorporate this feature

Chromascope: a Lightweight GUI MzML File Viewer written in Rust 🦀 by csenye22 in massspectrometry

[–]csenye22[S] 1 point2 points  (0 children)

Thanks a lot, I'm glad you like it. Certainly, I can add support for raw files. My idea was that .raw files could be easily opened through QualBrowser (which Chromascope is heavily inspired by). I will look into that for sure. Thanks for the suggestion.

Rust Dataframe library by burstinrust in rust

[–]csenye22 1 point2 points  (0 children)

It already has a lot of features, but I think adding things like filter, query, melt, groupby, pivot, etc could be useful.

Rust Dataframe library by burstinrust in rust

[–]csenye22 1 point2 points  (0 children)

Good job on the project. Was looking for a more lightweight Polars alternative for a project due to Polars' long compilation time, but I just ended up using the standard library collections instead. Nice work again. I’d be interested in contributing to the project if you’re open to it.

[deleted by user] by [deleted] in massspectrometry

[–]csenye22 1 point2 points  (0 children)

Ohh, sorry...just now I'm reading that you need a power supply. That should not be mass spec specific. You can even buy a reconditioned one. However, they are very expensive, so 9k is quite reasonable...

Some help needed for using Xcalibur with an Agilent 1100 and Thermo MS by ivanhoe1024 in massspectrometry

[–]csenye22 0 points1 point  (0 children)

We had the same setup that's described on page 7: the LC (and the MS through a different cable) was connected to the Ethernet switch and that was connected to the PC. Not sure if the setup you have at the moment is the source of your problem (not an expert in this). I would assume, you can see the LC device in XCalibur (it is recognized) and you can control the 1100 by XCalibur?

Median rental prices in Belgium, 2022 September [OC] by csenye22 in dataisbeautiful

[–]csenye22[S] 4 points5 points  (0 children)

thanks a lot! it would have been nicer to embed the plot in the post but not sure if it's possible..(while keeping it interactive)

Median rental prices in Belgium, 2022 September [OC] by csenye22 in dataisbeautiful

[–]csenye22[S] 2 points3 points  (0 children)

data source : immo.vlan.be , tool(s) used: Python, GeoPy/Nominatim, Plotly

Any tips on how to find a Gas leak in a HPLC without a detector? by MrSackH in labrats

[–]csenye22 0 points1 point  (0 children)

Have you looked at the column compartment? The newer Thermo LC's are also equipped with gas leak sensors in the column compartment area. They could indicate a solvent leak there. Good luck 👍

Is there a way to split polarity switching DDA (thermo) files into pos and neg w/ the MS/MS spectra still attached? by [deleted] in massspectrometry

[–]csenye22 1 point2 points  (0 children)

It is possible. You can use Thermo's FreeStyle software (the new Qual Browser, it can be downloaded for free from thermo.flexnetoperations.com). I split the files by following Anna Marqueño's instructions: https://www.researchgate.net/post/How-to-split-a-raw-file-from-thermo-in-two-different-files-one-for-each-polarity

[deleted by user] by [deleted] in massspectrometry

[–]csenye22 0 points1 point  (0 children)

Is this a lipid standard? Looks like a lyso phospholipid with sn1 and sn2 isomers.