<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/archiving/1.2/JATS-archivearticle1.dtd">
<article article-type="brief-report" xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>microPublication Biology</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2578-9430</issn>
      <publisher>
        <publisher-name>Caltech Library</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.17912/micropub.biology.001320</article-id>
      <article-id pub-id-type="accession" assigning-authority="wormbase">WBPaper00067692</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>materials and reagents</subject>
        </subj-group>
        <subj-group subj-group-type="subject">
          <subject>methods</subject>
        </subj-group>
        <subj-group subj-group-type="species">
          <subject>c. elegans</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>
          Quick Oil Red O, Paint3D and Biopython as an economical tool to measure total lipid levels in 
          <italic>Caenorhabditis elegans</italic>
        </article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>Wang</surname>
            <given-names>Wenqing</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/onceptualization">Conceptualization</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Software" vocab-term-identifier="https://credit.niso.org/contributor-roles/software">Software</role>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Wong</surname>
            <given-names>Elizabeth R</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/onceptualization">Conceptualization</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Cato</surname>
            <given-names>Michael L</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Software" vocab-term-identifier="https://credit.niso.org/contributor-roles/software">Software</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing - original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft">Writing - original draft</role>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Daly</surname>
            <given-names>Patrick C</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing - original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft">Writing - original draft</role>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Doody</surname>
            <given-names>Chandler G</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing - original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft">Writing - original draft</role>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Gillespie</surname>
            <given-names>Townshend</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing - original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft">Writing - original draft</role>
          <xref ref-type="aff" rid="aff5">5</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Ksor</surname>
            <given-names>Caroline N</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing - original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft">Writing - original draft</role>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Zainab</surname>
            <given-names>Arooj</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Visualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/visualization">Visualization</role>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Zainab</surname>
            <given-names>Zunaira</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Visualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/visualization">Visualization</role>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Crook</surname>
            <given-names>Matt</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/onceptualization">Conceptualization</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing - original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft">Writing - original draft</role>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="corresp" rid="cor1">§</xref>
        </contrib>
        <aff id="aff1">
          <label>1</label>
          Stanford University, Stanford, California, United States
        </aff>
        <aff id="aff2">
          <label>2</label>
          Whitman College, Walla Walla, Washington, United States
        </aff>
        <aff id="aff3">
          <label>3</label>
          Wofford College, Spartanburg, South Carolina, United States
        </aff>
        <aff id="aff4">
          <label>4</label>
          Emory and Henry College, Emory, Virginia, United States
        </aff>
        <aff id="aff5">
          <label>5</label>
          Furman University, Greenville, South Carolina, United States
        </aff>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <anonymous/>
        </contrib>
      </contrib-group>
      <author-notes>
        <corresp id="cor1">
          <label>§</label>
          Correspondence to: Matt Crook (
          <email>crookm@wofford.edu</email>
          )
        </corresp>
        <fn fn-type="coi-statement">
          <p>The authors declare that there are no conflicts of interest present.</p>
        </fn>
      </author-notes>
      <pub-date date-type="pub" publication-format="electronic">
        <day>14</day>
        <month>1</month>
        <year>2025</year>
      </pub-date>
      <pub-date date-type="collection" publication-format="electronic">
        <year>2025</year>
      </pub-date>
      <volume>2025</volume>
      <elocation-id>10.17912/micropub.biology.001320</elocation-id>
      <history>
        <date date-type="received">
          <day>9</day>
          <month>8</month>
          <year>2024</year>
        </date>
        <date date-type="rev-recd">
          <day>17</day>
          <month>10</month>
          <year>2024</year>
        </date>
        <date date-type="accepted">
          <day>8</day>
          <month>1</month>
          <year>2025</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2025 by the authors</copyright-statement>
        <copyright-year>2025</copyright-year>
        <license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
          <license-p>This is an open-access article 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.</license-p>
        </license>
      </permissions>
      <abstract>
        <p>
          Quick Oil Red O staining is a well established method to assay total lipid levels in 
          <italic>Caenorhabditis elegans</italic>
          , but the software to clean up and analyse the images is either laborious, expensive or both. We have developed a process that uses an existing protocol to stain the animals, followed by Magic Select in Paint3D to remove background and then a custom script in Biopython to quantify average pixel intensity 
          <italic>per </italic>
          animal. The software is free, accessible and relatively easy to use for undergraduate researchers.
        </p>
      </abstract>
      <funding-group>
        <award-group>
          <funding-source>
            <institution-wrap>
              <institution>NIH Common Fund (United States)</institution>
              <institution-id>https://ror.org/001d55x84</institution-id>
            </institution-wrap>
          </funding-source>
          <award-id>R01GM086786</award-id>
          <principal-award-recipient>Dr. Wendy Hanna-Rose</principal-award-recipient>
        </award-group>
      </funding-group>
    </article-meta>
  </front>
  <body>
    <fig position="anchor" id="f1">
      <label>Figure 1. qORO lipid staining and image analysis workflow</label>
      <caption>
        <p>
          A) Representative colour images of (i) wild-type N2 and (ii) 
          <italic>let-23(sa62)gf </italic>
          L4s. B) Background removal: i) original black and white brightfield micrograph, ii) selection of animal using Magic Select in Paint 3D and iii) final micrograph without background. C) part of the worm.py script we used to analyse our processed images. D) Mean pixel intensity (arbitrary units), representing total imaged lipid levels, was significantly lower in 
          <italic>let-23(sa62)gf</italic>
           animals when compared with wild-type N2 animals using Student's T-test. Error bars represent +/- 1 S.D., asterixes represent p=0.0003.
        </p>
      </caption>
      <graphic xlink:href="25789430-2025-micropub.biology.001320"/>
    </fig>
    <sec>
      <title>Description</title>
      <p>
        Measuring whole animal lipid levels is a useful tool to study the effect of internal and external factors on metabolism. 
        <italic>Caenorhabditis elegans</italic>
         is an excellent organism for whole animal lipid staining as it is small, transparent and easy to stain for total lipids. Nile Red and quick Oil Red O (qORO) are the main methods for lipid staining in 
        <italic>C. elegans</italic>
         (Stuhr et al 22). We used qORO (Wahlby et al 14) as it is simple, robust and easy for undergraduate researchers to learn. In addition to staining and imaging, we needed a method to process and analyse the images that was free, reliable and accessible. We found that the Magic Select function in Windows Paint3D enabled a fast and robust removal of image background that did not require manually outlining the animal, one of the drawbacks of using ImageJ or Photoshop. A custom Biopython script converted those processed images into mean pixel brightness values in batches of thirty or more images. Separating the different steps of our approach, especially the image processing and image analysis, also allowed different undergraduates to work on the same project at times that suited their individual schedules. We were then able to use these mean pixel brightness data to compare 
        <italic>let-23(sa62)gf</italic>
         mutant animals to wild-type Bristol N2 animals.
      </p>
      <p>
        Our protocol consists of five steps: worm culture, qORO staining, image capture, background removal and image analysis. Worm culture and low throughput quick Oil Red O staining were carried out as previously described (Wahlby et al. 2014). 
        <xref ref-type="fig" rid="f1">Fig. 1A </xref>
        shows representative true colour images of wild-type Bristol N2 and 
        <italic>let-23(sa62)gf</italic>
         animals.
      </p>
      <p>Image capture</p>
      <p>
        Late L4 and young adult hermaphrodites were picked from the mixed stage stained animals based on size and absence of eggs, as eggs stain very strongly with qORO. The selected animals were mounted on 5% agarose pads in M9 and photographed in black and white under brightfield using an OLYMPUS BX53 microscope at 20x magnification (
        <xref ref-type="fig" rid="f1">Fig. 1B</xref>
        i). Earlier larval stages may need to be photographed at 40x magnification. The condenser and light brightness were set to the same level for each slide. Images were captured using the CellSens software and a 1s exposure. Only images of animals with clear space around them and no underlying bubbles or artifacts were captured. Photomicrographs were saved as both .tif and .jpg files.
      </p>
      <p>Background removal (Windows only)</p>
      <p>
        We used the Magic Select function of Paint 3D to remove the background from our images (
        <xref ref-type="fig" rid="f1">Fig. 1B</xref>
        i). Unfortunately, Paint 3D is Windows only, although Photoshop can be used to achieve a similar effect on a Mac. After opening an image click the 
        <italic>Magic Select</italic>
         icon in the menu bar next to a crop button. Once selected, crop the image around what you want to keep. Click 
        <italic>Next</italic>
         and the program should automatically select what you want to keep (
        <xref ref-type="fig" rid="f1">Fig. 1B</xref>
        ii). However, if background artifacts are included with your animal or parts of it were not selected, you can use the 
        <italic>Add or Remove</italic>
         to adjust the selection until it accurately outlines the entirety of the worm. Click the 
        <italic>Done</italic>
         button and your image will be removed off the background allowing you to move it to the side of the canvas. The background can then be deleted by clicking and dragging over the entire canvas area and press delete. Move your image back onto the canvas and adjust so that the entire image is in the frame and save the image by selecting 
        <italic>Menu &gt; Save as &gt; Image </italic>
        (
        <xref ref-type="fig" rid="f1">Fig. 1B</xref>
        iii).
      </p>
      <p>Image analysis</p>
      <p>
        Detailed instructions and the Biopython script are available at 
        <ext-link ext-link-type="uri" xlink:href="https://github.com/thewanderingprofessor2/Quick-oil-red-O-software-analysis-package">https://github.com/thewanderingprofessor2/Quick-oil-red-O-software-analysis-package</ext-link>
        . Image analysis consists of installing Biopython and modifying the script (
        <xref ref-type="fig" rid="f1">Fig. 1C</xref>
        ), moving the processed images to Biopython Images folder, running the worm.py script in Biopython and then copying the data from 
        <italic>Reports </italic>
        into your spreadsheet program of choice. Installation of Biopython on Mac and Windows computers is quite different and instructions for both are provided. Once the Biopython is installed and the script 
        <italic>worm.py </italic>
        is downloaded, create a folder (we call ours 
        <italic>Worm</italic>
        ) on your computer and inside that folder create two folders, one titled 
        <italic>Images</italic>
         and the other 
        <italic>Reports. </italic>
        Open 
        <italic>worm.py</italic>
         in a text editor and edit the file paths so they match the correct locations on your computer (username that must be changed is bolded and underlined below). For example:
      </p>
      <p>
        path_to_images = "/Users/
        <bold>
          <underline>lcato</underline>
        </bold>
        /Worm/Images/*.jpg"
      </p>
      <p>
        path_to_report = "/Users/
        <bold>
          <underline>lcato</underline>
        </bold>
        /Worm/Reports/report.txt"
      </p>
      <p>
        If you prefer to use TIF files, change the file extension in “path_to_images” to “/*.tif”. Note that some image editing programs save .jpg files as .jpeg, so the file extension in 
        <italic>worm.py</italic>
         needs to exactly match that of your files.
      </p>
      <p>Then change “pic” and “bg_mean” to match the resolution of your images (the values that need to be changed are bolded and underlined below). For example:</p>
      <p>
        pic = Image.new('I', (
        <bold>
          <underline>2048, 1536</underline>
        </bold>
        )
      </p>
      <p>and</p>
      <p>
        bg_mean = bg_total / ((
        <bold>
          <underline>2048.0</underline>
        </bold>
        <underline> * </underline>
        <bold>
          <underline>1536.0</underline>
        </bold>
        ) - area)
      </p>
      <p>
        Save your copy of 
        <italic>worm.py</italic>
        . The images you want to have analyzed must be in the 
        <italic>Images</italic>
         folder and are in the format specified in the code above. Depending on your computer, you can run the script through Terminal or by clicking on the 
        <italic>worm.py </italic>
        icon itself. Instructions on how to do so on both Windows and Macintosh computers are described in detail in the help files on the Github page linked above. It will take each image, invert each pixel and calculate total pixel brightness, worm area and mean pixel brightness. No modifications to the script should be needed for different size animals or different levels of staining. After the script has finished analysing all the images in your 
        <italic>Images</italic>
         folder a 
        <italic>report.txt</italic>
         file will appear in your 
        <italic>Reports</italic>
         folder, which can be opened in a text editor or Excel. The third column contains the mean pixel brightness, where a higher value represents a higher amount of qORO staining. The mean pixel brightness values can then be analysed in Excel, Google Sheets or similar program.
      </p>
      <p>
        We used our protocol to compare images of twelve N2 L4s with twelve 
        <italic>let-23(sa62)gf </italic>
        L4s. We found that lipid levels, represented by mean pixel intensity in arbitrary units, were significantly lower in 
        <italic>let-23(sa62)gf</italic>
         animals (
        <xref ref-type="fig" rid="f1">Fig. 1D, </xref>
        p=0.0003).
      </p>
    </sec>
  </body>
  <back>
    <sec sec-type="data-availability">
      <title>Extended Data</title>
      <p>
        Description: Quick Oil Red O software analysis package. Resource Type: Software. DOI: 
        <ext-link ext-link-type="doi" xlink:href="10.22002/xwjnh-w6k67">https://doi.org/10.22002/xwjnh-w6k67</ext-link>
      </p>
    </sec>
    <ack>
      <sec>
        <title>Acknowledgments</title>
        <p>We would like to thank Dr. Wendy Hanna-Rose, Whitman College and Wofford College for their support, as well as the many undergraduates who have used and provided feedback on these protocols. Some strains were provided by the CGC, which is funded by NIH Office of Research Infrastructure Programs (P40 OD010440).</p>
      </sec>
    </ack>
    <ref-list>
      <ref id="R1">
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Brenner</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <year>1974</year>
          <month>5</month>
          <day>1</day>
          <article-title>The genetics of Caenorhabditis elegans.</article-title>
          <source>Genetics</source>
          <volume>77</volume>
          <issue>1</issue>
          <issn>0016-6731</issn>
          <fpage>71</fpage>
          <lpage>94</lpage>
          <pub-id pub-id-type="doi">10.1093/genetics/77.1.71</pub-id>
          <pub-id pub-id-type="pmid">4366476</pub-id>
        </element-citation>
      </ref>
      <ref id="R2">
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Wählby</surname>
              <given-names>C</given-names>
            </name>
            <name>
              <surname>Conery</surname>
              <given-names>AL</given-names>
            </name>
            <name>
              <surname>Bray</surname>
              <given-names>MA</given-names>
            </name>
            <name>
              <surname>Kamentsky</surname>
              <given-names>L</given-names>
            </name>
            <name>
              <surname>Larkins-Ford</surname>
              <given-names>J</given-names>
            </name>
            <name>
              <surname>Sokolnicki</surname>
              <given-names>KL</given-names>
            </name>
            <name>
              <surname>Veneskey</surname>
              <given-names>M</given-names>
            </name>
            <name>
              <surname>Michaels</surname>
              <given-names>K</given-names>
            </name>
            <name>
              <surname>Carpenter</surname>
              <given-names>AE</given-names>
            </name>
            <name>
              <surname>O'Rourke</surname>
              <given-names>EJ</given-names>
            </name>
          </person-group>
          <year>2014</year>
          <month>4</month>
          <day>28</day>
          <article-title>High- and low-throughput scoring of fat mass and body fat distribution in C. elegans.</article-title>
          <source>Methods</source>
          <volume>68</volume>
          <issue>3</issue>
          <issn>1046-2023</issn>
          <fpage>492</fpage>
          <lpage>499</lpage>
          <pub-id pub-id-type="doi">10.1016/j.ymeth.2014.04.017</pub-id>
          <pub-id pub-id-type="pmid">24784529</pub-id>
        </element-citation>
      </ref>
      <ref id="R3">
        <element-citation publication-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Stuhr</surname>
              <given-names>NL</given-names>
            </name>
            <name>
              <surname>Nhan</surname>
              <given-names>JD</given-names>
            </name>
            <name>
              <surname>Hammerquist</surname>
              <given-names>AM</given-names>
            </name>
            <name>
              <surname>Van Camp</surname>
              <given-names>B</given-names>
            </name>
            <name>
              <surname>Reoyo</surname>
              <given-names>D</given-names>
            </name>
            <name>
              <surname>Curran</surname>
              <given-names>SP</given-names>
            </name>
          </person-group>
          <year>2022</year>
          <month>3</month>
          <day>5</day>
          <article-title>Rapid Lipid Quantification in Caenorhabditis elegans by Oil Red O and Nile Red Staining.</article-title>
          <source>Bio Protoc</source>
          <volume>12</volume>
          <issue>5</issue>
          <fpage>e4340</fpage>
          <lpage>e4340</lpage>
          <pub-id pub-id-type="doi">10.21769/BioProtoc.4340</pub-id>
          <pub-id pub-id-type="pmid">35592599</pub-id>
        </element-citation>
      </ref>
    </ref-list>
  </back>
</article>