Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include charge state array #189

Open
grandrea opened this issue Dec 30, 2024 · 5 comments
Open

include charge state array #189

grandrea opened this issue Dec 30, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@grandrea
Copy link

Hello,

I am trying to parse orbitrap data at the MS1 level to plot charge state distributions. Is there a way to read out charge states from the .raw file and write them to mzML using the default charge state array? I am referring to all peaks, not only precursors.

thank you

@caetera caetera added the enhancement New feature or request label Dec 31, 2024
@caetera
Copy link
Collaborator

caetera commented Dec 31, 2024

Hi @grandrea that will be scheduled for the next release

@grandrea
Copy link
Author

thank you!

@caetera
Copy link
Collaborator

caetera commented Jan 3, 2025

Implemented in 6ee904c

@grandrea
Copy link
Author

grandrea commented Jan 7, 2025

thanks- d you have some steps so that I can compile from source (I see it is not as simple as dotnet restore) or should I just wait for a release?

@caetera
Copy link
Collaborator

caetera commented Jan 7, 2025

Particular details depend on your platform, but in general you should be able to compile it the following steps.

  1. Clone the dotnetcore branch of ThermoRawFileParser repository, for example, git clone https://github.com/compomics/ThermoRawFileParser.git --branch dotnetcore --depth 1 (depth is optional, it just saves you time/space, cloning only the last commit, instead of complete repo).
  2. Make sure, you have .NET 8 SDK and runtime (you will need both) installed. Please, see https://dotnet.microsoft.com/en-us/download/dotnet/8.0 for platform-dependent instructions.
  3. Download Rawfile reading assemblies as NuGet packages from Thermo's Github. You need only Net8 version - https://github.com/thermofisherlsms/RawFileReader/tree/main/Libs/NetCore/Net8 and save them somewhere locally. Unfortunately, we are not allowed to include the packages as part of this repository.
  4. Include the local folder with these packages as one of the sources in Nuget, for example, dotnet nuget add source -n Thermo {path_to_local_source}. You can check configured sources using dotnet nuget list source - you should see nuget.org and your local path in the list.
  5. After that running dotnet build . inside of the cloned repo (last dot means check current folder for projects, otherwise you can also provide the path to an .sln or .csproj file) you should be good. The binary will be in bin/x64/Debug.

I hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants