Skip to content

Collaboration Guide

First, familiarize yourself with Git usage. You can refer to:

https://liaoxuefeng.com/books/git/introduction/index.html

https://www.w3schools.com/git/default.asp?remote=github

Choose one of the above resources. At minimum, you should cover the following topics:

image-20251022004123599

Python:

Python Quick Tutorial

https://www.bilibili.com/video/BV1Jgf6YvE8e/

You can choose any course, but it should at least cover the following:

Python Fundamentals Requirements

1. Python Basics

  • Basic Data Structures:
    • list: indexing, slicing, append, extend, remove
    • dict: key-value pairs, get, keys, values, items
    • tuple: immutable sequences
    • set: deduplication, intersection, union, difference
  • String Operations: formatting (f-string), split, join, common methods

2. Functions and Modules

  • Function Definition: def, parameters (positional, default, *args, **kwargs)
  • Return Values: return statement
  • Module Import:
    • import module
  • Package Management: pip install, requirements.txt

3. Object-Oriented Programming (Focus)

  • Class Basics:
    • Defining classes with class keyword
    • __init__ constructor method
    • Instance attributes vs class attributes
    • Instance methods, class methods (@classmethod), static methods (@staticmethod)
  • Inheritance and Polymorphism:
    • Single inheritance, multiple inheritance
    • Using super() to call parent methods
    • Method overriding
  • Encapsulation:
    • Private attributes (_variable and __variable)
    • @property decorator for getters/setters
  • Magic Methods:
    • __str__, __repr__: string representation of objects
    • __len__, __getitem__: support for len() and indexing

4. Advanced Features

  • List Comprehensions: [x for x in range(10) if x % 2 == 0]
  • Lambda Functions: lambda x: x * 2
  • Exception Handling:
    • try-except-finally structure
    • Catching specific exception types
    • Custom exception classes
  • File Operations:
    • open() function and file modes ('r', 'w', 'a')
    • with statement (context manager)
    • Reading/writing text and binary files

Mass Spectrometry Algorithms:

https://pubmed.ncbi.nlm.nih.gov/39221961/

https://slicermassvision.readthedocs.io/en/latest/

Released under the GNU License.