Published July 18, 2023 | Version v1

Python scripts for processing single molecule photobleaching data

  • 1. Oregon Health and Science University
  • 2. UMass Chan Medical School

Description

These scripts are intended for processing single molecule photobleaching movies that have been acquired on a Leica DMi8 TIRF microscope. To use the scripts:

1. Copy both the BleachProcess.py and SessionState.py scripts into the folder that contains the photobleaching movies.

2. Install all required dependencies that are listed at the top of the BleachProcess script.

3. Open a terminal, navigate to the folder with movies and scripts, and start Streamlit with the command: streamlit run BleachProcess.py. An interactive window will open in your default internet browser.

4. Select the input file, series, and channel on the left. 

5. To change the number of spots picked, change the 'H-height' and 'Exclude based on final H-height' parameters. View the image and spots by clicking on the "show image" button below the photobleaching trace.

6. To change the extraction radius of the spots that are picked, change 'Extraction radius' parameter. A larger extraction radius will result in a smoother trace.

7. When you are satisfied the the number of spots being picked, manually score each photobleaching trace based on the number of observed photobleaching steps. 

8. Select the 'skip', '1 step', '2 step', etc. buttons at the top of the screen based on the number of photobleaching steps in the displayed trace. A new trace will appear when the button is selected and the number of each selection will be tallied above the trace window.

9. Selecting a new movie or refreshing the page will clear the tally and peak picking parameters. 

10. For each trace, the X,Y coordinates are printed into the terminal window. This feature allows you to manually plot the trace in a graphing program of your choice

Files

Files (11.9 kB)

Name Size Download all
md5:5dbebf9b082c5612045f11205b64542c
8.7 kB Download
md5:3d752db08bf23a9f0cbe2e561b265289
3.2 kB Download