Skip to content

Latest commit

 

History

History
125 lines (68 loc) · 6.69 KB

README.md

File metadata and controls

125 lines (68 loc) · 6.69 KB

MitoGraph is a fully automated image processing method and software dedicated to calculating the three-dimensional morphology of mitochondria in live cells. MitoGraph is currently optimized and validated only for quantifying the volume and topology of tubular mitochondrial networks in budding yeast [1,2]. However, MitoGraph can also be applied to mitochondria in other cell types and possibly other intracellular (or tissue) structures, with proper validation. MitoGraph is continuously being updated. Please contact us if you have questions that go beyond those discussed in [1,2] or any request that would make MitoGraph a better tool for your research.

Matheus Viana - [email protected] - 06.25.2024

✓ MitoGraph is now compatible to Windows 10

✓ Extra flag -export_image_binary to export the segmented version of the input

✓ Adaptive threshold

✓ Support binary and VTK input

✓ Support 2D image data

✓ Export skeleton coordinates as text file

✓ Save skeleton with information of mitochondrial tubules width, pixel intensity, edge length and nodes position

✓ Extra flag that lets you use R to perform basic analysis of MitoGraph output


How to Install

Please follow the steps bellow to install MitoGraph.

  1. Download the latest version of MitoGraph available for Mac OSX 10.10 or later

  2. Create a folder in your Desktop and name it MitoGraph

  3. Move the downloaded file to the folder MitoGraph in your and unzip it


Testing Data, ImageJ Macros and Other Tools

Before running MitoGraph on your own dataset, you may want to check the tools we made available for preparing your data and our test datasets.

  • MitoGraph Tools: in this repository you will find an example dataset to test MitoGraph on. There is also two ImageJ scripts that help you to prepare your data to make them similar to our test dataset.

How to Run MitoGraph

Download the test dataset mentioned in the previous section and unzip the downloaded file in your Desktop. Type the following command in the terminal of your Mac OS (spotlight + terminal)

cd ~/Desktop/MitoGraph

./MitoGraph -xy 0.056 -z 0.2 -path ~/Desktop/MitoGraphTools-1.0

The flag -xy specifies the pixel size in microns and the flag -z specifies the z-spacing also in microns of your images. Finally, the flag -path indicates the folder that contains the images you want to analyze.

Optional Flags

-scales a b c where a, b and c are numeric values specifying the initial, final and total number of scales which should be used by MitoGraph [1]. For example: -scales 1.5 2.0 6. Default values are a=1.0, b=1.5 and c=6.

-threshold a where a is numeric value in the range [0,1] for the post-divergence threshold. For example: -threshold 0.1. Default value is a=0.1667.

-adaptive a where a is a numeric integer value specifying that the input image should be split into a x a blocks before the segmentation. This is useful for images with high variablity of pixel intensity.

-binary: indicates that the input is a binary image.

-vtk: indicates that the input data is of VTK Imagedata type instead of TIFF.

-labels_off: turns off the labels of nodes in the output file filename_nodes.vtk.

-analyze: uses R to do a per connected component analysis of MitoGraph output. This flag requires R and its package igraph to be installed in your system.


MitoGraph Outputs

The output of MitoGraph will be saved in the directory specified with -path.

Single files:

  • mitograph.config - Stores the parameters used to run MitoGraph and the date and time when the analysis was complete.

Text files that can be open in any Text Editor (one file per sample):

  • filename.gnet - Connection list of type node_i node_j of the graph that represents the mitochondria. First line of this file gives the total number of nodes.
  • filename.coo - Coordinates xyz of nodes in the graph.
  • filename.mitograph - Mitochondrial attributes: volume from voxels, average width (µm), std width (µm), total length (µm) and volume from length (µm3). This file also shows per component statistics when the flag -analyze is used.
  • filename.txt - Coordinates of all the points along the mitochondrial skeleton as well as the local width (µm) and original pixel intensity.
  • filename.cc - Connected component which each node belong to and the component volume (µm3). Only when the flag -analyze is used.

Image files (one file per sample):

  • filename.png - Max projection of mitochondria after MitoGraph binarization. Should be used for fast assessment of MitoGraph segmentation result.

VTK files that can be open using Paraview [3] (one file per sample):

  • filename_Nodes.vtk - Nodes of the graph that represents the mitochondria and their labels.
  • filename_skeleton.vtk - Mitochondrial skeleton. This file contains information about mitochondrial tubule width, pixel intensity, edge length and nodes position that can be viewd in Paraview by setting the coloring mode.
  • filename_mitosurface.vtk - Mitochondrial surface.

Contributions to MitoGraph

  • With help of Hill Lab, we also provide an example dataset of mitochondria in mammalian cells and R scripts that will help you to analyze the data generated by MitoGraph. Please, check this out in MitoGraph-Contrib-RScripts.

References

[1] - Matheus P Viana, Swee Lim, Susanne M Rafelski, Quantifying Mitochondrial Content in Living Cells (2015), Biophysical Methods in Cell Biology, (125) - 77-93 (http://www.sciencedirect.com/science/article/pii/S0091679X14000041)

[2] - Viana, M.P., Brown, A.I., Mueller, I.A., Goul, C., Koslover, E.F. and Rafelski, S.M., 2020. Mitochondrial Fission and Fusion Dynamics Generate Efficient, Robust, and Evenly Distributed Network Topologies in Budding Yeast Cells. Cell Systems (https://www.cell.com/cell-systems/fulltext/S2405-4712(20)30035-1)

[3] - https://www.paraview.org/