Skip to content

Codes accompanying the manuscript "Fusome topology and inheritance during insect gametogenesis" by Diegmiller et al.

Notifications You must be signed in to change notification settings

Shvartsman-Lab/MaleReconstruction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MaleReconstruction

Requirements

  1. MATLAB (versions 2019b, 2021a, and 2022a were used in creating codes)
  2. ilastik (versions 1.3.0 and 1.3.2 were used for training)
  3. FIJI (for image pre-processing)
  4. the following MATLAB open-source programs: munkres.m, some version of imagesc3D.m

Getting Started

Clone the repository:

git clone https://github.com/Shvartsman-Lab/MaleReconstruction.git

Running Codes

uiopen is a slightly edited version of the MATLAB file that is needed for direct reading of the .h5 files output from ilastik.

male_fusome_structure is the main file for reading, reconstructing, assigning proper identity, and measuring the volumes of all fusome pieces. This script runs split_fusome, allowing for the split channels containing information about fusome and ring canal positional information to be used to split the fusome into its component pieces. The script then measures the volumes of each piece for further analysis. The final portion of this script makes a 3D reconstruction of the input data, and creates an adjacency matrix for use in further graph generation for identifying the structure of the fusome within the male cyst sample.

split_fusome uses the input data of the fusome and ring system to recursively split the fusome into its component pieces. In short, the function cuts the fusome piece at each loop at the location of a chosen ring. These pieces are then reformed into 2 separate parts, the ring is removed from the selection pool, and then the function repeats itself on one of the two split fusome portions. This repeats until there are no rings remaining for a given piece of fusome. From here, the function jumps to another branch of the recursive loop until no rings remain. The output of this function for n rings are n+1 objects designating the n+1 fusome pieces.

About

Codes accompanying the manuscript "Fusome topology and inheritance during insect gametogenesis" by Diegmiller et al.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages