Skip to content

Simple notebok for converting QuimP segmented cell contours to a format that can be imported into Amoepy for downstream analysis of cell morphology over time.

License

Notifications You must be signed in to change notification settings

GloBIAS-BioimageAnalysts/QuimP_to_AmoePy_bridge

Repository files navigation

QuimP_to_AmoePy_bridge

Simple notebok for converting QuimP segmented cell contours to a format that can be imported into Amoepy for downstream analysis of cell morphology over time.

TODO

  • Write instructions to get the sname.csv file from QuimP
  • Write instructions to run notebook
  • Make notebook available on Colab (?)
  • Set up COLAb so that notebook can be run and edited but not save changes (?)
  • Add a description of the different snake data types
  • Add example snake.csv file for testing
  • Add option to run on entire directory and save each file individually (?)

How to use this tool?

You first need to convert the .QCONF file containing all the data from the analysis in QuimP into a _snake.csv file:

  1. Open the QuimP BAR in Fiji
  2. Select the Format Converter plugin

Select the 'Format Converter' plugin from the QuimP Bar.

  1. Load the .QCONF file containing the contour analysis using the Load QCONF button.

  2. Select snakes and make sure to unselect File per frame, so that it reads File per cell.

Extract the contour snake data for all timeframes in one file.

  1. You will end up with a _snake.csv file for each cell detected in your analysis.

File formats

The _snake.csv is a TAB-sepparated file with the following structure:

Structure of the _snake.csv file. Node_x and node_y are the coordinates for each virtual marker (node) in the contour. n is the number of nodes in each frame (note that the number of nodes can vary between frames!) and t is the total number of frames

In order to be able to be imported into AmoePy, the snake contour coordinates need to be converted into a .txt file with the following format:

Structure of node coordinate data that can be read by AmoePy

Running the notebook

The conversion notebook is also available in Google Colab

About

Simple notebok for converting QuimP segmented cell contours to a format that can be imported into Amoepy for downstream analysis of cell morphology over time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published