This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Small utility to extract the bundling score from actomyosin network images.
- If you don’t already have Anaconda, install it from https://www.anaconda.com/download
- Open a terminal (Linux/Mac), or anaconda-prompt (Windows). Make sure you are in a conda environment: (base) should appear at the left of the input line.
- (Optional) Create a specific virtual environment. This is useful to avoid version conflicts.
conda create --name bundling_score_env
conda activate bundling_score_env
At the left of the input line, you should now have (bundling_score_env). You should run the activate command each time you open a new terminal, in order for the module to be available.
- Make sure pip is available.
conda install -c anaconda git
conda install pip
- Install the module
pip install bundling_score
In the terminal, run
pip install bundling_score
- In the terminal, run
bundling_score
First run might take a bit of time before printing instructions because of security analysis by the OS.
- The program will ask for the location of files that should be analyzed. Write the folder path and press Enter. Tip: You can copy the path to a folder from the file explorer. On Windows, click at the right of the folder name, at the very top of the explorer. On Mac, right click on the name of the folder, at the very bottom of Finder.
- If you want to change the window size (see 3.3), write yes or the desired value (in px) and press Enter.
- Files are processed, and results are stored in a csv file (bundling_scores_window_20px.csv) in the same folder as the images. You can open it in your favorite spreadsheet (Excel, LibreOffice Calc).
- Multiply values by the square of the resolution to get the bundling score in μm2.
Tutorial notebooks are available on the github repository.
Tif files are stored with git-lfs. After cloning the repository, install
lfs use git lfs fetch
to download them.
- Use the plugin in python scripts. Have a look at the 1. Get started notebook.
- Tweak correlation window. The default window size has been chosen for images of size 300 by 300px, with a certain level of noise. If your images are different, you might consider tweaking it. Have a look at the 2. Tweak correlation window size notebook.