Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelmarty/MassSpecCodingClub
A community dedicated to education of computer coding applied to mass spectrometry applications.
https://github.com/michaelmarty/MassSpecCodingClub
Last synced: 2 months ago
JSON representation
A community dedicated to education of computer coding applied to mass spectrometry applications.
- Host: GitHub
- URL: https://github.com/michaelmarty/MassSpecCodingClub
- Owner: michaelmarty
- License: bsd-3-clause
- Created: 2023-03-07T17:27:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T22:02:39.000Z (about 1 year ago)
- Last Synced: 2024-07-25T06:46:55.290Z (6 months ago)
- Language: Python
- Size: 502 KB
- Stars: 47
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-proteomics - Mass Spec Coding Club
README
# Mass Spec Coding Club
The Mass Spec Coding Club (MSCC) is a community dedicated to education of computer coding applied to mass spectrometry applications. Our goal is to make coding accessible to mass spectrometry researchers and provide free resources and open-source examples.As the community develops, we will continue to post more content, and we welcome contributions from anyone.
# Discord Server
Want to chat with community members and join meetings, join us on the [Mass Spec Coding Club Discord Server](https://discord.gg/24GupxGn3d). It's easy to set up, and you can run it from a browser if you'd like. We will pick a time soon and start hosting meetings/office hours there.
In the meantime, feel free to post questions to the text channels there, and people can answer.
# Learning Modules
## Module 0: Setting Up Python and Plotting A Spectrum
This series of lessons will cover how to set up Python from scratch and write a simple script to plot a mass spectrum. Skills and learning outcomes are outlined below each video
* [Lesson 0.0: Setting up Python from Scratch](https://youtu.be/BLaoo1S3ImU)
* How to set up and run Python
* Setting variables
* Printing to the terminal
* [Lesson 0.1: Loading Data Into Python](https://youtu.be/vpbdUQp8m0U)
* Importing libraries
* Reading from text files into NumPy arrays
* Intro to array slicing
* [Lesson 0.2: Plotting a Spectrum](https://youtu.be/88m4a9CEeBY)
* Plotting a spectrum with MatPlotLib
* Normalizing the y-axis
* [Lesson 0.3: Too Fast, Go Back - Review and Background from Module 0](https://youtu.be/V6alRhace2A)
* Fundamentals of how computers work
* Basics of code concepts
* Discussion of variables, functions, and classes
* How to define functionsThe data files, Python code, and notes used in this module are available in the "Module 0" folder.
## Module 1: Calculating Masses
The goal of module 1 is to show how Python can be used to predict masses of various molecules, starting with proteins.
* [Lesson 1.0: Calculating Protein Masses](https://youtu.be/FFR1gg2cA6E)
* Using a Dictionary
* Creating a function
* Looping through protein sequence to calculate the protein mass
* [Lesson 1.1: Improving Our Protein Mass Calculator](https://youtu.be/lxTrA_EPeNg)
* String manipulation
* Passing variables through functions
* If/then statements
* Monoisotopic mass calculation for protein
* [Lesson 1.2: Calculating Masses from Glycans, SMILES, and Formulas](https://youtu.be/XSgA7SODmSg)
* Using Glypy to calculate masses from GlycoCT strings
* Using molmass to calculate masses from formulas
* Using RDKit to calculate masses from SMILES strings
* [Lesson 1.3: Too Fast, Go Back - For Loops, If/Then, and Function Options](https://youtu.be/xg1QxAzznkg)
* Writing For loops
* If/Then statements and Boolean tests
* Passing options to functions
* Homework 1
* For those who want to test their skills and calculate some RNA masses, check out homework1.py in Module 1.Check back for more videos, and reach out if you like these [[email protected]](mailto:[email protected]).
# Ideas for Future Tutorials
Here are some ideas that users have suggested. If you have other suggestions, please enter them in the ["What Projects Would You Like to See?"](https://github.com/michaelmarty/MassSpecCodingClub/discussions/3) discussion. If you would like to volunteer to make a module on one of these topics, please add your name here.
* Plotting multiple spectra with for loops and string parsing (Michael Marty)
* Reading vendor files
* Writing to different output files
* Exploring other Python MS packages
* How to use public databases (Ming?)
* Applications to polymers and oligonucleotides
* Ion mobility
* Using Git and GitHub
* Gasp, R!
* There are a lot of great R resources for MS already, so maybe we could organize and link those here too.# Funding
Funding is provided by the National Science Foundation: CHE-1845230.