Dec 12, 2024

Public workspaceA Convenient Analytic Method for Gel Quantification Using ImageJ Paired with Python or R.

  • Cassidy Tomlinson1,2,
  • Ashwini Rajasekaran1,2,
  • Ariane Khatiz1,
  • A. James Farmilo2,
  • Pavel Gris2,
  • Marjo Piltonen2,
  • Amanda Matthews2,
  • Abdelaziz Amrani1,
  • Denis Gris1,2
  • 1Université de Sherbrooke;
  • 2deutraMed
Icon indicating open access to content
QR code linking to this content
Protocol CitationCassidy Tomlinson, Ashwini Rajasekaran, Ariane Khatiz, A. James Farmilo, Pavel Gris, Marjo Piltonen, Amanda Matthews, Abdelaziz Amrani, Denis Gris 2024. A Convenient Analytic Method for Gel Quantification Using ImageJ Paired with Python or R.. protocols.io https://dx.doi.org/10.17504/protocols.io.81wgbz4dygpk/v1
License: This is an open access protocol distributed under the terms of the Creative Commons Attribution License,  which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: Working
We use this protocol and it's working
Created: June 27, 2024
Last Modified: December 12, 2024
Protocol Integer ID: 102533
Keywords: Gel quantification, ImageJ, Python, R, Analytic method
Funders Acknowledgements:
AA Engineering Research Council of Canada
Grant ID: RGPIN-2015-03671
MITACS Accelerate
Grant ID: RGPIN-2019-05285
Abstract
This protocol details the convenient analytic method for gel quantification using ImageJ paired with Python or R.
Materials
In-Vivo transcription - mixture:
AB
linearized DNA1 µg
each nucleotide (A, G, C, U-TP)2 µL
reaction buffer2 µL
polymerase2 µL
RNase-free H2O8 µL
QIAGEN RNeasy Kit (#74136) and TRIzol® (#15596018)ReagentRNeasy Plus Mini Kit (250)QiagenCatalog #74136 ReagentTRIzol™ ReagentThermo FisherCatalog #15596018

Bacterial Transformation
Bacterial Transformation
2d 1h 15m
2d 1h 15m
Competent E. coli cells in glycerol were thawed from Temperature-80 °C .
Temperature
In a falcon tube Amount20 µL Amount50 µL of cells were incubated with Amount10 ng Amount100 ng of DNA encoding for human NLRx1 variant 4 then were transformed via heat shock in a water bath at Temperature42 °C .
Incubation
Temperature
The transformed cells were plated and incubated at Temperature37 °C for Duration24:00:00 in LB agar containing ampicillin.
1d
Incubation
Temperature
3-4 colonies were inoculated into liquid LB media with ampicillin and were left shaking at Temperature37 °C for Duration24:00:00 .
1d
Temperature
The cells were separated from the LB media with Centrifigation6000 rpm, 4°C, 00:15:00 .
15m
Centrifigation
Temperature
Following the GenElute Maxiprep protocol, the DNA was isolated from the cells. The concentration was read in a BioDrop analyser.
The Amount10 µg of DNA was linearized using Amount2 µL of restriction enzyme, Amount10 µL of cutSmart buffer and filled up to Amount100 µL of H2O. This was incubated at Temperature37 °C for Duration01:00:00 . The DNA was then purified using the QIA Prepkit and the yield was again read in the BioDrop analyser.
1h
Incubation
Temperature
In vitro transcription
In vitro transcription
2h
2h
A mixture of Amount1 µg of linearized DNA, Amount2 µL of each nucleotide (A, G, C, U-TP), Amount2 µL of reaction buffer, Amount2 µL of polymerase, and Amount8 µL of RNase-free H2O was, vortexed and incubated for Duration02:00:00 at Temperature37 °C .

AB
linearized DNA1 µg
each nucleotide (A, G, C, U-TP)2 µL
reaction buffer2 µL
polymerase2 µL
RNase-free H2O8 µL
2h
Incubation
Mix
Temperature
RNA Extraction
RNA Extraction
Total RNA was extracted from U118mg and U87mg cell lines obtained from ATCC by following the standard protocols for QIAGEN RNeasy Kit (#74136) and TRIzol® (#15596018)

The concentrations were measured in a BioDrop spectrophotometer.
Degradation
Degradation
The total RNA samples were incubated at Temperature37 °C or Temperature45 °C for the allotted time points, 0 days, 2 days, 4 days, 7 days, and 10 days or 0 hours, 3 hours, 6 hours, 12 hours, 24 hours, 36 hours, and 48 hours.
Incubation
Temperature
The IVT mRNA samples were incubated at Temperature37 °C for the allotted time points, 0 days, 2 days, 4 days, 7 days, and 10 days.
Incubation
Temperature
Agarose Gel electrophoresis
Agarose Gel electrophoresis
45m
45m
Gel electrophoresis was performed using 2% agarose in a buffer containing 1xTris, acetate, and ethylenediaminetetraacetic acid (EDTA) (TAE) and Amount5 µL EtBr.
The gel electrophoresis was conducted at 96V for ~Duration00:45:00 .
45m
Digital images were acquired with BioRad GelDoc.
Analysis with Image J:
Analysis with Image J:
To open an image File>open.
Turn the image black and white Image> type>16 bit (dark background and light bands).
To acquire the entire lane signal, the gel needs to be rotated 90 degrees; image>transform>rotate 90° right.
Select the rectangle tool and draw a box around the first lane (typically the molecular weight ladder) so that the box includes the entire lane length, as shown in Fig 10.
To show the graph, click Analyze>Plot profile.
To get data click Live>List. Only click Live for the first lane.
Copy the whole list into an Excel sheet and close the list.
Hover the cursor over the box outline until the pointer appears and click. Use arrow keys to move the box to the next lane, do not use the left or right arrows.
Repeat steps 21-23. Maintain the box and measure a blank lane; if all lanes are used, the box can be narrowed to measure 3-5 spaces between lanes (box width will need to be adjusted). Alternatively, the background can be computed using top and the bottom grey values of the gel.
Ensure that the Excel sheet has columns in the following order: distance, background (if measuring directly), nucleic acid ladder, control, and each time point. then add any experimental conditions such as solvent, transcript differences, temperature, etc. Include the gel name/number and date in the file name.
Codes
Codes
The script for Python was developed in the environment Spyder.
The script for R was written in RStudio.
The corresponding script to the desired programming software must be used.
The data file pathway must be changed to match the desired Excel file.
The indicated lines of code must be modified to match the user’s own data sets (number of columns/rows, column names, etc).