C. elegans Lifespan Data Conversion
Description
This python script helps convert a user friendly excel datasheet for lifespan experiments to a Prism compatible format. The script expects an excel file with separate sheets for each strain/condition (see the Template for an example). Within each sheet, the script expects a minimum of 5 columns: TA, TD, TM, TE, and TB for Total Alive, Total Dead, Total Missing, Total Explode, and Total Bagged. Each row of this sheet should be a timepoint (adult age in days). The script will take the data in the 5 columns and convert it into a new excel that is compatible with Prism's survival format. Specifically, it will create a row for every dead, missing, explode, and bagged event for each condition and assign it 0 or 1, with 0 for censored animals and 1 for natural death. This reformatted data can be copy and pasted (or linked) into Prism for convenience.
Files
Lifespan_Prism Conversion.ipynb
Files
(83.2 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:3b585796c2a338502fe11d27d7cb7148
|
9.6 kB | Preview Download |
|
md5:46732a42fa1714553e43ff64894039d0
|
73.6 kB | Download |