All Projects → smith-chem-wisc → mzLib

smith-chem-wisc / mzLib

Licence: LGPL-3.0 license
Library for mass spectrometry projects

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to mzLib

RawTools
RawTools is an open-source and freely available package designed to perform scan data parsing and quantification, and quality control analysis of Thermo Orbitrap raw mass spectrometer files from data-dependent acquisition experiments.
Stars: ✭ 35 (+84.21%)
Mutual labels:  proteomics-data, mass-spectrometry-data
isotope
Haskell library containing isotopic masses and relative abundances for elements from Hydrogen to Bismuth and Thorium and Uranium (excluding Technetium and promethium), i.e., all elements with naturally-occurring isotopes.
Stars: ✭ 17 (-10.53%)
Mutual labels:  chemistry, mass-spectrometry
mendeleev
A python package for accessing various properties of elements, ions and isotopes in the periodic table of elements.
Stars: ✭ 107 (+463.16%)
Mutual labels:  chemistry, isotopes
RforProteomics
Using R and Bioconductor packages for the analysis and comprehension of proteomics data.
Stars: ✭ 52 (+173.68%)
Mutual labels:  mass-spectrometry, proteomics-data
QFeatures
Quantitative features for mass spectrometry data
Stars: ✭ 12 (-36.84%)
Mutual labels:  mass-spectrometry
DLBFoam-1.0
DLBFoam: An open-source dynamic load balancing model for fast reacting flow simulations in OpenFOAM. https://doi.org/10.1016/j.cpc.2021.108073
Stars: ✭ 29 (+52.63%)
Mutual labels:  chemistry
lightdock
Protein-protein, protein-peptide and protein-DNA docking framework based on the GSO algorithm
Stars: ✭ 110 (+478.95%)
Mutual labels:  chemistry
KinBot
Automated reaction pathway search for gas-phase molecules
Stars: ✭ 20 (+5.26%)
Mutual labels:  chemistry
tools-metabolomics
Galaxy tools for metabolomics maintained by Workflow4Metabolomics
Stars: ✭ 13 (-31.58%)
Mutual labels:  mass-spectrometry
sirius
SIRIUS is a software for discovering a landscape of de-novo identification of metabolites using tandem mass spectrometry. This repository contains the code of the SIRIUS Software (GUI and CLI)
Stars: ✭ 32 (+68.42%)
Mutual labels:  mass-spectrometry
molassembler
Chemoinformatics toolkit with support for inorganic molecules
Stars: ✭ 18 (-5.26%)
Mutual labels:  chemistry
pFind3
No description or website provided.
Stars: ✭ 20 (+5.26%)
Mutual labels:  mass-spectrometry
SciCompforChemists
Scientific Computing for Chemists text for teaching basic computing skills to chemistry students using Python, Jupyter notebooks, and the SciPy stack. This text makes use of a variety of packages including NumPy, SciPy, matplotlib, pandas, seaborn, NMRglue, SymPy, scikit-image, and scikit-learn.
Stars: ✭ 65 (+242.11%)
Mutual labels:  chemistry
chemistry-opencmis
Mirror of Apache Chemistry OpenCMIS
Stars: ✭ 47 (+147.37%)
Mutual labels:  chemistry
qp2
Quantum Package : a programming environment for wave function methods
Stars: ✭ 37 (+94.74%)
Mutual labels:  chemistry
graph-nvp
GraphNVP: An Invertible Flow Model for Generating Molecular Graphs
Stars: ✭ 69 (+263.16%)
Mutual labels:  chemistry
html-integrations
The official JavaScript library for MathType, the leading formula editor and equation writer for the web by Wiris
Stars: ✭ 36 (+89.47%)
Mutual labels:  chemistry
GNPS Workflows
Public Workflows at GNPS
Stars: ✭ 31 (+63.16%)
Mutual labels:  mass-spectrometry
bioicons
A library of free open source icons for science illustrations in biology and chemistry
Stars: ✭ 665 (+3400%)
Mutual labels:  chemistry
neoflow
NeoFlow: a proteogenomics pipeline for neoantigen discovery
Stars: ✭ 13 (-31.58%)
Mutual labels:  proteogenomics

mzLib

A library for mass spectrometry projects.

GitHub Action Builds codecov Coverity Scan Build Status NuGet Badge

image

NuGet packages are released here: https://www.nuget.org/packages/mzLib/

GitHub release tags are recoreded here: https://github.com/smith-chem-wisc/mzLib/releases

Usage

Reading Spectra Files

To read Thermo or mzML files, use

ThermoStaticData staticThermo = ThermoStaticData.LoadAllStaticData(@"spectra.raw");
ThermoDynamicData dynamicThermo = ThermoDynamicData.InitiateDynamicConnection(@"spectra.raw")
Mzml mzmlFile = Mzml.LoadAllStaticData(@"spectra.mzML");

Both filetypes implement the same interface that has all of the necessary functionality to interact with spectra files:

IMsDataFile<IMsDataScan<IMzSpectrum<IMzPeak>>> thermoFile = new ThermoRawFile(@"spectra.RAW");
IMsDataFile<IMsDataScan<IMzSpectrum<IMzPeak>>> mzmlFile = new Mzml(@"spectra.mzML");

Loading Databases From Online Sources

Loaders.LoadElements("elements.dat"); // void, loads elements into static PeriodicTable class 
IEnumerable<ModificationWithLocation> unimodMods = Loaders.LoadUnimod("unimod.dat");
IEnumerable<ModificationWithLocation> uniprotMods = Loaders.LoadUniprot("uniprot.dat");

Reading Protein Database Files

To read .fasta, .xml, or .xml.gz files, use

List<Protein> proteins = ProteinDbLoader.LoadProteinDb("proteins.xml", generateDecoys, allKnownModifications, IsContaminant, out unknownModifications);

The parameters are:

  • bool generateDecoys True if wish to generate decoy proteins.
  • IDictionary<string, IList<Modification>> allKnownModifications Dictionary of modifications with keys that correspond to modifications in the xml file.
  • bool IsContaminant True if it is a contaminant database
  • out Dictionary<string, Modification> unknownModifications An auxiliary output of modifications that were in the xml file but are not known.

Reading Modification Files

To load modifications from ptmlist formatted files use

IEnumerable<ModificationWithLocation> ptms = PtmListLoader.ReadMods("ptms.txt")

License

Code heavily borrowed from https://github.com/dbaileychess/CSMSL and distrubuted under the appropriate license, LGPL.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].