include charge state array
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
Hi @grandrea that will be scheduled for the next release
thank you!
Implemented in 6ee904c
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?
Particular details depend on your platform, but in general you should be able to compile it the following steps.
- Clone the
dotnetcorebranch of ThermoRawFileParser repository, for example,git clone https://github.com/compomics/ThermoRawFileParser.git --branch dotnetcore --depth 1(depthis optional, it just saves you time/space, cloning only the last commit, instead of complete repo). - 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.
- 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.
- 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 usingdotnet nuget list source- you should see nuget.org and your local path in the list. - 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 inbin/x64/Debug.
I hope it helps.