<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="other" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.51900.2</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Software Tool Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>ContactJ: Characterization of lipid droplet-mitochondrial contacts using fluorescence microscopy and image analysis</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 2; peer review: 2 approved]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Mart&#x00ed;n</surname>
                        <given-names>Gemma</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-7473-0474</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Bosch</surname>
                        <given-names>Marta</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a2">2</xref>
                    <xref ref-type="aff" rid="a3">3</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Coll</surname>
                        <given-names>Elisenda</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Parton</surname>
                        <given-names>Robert G.</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <xref ref-type="aff" rid="a4">4</xref>
                    <xref ref-type="aff" rid="a5">5</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Pol</surname>
                        <given-names>Albert</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a2">2</xref>
                    <xref ref-type="aff" rid="a3">3</xref>
                    <xref ref-type="aff" rid="a6">6</xref>
                </contrib>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Calvo</surname>
                        <given-names>Maria</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-7473-0474</uri>
                    <xref ref-type="corresp" rid="c2">b</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Advanced Optical Microscopy Facility. Scientific and Technological Centers, University of Barcelona, Barcelona, 08036, Spain</aff>
                <aff id="a2">
                    <label>2</label>Biomedicine Department. School of Medicine, University of Barcelona, Barcelona, 08036, Spain</aff>
                <aff id="a3">
                    <label>3</label>Cell Compartments and Signaling Group, Institut d'Investigacions Biom&#x00e8;diques August Pi i Sunyer (IDIBAPS), Barcelona, 08036, Spain</aff>
                <aff id="a4">
                    <label>4</label>Institute for Molecular Bioscience (IMB), University of Queensland, Brisbane, Queensland, 4072, Australia</aff>
                <aff id="a5">
                    <label>5</label>Centre for Microscopy and Microanalysis, University of Queensland, Brisbane, Queensland, 4072, Australia</aff>
                <aff id="a6">
                    <label>6</label>Instituci&#x00f3; Catalana de Recerca i Estudis Avan&#x00e7;ats (ICREA), Barcelona, 08010, Spain</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:gemmamartin@ub.edu">gemmamartin@ub.edu</email>
                </corresp>
                <corresp id="c2">
                    <label>b</label>
                    <email xlink:href="mailto:mariacalvo@ub.edu">mariacalvo@ub.edu</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>18</day>
                <month>1</month>
                <year>2022</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2021</year>
            </pub-date>
            <volume>10</volume>
            <elocation-id>263</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>13</day>
                    <month>1</month>
                    <year>2022</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Mart&#x00ed;n G et al.</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license 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 Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/10-263/pdf"/>
            <abstract>
                <p>Lipid droplets (LDs) are the major lipid storage organelles of eukaryotic cells and together with mitochondria key regulators of cell bioenergetics. LDs communicate with mitochondria and other organelles forming &#x201c;metabolic synapse&#x201d; contacts to ensure that lipid supply occurs where and when necessary. Although transmission electron microscopy&#x00a0;analysis allows an accurate and precise analysis of contacts, the characterization of&#x00a0;a large number of&#x00a0;cells and conditions can become a long-term process.&#x00a0;In order to extend contact analysis to&#x00a0;hundreds&#x00a0;of cells&#x00a0;and multiple conditions,&#x00a0;we have combined&#x00a0;confocal&#x00a0;fluorescence microscopy with advanced image analysis methods.&#x00a0;In this work, we&#x00a0;have developed the ImageJ macro script ContactJ, a novel and straight image analysis method to identify and quantify contacts between LD and mitochondria in fluorescence microscopy images allowing the automatic analysis. This image analysis workflow combines colocalization and skeletonization methods, enabling the quantification of LD-mitochondria contacts together with a complete characterization of organelles and cellular parameters. The correlation and normalization of these parameters contribute to the complex description of cell behavior under different&#x00a0;experimental&#x00a0;energetic states. ContactJ is available here: 
                    <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ/tree/1.0">https://github.com/UB-BioMedMicroscopy/ContactJ/tree/1.0</ext-link>
                </p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>Contact sites</kwd>
                <kwd>Lipid Droplets</kwd>
                <kwd>Mitochondria</kwd>
                <kwd>Image Processing and Analysis</kwd>
                <kwd>ImageJ</kwd>
                <kwd>Fluorescence Microscopy</kwd>
                <kwd>Bioimaging</kwd>
                <kwd>Interactome</kwd>
            </kwd-group>
            <funding-group>
                <award-group id="fund-1" xlink:href="http://dx.doi.org/10.13039/501100000921">
                    <funding-source>European Cooperation in Science and Technology</funding-source>
                    <award-id>CA15124</award-id>
                </award-group>
                <funding-statement>This work was supported by the European Cooperation in Science and Technology [CA15124].</funding-statement>
            </funding-group>
        </article-meta>
        <notes>
            <sec sec-type="version-changes">
                <label>Revised</label>
                <title>Amendments from Version 1</title>
                <p>This article has improved by including the following developments: 
                    <list list-type="bullet">
                        <list-item>
                            <p>Improvements in the ContactJ macro code (
                                <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5810874">https://doi.org/10.5281/zenodo.5810874</ext-link>) performance (GUI, Batch Mode...).</p>
                        </list-item>
                        <list-item>
                            <p>Extended information about the different steps throughout ContactJ macro has been included.</p>
                        </list-item>
                        <list-item>
                            <p>Comparison between Manual and Automatic Analysis with ContactJ.</p>
                        </list-item>
                        <list-item>
                            <p>Implementation of a straightforward core code of ContactJ, ContactJ4All, that facilitates the applicability of ContactJ in 3D or time series images, and its combination with 3D objects analysis and objects tracking methods. ContactJ4All is ready to be included and adapted to any workflow. It is available on GitHub and Zenodo (
                                <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5810614">https://doi.org/10.5281/zenodo.5810614</ext-link>).</p>
                        </list-item>
                    </list>
                </p>
            </sec>
        </notes>
    </front>
    <body>
        <sec id="sec1" sec-type="intro">
            <title>Introduction</title>
            <p>Lipid droplets (LDs) are the major lipid storage organelles of eukaryotic cells and together with mitochondria key regulators of cell&#x2019;s bioenergetics. They supply essential lipids to produce signalling molecules, membrane building blocks, and the metabolic energy needed to survive during nutrient poor periods.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup>
            </p>
            <p>In order to achieve their functions, LDs communicate with mitochondria and other organelles (endoplasmic reticulum, endosomes, peroxisomes and vacuoles) forming membrane contact sites,
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup> &#x201c;metabolic synapses&#x201d;, to ensure that lipid provision occurs where and when necessary.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref3">3</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref4">4</xref>
                </sup> Contact sites between these organelles have been described and characterized by transmission electron microscopy (TEM) as it resolves at the membrane scale where these contacts take place.
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref5">5</xref>
                </sup> Whereas TEM allows accurate and precise characterization of contacts, their analysis on a large number of cells and conditions can become a long-term process. On the other hand, confocal fluorescence microscopy combined with advanced image analysis methods enable to extend contact analysis to hundreds of cells and multiple conditions.</p>
            <p>Typically, in fluorescence microscopy, the contacts between cellular organelles, the organelle interactome, have been studied by colocalization or overlapping regions of the organelles masks
                <sup>
                    <xref ref-type="bibr" rid="ref6">6</xref>
                </sup> or measuring the fraction of intensity of other organelles near to LD.
                <sup>
                    <xref ref-type="bibr" rid="ref7">7</xref>
                </sup>
            </p>
            <p>In the present work, we describe a novel and straight image analysis method (ContactJ) to identify and quantify contact regions between LD and mitochondria in fluorescence microscopy images allowing the automatic analysis of hundreds of cells and multiple conditions. This image analysis workflow combines colocalization and skeletonization methods, enabling the detection of LD-mitochondria contacts together with a complete characterization of organelles and cellular parameters (morphometry and distribution). The correlation and normalization of these parameters contribute to the complex description of cells response under different experimental conditions such as metabolic or pathogenic states.</p>
        </sec>
        <sec id="sec2" sec-type="methods">
            <title>Methods</title>
            <sec id="sec3">
                <title>Sample preparation and imaging</title>
                <p>Sample preparation and imaging have been previously described in detail.
                    <sup>
                        <xref ref-type="bibr" rid="ref4">4</xref>
                    </sup> Briefly, HEK293 cells were grown in fibronectin coated glass coverslips. Cells were fixed for 60 min in 4% paraformaldehyde, permeabilized in 0.15% Triton X-100 for 10 min, followed by blocking with 1% BSA (A7906, Sigma-Aldrich), 0.1% Tween in PBS for 15 min. Labeling was achieved by incubating cells for 1 hour at room temperature with rabbit polyclonal anti-TOM20 (1:500; ab186734, Abcam) diluted in blocking solution. Primary antibody was detected with donkey anti-rabbit IgG AlexaFluor 555 (A321094) from ThermoFisher Scientific, diluted 1:250 in blocking solution. Finally, cells were labeled with DAPI (1: 4000; ThermoFisher) and LDs were stained with BODIPY 493/503 (1:1000; Molecular Probes) for 10min at room temperature, washed twice with PBS and coverslips were mounted with Mowiol (475904; Calbiochem, Merck).</p>
                <p>The present work has been adapted to the particular conditions of this experiment dataset where membrane or cell mask labelling couldn&#x2019;t be implemented. For this reason, a smart strategy for the cell segmentation has been used: the addition of the available cytoplasmic labellings (LD plus Mitochondria) and the Nucleus staining to define the cell region. Whenever it is possible, it is recommended to use a cell mask labelling to facilitate cell segmentation and individualization. In such case, the workflow for cell segmentation should be modified.</p>
                <p>Imaging of LDs, mitochondria and nuclei was performed using a LSM880 laser scanning spectral confocal microscope equipped with an AxioObserver Z1 inverted microscope. DAPI, BODIPY 493/503, and Alexa Fluor 555 images were acquired sequentially using 405, 488 and 561 nm lasers, dichroic beam splitters, emission detection ranges of 415-480 nm, 500-550 nm and 571-625 nm, respectively, and the confocal pinhole was set at 1 Airy Unit (AU). Spectral detection was performed using 2 photomultipliers and 1 central GaAsP. Images were acquired in a 1024 &#x00d7; 1024 format, pixel size at 93 &#x00d7; 93 nm, and integration time of 0.51 microseconds. Sample preparation and image acquisition of TEM image from 
                    <xref ref-type="fig" rid="f3">Figure 3a</xref> has been previously described in detail.
                    <sup>
                        <xref ref-type="bibr" rid="ref5">5</xref>
                    </sup>
                </p>
            </sec>
            <sec id="sec4">
                <title>Implementation</title>
                <p>We have developed ContactJ, a macro script for the open-source image analysis software ImageJ.
                    <sup>
                        <xref ref-type="bibr" rid="ref8">8</xref>
                    </sup>
                    <sup>,</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref9">9</xref>
                    </sup> This macro automatically and rapidly quantifies confocal images (1 section, 8-12-16 bit depth) that are saved in a folder and returns the table of the resulting measurements, images and Regions of Interests (ROIs) in a &#x201c;Results&#x201d; folder. Thus, inexperienced users with no prior image analysis experience will find it easy to use. As can be seen in 
                    <xref ref-type="fig" rid="f1">Figure 1</xref>, the flowchart illustrates how the macro automatically detects and measures LD-mitochondria linear contacts by combining standard and machine learning segmentation processes and the novel use of colocalization together with skeletonization methods from a large number of fluorescence images.</p>
                <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                    <label>Figure 1. </label>
                    <caption>
                        <title>Flowchart of ContactJ Macro that automatically segments and measures the LD-mitochondria contacts cell by cell by combining standard and machine learning segmentation processes and the novel use of colocalization together with skeletonization methods from a large number of fluorescence images.</title>
                        <p>LD, Mitochondria, Colocalization Area and final Contact Site are represented in green, red, yellow and black respectively.</p>
                    </caption>
                    <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/119235/446b7722-6679-4b38-ace2-8cfc0e23d0e6_figure1.gif"/>
                </fig>
                <p>First, ContactJ macro performs the segmentation of the cells, LD and mitochondria separately. Cell segmentation was adapted to the particular conditions of this experiment dataset where a membrane or a cell mask labelling couldn&#x2019;t be implemented. Briefly, cell segmentation was achieved by adding the available cytoplasmic labelling (LD plus Mitochondria) and the Nucleus staining. To obtain similar intensity contributions from cytoplasmic labelling and nucleus, LD and mitochondria channels were multiplied each by 0.2 to reduce its intensity contribution and make it more similar to the nucleus intensity. As these factors are dependent on the different experimental conditions, they can be modified at the graphical user interface (GUI) at the beginning of the macro (referred at the GUI as Compensation).</p>
                <p>Intensity compensated channels from mitochondria and LD were added to a binary mask from nuclei.</p>
                <p>The resulting image was used to find local maxima (with prominence of 100) and to obtain subsequently the segmented particles binary image. Segmented particles limits were encoded as 0 value on the binarized image from the three added channels. The original 3 channel image was sequentially converted to RGB and to 8bit, median filtered (radius 2) and thresholded (Huang). After performing the minimum operation between the processed and thrsesholded original image and the segmented particles limits image, cells were individualized and stored as ROIs (see 
                    <xref ref-type="fig" rid="f2">Figure 2a</xref>), by particle analysis. Cell ROIs were saved as zip file in the results folder.</p>
                <p>LD segmentation was achieved through a Trainable Weka Segmentation classifier
                    <sup>
                        <xref ref-type="bibr" rid="ref10">10</xref>
                    </sup> on LD channel image (see 
                    <xref ref-type="fig" rid="f2">Figure 2b</xref>) using the classification algorithm Fast Random Forest and the following Training features: Gaussian Blur, Hessian, Membrane projections, Sobel filtre, Difference of Gaussians. Mitochondria were segmented by intensity thresholding (autothreshold method &#x201c;Otsu&#x201d;) (see 
                    <xref ref-type="fig" rid="f2">Figure 2c</xref>).</p>
                <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                    <label>Figure 2. </label>
                    <caption>
                        <title>Results of ContactJ macro.</title>
                        <p>Hek293 cells were labelled with anti TOM20 antibody (mitochondria) in red, Bodipy493/505 (LDs) in green and DAPI (nuclei) in blue. The different regions of interest resulting from segmentation are highlighted in white (a) Cell Segmentation, (b) LD segmentation, (c) mitochondria segmentation and (d) LD-mitochondria contacts. Insert in d) shows a detail of how contact regions found by ContactJ are accurate and individualized per LD.</p>
                    </caption>
                    <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/119235/446b7722-6679-4b38-ace2-8cfc0e23d0e6_figure2.gif"/>
                </fig>
                <p>Once cells and LD were segmented, contact regions between mitochondria and LD were first obtained using the Colocalization plugin.
                    <sup>
                        <xref ref-type="bibr" rid="ref11">11</xref>
                    </sup> This plugin highlights the colocalized &#x201c;contact&#x201d; points between mitochondria and LD. The plugin generates an 8 bit binary image with only the colocalized points (Display value = 255). It analyses Mitochondria and LD channels, pixel by pixel, and considers a colocalized point if its respective intensities are strictly higher than the threshold determined for its channels (autothreshold methods &#x201c;Yen&#x201d; for LD channel and &#x201c;Otsu&#x201d; for mitochondria channel), and if its ratio (of intensity) is strictly higher than the ratio setting value (set to 50%: ratio (0-100%)). Secondly, the regions of individualized LD were obtained using the Find Maxima tool with Segmented particles result from the LD mask. Finally, individualized contact regions were converted to a contour line section by performing the skeletonization of the minimum image calculation from the colocalization mask and the segmented particles result from LD. Contact perimeter and contact counts (a contact is defined as a continuous contact line) were quantified, obtaining the linear LD-mitochondria contact of each cell (see 
                    <xref ref-type="fig" rid="f2">Figure 2d</xref>).</p>
                <p>Throughout the execution of the macro, all the data is stored in arrays (cell, LD and mitochondria areas and perimeters, contact perimeter, number of contacts, etc). Moreover, this data is stored in a.txt file allowing the traceability of the results for each cell and each image.</p>
            </sec>
            <sec id="sec5">
                <title>Operation</title>
                <p>ImageJ/Fiji with the Colocalization
                    <sup>
                        <xref ref-type="bibr" rid="ref11">11</xref>
                    </sup> and WEKA
                    <sup>
                        <xref ref-type="bibr" rid="ref10">10</xref>
                    </sup> plugins should be installed and ContactJ run from ImageJ macro editor. The software can be tested with the sample data provided (in 
                    <italic toggle="yes">Underlying data</italic>
                    <sup>
                        <xref ref-type="bibr" rid="ref12">12</xref>
                    </sup>). First, the user should prepare a set of images and organize them into a folder. In this images folder the user should create a subfolder named &#x201c;Model&#x201d; with the data and model files obtained specifically for the segmentation of LD channel using the machine learning WEKA plugin. Once ContactJ runs, macro asks to the user the folder to analyse. Automatically, ContactJ opens the images one by one analysing them, cell by cell, and saving ROIs and all the measurements data obtained (areas, intensity, contact, perimeter &#x2026;) in a .txt file as a table.</p>
            </sec>
        </sec>
        <sec id="sec6">
            <title>Use cases</title>
            <p>ContactJ has been developed and tested for the contact analysis of hundreds of HEK293 cells treated or untreated with lipopolysaccharide (LPS) and expressing or not a protein of interest PLIN5.
                <sup>
                    <xref ref-type="bibr" rid="ref4">4</xref>
                </sup>
            </p>
            <p>Taking advantage of fluorescence multilabelling, the cells have been segmented and all parameters can be expressed per cell individually. The macro segments the nucleus, LDs and mitochondria from each cell and it obtains the following parameters that are stored in a data base table: Cell Area, number of LDs and Mitochondria, LDs and Mitochondria Total Area, Mean LD Area per cell, Standard deviation of the LD mean Area, Mean LD Perimeter and Total Mitochondria and LD Perimeter</p>
            <p>The main novelty and distinctive feature from ContactJ are that it creates a contact line corresponding to each contact site between mitochondrion and LD. In order to obtain the contact site, ContactJ first generates a colocalization region corresponding to the overlapping fluorescence from both organelles, using the Colocalization plugin. Then, this shape is skeletonized generating a line of equidistant points to its boundaries representing the contact site. The macro stores in the data base file also the total length of the contact sites, the mean length of each contact and the number of contacts detected per cell. In the mentioned work, the results were expressed as Total Contact Length/Cell and compared between cell populations and treatments.
                <sup>
                    <xref ref-type="bibr" rid="ref4">4</xref>
                </sup>
            </p>
        </sec>
        <sec id="sec7" sec-type="discussion">
            <title>Discussion</title>
            <p>One of the innovative and distinctive features of ContactJ is that it creates a linear contact region on the mid plane of the LD in close proximity to Mitochondrion, representing the most probable contact site between both organelles.</p>
            <p>Although light microscopy resolution limit prevents assertion of true interaction, the analysis of inter organelle contacts by fluorescence microscopy is accepted as an indicator of possible communication between these two organelles, bringing many advantages when performing contact analysis at a high scale of samples and conditions. TEM is used to measure contacts between organelles as it resolves at the membrane scale where these contacts take place, as can be seen in 
                <xref ref-type="fig" rid="f3">Figure 3(a)</xref>. ContactJ measurements of contact perimeter between LD and mitochondria are 2-3 times bigger compared to TEM measurements
                <sup>
                    <xref ref-type="bibr" rid="ref4">4</xref>
                </sup> (
                <xref ref-type="fig" rid="f3">Figure 3</xref>). The main reasons for this difference are, first, that 2D confocal microscopy image represents a projection of approximately 500nm sample thickness, compared to the 70nm of the ultra-thin TEM lamella and consequently, it is collecting a higher proportion of membrane and contacts. Secondly, the intrinsic difference in resolution would affect more directly the measurements of small contacts by light microscopy overestimating them. Therefore, the contacts obtained with ContactJ can be considered reliable compared to those observed by TEM.</p>
            <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                <label>Figure 3. </label>
                <caption>
                    <title>(a) TEM image showing LD-mitochondria contacts indicated by arrows, (b) result of the LD-mitochondria contacts (in white) detected by ContactJ in fluorescence microscopy image in Hek293 cells labelled with anti TOM20 antibody (mitochondria) in red, Bodipy493/505 (LDs) in green and DAPI (nuclei) in blue; and (c) magnification of the square region of (b) showing the contacts in detail.</title>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/119235/446b7722-6679-4b38-ace2-8cfc0e23d0e6_figure3.gif"/>
            </fig>
            <p>In order to test quality and performance of ContactJ, a comparison between contact manual tracing analysis compared to ContactJ analysis has been performed on 20 cells. Mean and Standard Deviation (microns) from total contact length from Manual quantification were: 44.9220 and 30.1140, respectively, and from ContactJ analysis were: 30.8055 and 18.30792, respectively. ANOVA test was performed and showed no significant difference between both groups means (F = 3.209 and p = 0.08) B). Correlation Analysis of the values obtained with both methods showed a correlation index of 0.899 significant at the 0.01 level (see extended data 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ/blob/main/Manual_vs_ContactJ_methods.pdf">Manual_vs_ContactJ_methods.pdf</ext-link>).</p>
            <p>The comparison between ContactJ analysis vs Manual analysis shows that although both methods correlate, manual analysis-increases significantly standard deviation reducing reproducibility of the method and overestimating contact length.</p>
            <p>Moreover, while comparing both methods we have experienced that manual quantification doesn&#x2019;t allow precise contact tracing around organelles, secondly, that it&#x2019;s difficult to stablish visual criteria of proximity and finally, that manual tracing is not only time consuming but, after defining tens of contacts per cell, it results in quick user fatigue and loss of detection and precision. All these results reinforce the idea that ContactJ is an objective and reproducible method valid to define and quantify contacts between organelles automatically.</p>
            <p>Furthermore, robustness of ContactJ has been tested and validated also in contact analysis between Endoplasmic Reticulum and Lipid Droplets in U2OS cells in live cell imaging experiments.
                <sup>
                    <xref ref-type="bibr" rid="ref13">13</xref>
                </sup>
            </p>
            <p>Obtaining contact regions, together with multiple morphological parameters of organelles, allows the calculation of descriptive statistics that would help describing cellular response. In front a metabolic or pathogenic event, cells need to regulate the transfer and communication between organelles. Among many possible cell reactions, they may change the contact surface between organelles together with the organelle size, number and distribution. For example, in this case, the quantification with ContactJ of the contact length and the LD perimeter would allow the calculation of the LD-Mitochondria &#x201c;transfer or communication&#x201d; efficiency for each cell (Contact length/LD Perimeter Length) helping in the comparison between cells response.</p>
            <p>ContactJ application can be extended to the contact analysis between other organelles, in 2D, 3D or time series. In fact, this code has been already adapted for the contact tracking analysis between LD and Endoplasmic Reticulum in time lapse experiments.
                <sup>
                    <xref ref-type="bibr" rid="ref13">13</xref>
                </sup>
            </p>
            <p>To facilitate the applicability of ContactJ in 3D or time series images, and its combination with 3D objects analysis and objects tracking methods, a straightforward core code of ContactJ, named ContactJ4All, has been developed.
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> ContactJ4All is ready to be included and adapted to any workflow. It is available on github
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> and example datasets from xyz and xyt images are included to test its performance.
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup>
            </p>
            <p>In conclusion, the described image analysis workflow unveils a wide range of possibilities in the automatic quantification of LD and mitochondria contacts and it also has been tested, and it is applicable, to the study of other organelles in 2D, 3D images or time series. Obtaining contact regions together with multiple cell and organelles parameters allow building descriptive statistics of the cells response. Moreover, its application in a large number of images enables the use of High Content Screening and Analysis, highly increasing the quality and statistical confidence of the results.</p>
        </sec>
        <sec id="sec8">
            <title>Data availability</title>
            <sec id="sec9">
                <title>Underlying data</title>
                <p>Zenodo: UB-BioMedMicroscopy/ContactJ: ContactJ, 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5810874">https://doi.org/10.5281/zenodo.5810874</ext-link>
                    <sup>
                        <xref ref-type="bibr" rid="ref12">12</xref>
                    </sup>
                </p>
                <p>This project contains the trained model and data for Weka plugin and example images.</p>
            </sec>
            <sec id="sec19">
                <title>Extended data</title>
                <p>Zenodo: UB-BioMedMicroscopy/ContactJ: ContactJ, 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5810874">https://doi.org/10.5281/zenodo.5810874</ext-link>
                    <sup>
                        <xref ref-type="bibr" rid="ref12">12</xref>
                    </sup>
                </p>
                <p>This project contains the comparison between manual and ContactJ Methods.</p>
                <p>Zenodo: UB-BioMedMicroscopy/ContactJ4All: ContactJ4All, 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5810614">https://doi.org/10.5281/zenodo.5810614</ext-link>
                    <sup>
                        <xref ref-type="bibr" rid="ref14">14</xref>
                    </sup>
                </p>
                <p>This project contains the following extended data:
                    <list list-type="bullet">
                        <list-item>
                            <label>&#x2022;</label>
                            <p>ContactJ4All xyz dataset</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>ContactJ4All xyt dataset</p>
                        </list-item>
                        <list-item>
                            <label>&#x2022;</label>
                            <p>Processed movie of LD and Mitochondria contact analysis with ContactJ4All</p>
                        </list-item>
                    </list>
                </p>
                <p>Data are available under the terms of the 
                    <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/publicdomain/zero/1.0/">Creative Commons Zero &#x201c;No rights reserved&#x201d; data waiver</ext-link> (CC0 1.0 Public domain dedication).</p>
            </sec>
        </sec>
        <sec id="sec10">
            <title>Software availability</title>
            <p>Contact J source code available from: 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ">https://github.com/UB-BioMedMicroscopy/ContactJ</ext-link>
            </p>
            <p>Archived source code as at time of publication: 
                <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5810874">https://doi.org/10.5281/zenodo.5810874</ext-link>
                <sup>
                    <xref ref-type="bibr" rid="ref12">12</xref>
                </sup>
            </p>
            <p>License: CC0</p>
            <p>ContactJ4All source code available from: 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ4All">https://github.com/UB-BioMedMicroscopy/ContactJ4All</ext-link>
            </p>
            <p>Archived source code as at time of publication: 
                <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5810614">https://doi.org/10.5281/zenodo.5810614</ext-link>
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup>
            </p>
            <p>License: CC0</p>
        </sec>
    </body>
    <back>
        <ack>
            <title>Acknowledgements</title>
            <p>This publication was supported by COST Action NEUBIAS (CA15124), funded by COST (European Cooperation in Science and Technology).</p>
            <p>We acknowledge NEUBIAS Cost Action NEUBIAS - COST ActionCA15124 
                <ext-link ext-link-type="uri" xlink:href="http://www.neubias.org">www.neubias.org</ext-link> for Image Analysis courses, tutorials and repositories and their important task in training Image Analysts.</p>
            <p>Data presented in this work is part of the published article.
                <sup>

                    <xref ref-type="bibr" rid="ref4">4</xref>
</sup>
            </p>
            <p>This paper is dedicated to the living memory of Anna Bosch.</p>
        </ack>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Bosch</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Parton</surname>
                            <given-names>RG</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Pol</surname>
                            <given-names>A</given-names>
                        </name>
</person-group>:
                    <article-title>Lipid Droplets, Bioenergetic Fluxes, and Metabolic Flexibility.</article-title>
                    <source>

                        <italic toggle="yes">Semin Cell Dev Biol.</italic>
</source>
                    <publisher-name>Elsevier Ltd</publisher-name>;<year>December 2020</year>;<fpage>33</fpage>&#x2013;<lpage>46</lpage>.
                    <pub-id pub-id-type="pmid">32146030</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.semcdb.2020.02.010</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Parton</surname>
                            <given-names>RG</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bosch</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Steiner</surname>
                            <given-names>B</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Novel Contact Sites between Lipid Droplets, Early Endosomes, and the Endoplasmic Reticulum.</article-title>
                    <source>

                        <italic toggle="yes">J Lipid Res.</italic>
</source>
                    <publisher-name>American Society for Biochemistry and Molecular Biology Inc</publisher-name>;<year>November 1, 2020</year>; p<fpage>1364</fpage>.
                    <pub-id pub-id-type="pmid">32404335</pub-id>
                    <pub-id pub-id-type="doi">10.1194/jlr.ILR120000876</pub-id>
                    <pub-id pub-id-type="pmcid">PMC7604730</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Schuldiner</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bohnert</surname>
                            <given-names>M</given-names>
                        </name>
</person-group>:
                    <article-title>A Different Kind of Love &#x2013; Lipid Droplet Contact Sites.</article-title>
                    <source>

                        <italic toggle="yes">Biochim Biophys Acta Mol Cell Biol Lipids.</italic>
</source>
                    <publisher-name>Elsevier B.V</publisher-name>;<year>October 2017</year>;<fpage>1188</fpage>&#x2013;<lpage>1196</lpage>.
                    <pub-id pub-id-type="pmid">28627434</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.bbalip.2017.06.005</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Bosch</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>S&#x00e1;nchez-&#x00c1;lvarez</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Fajardo</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Mammalian Lipid Droplets Are Innate Immune Hubs Integrating Cell Metabolism and Host Defense.</article-title>
                    <source>

                        <italic toggle="yes">Science (80-.).</italic>
</source>
                    <year>2020</year>;<volume>370</volume>(<issue>6514</issue>).
                    <pub-id pub-id-type="pmid">33060333</pub-id>
                    <pub-id pub-id-type="doi">10.1126/science.aay8085</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Herms</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bosch</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Reddy</surname>
                            <given-names>BJN</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Activation Promotes Lipid Droplet Dispersion on Detyrosinated Microtubules to Increase Mitochondrial Fatty Acid Oxidation.</article-title>
                    <source>

                        <italic toggle="yes">Nat. Commun.</italic>
</source>
                    <year>2015</year>;<volume>6</volume>.
                    <pub-id pub-id-type="pmid">26013497</pub-id>
                    <pub-id pub-id-type="doi">10.1038/ncomms8176</pub-id>
                    <pub-id pub-id-type="pmcid">PMC4446796</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Valm</surname>
                            <given-names>AM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Cohen</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Legant</surname>
                            <given-names>WR</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Applying Systems-Level Spectral Imaging and Analysis to Reveal the Organelle Interactome.</article-title>
                    <source>

                        <italic toggle="yes">Nature.</italic>
</source>
                    <publisher-name>Nature Publishing Group</publisher-name>;<year>June 1, 2017</year>;<fpage>162</fpage>&#x2013;<lpage>167</lpage>.
                    <pub-id pub-id-type="pmid">28538724</pub-id>
                    <pub-id pub-id-type="doi">10.1038/nature22369</pub-id>
                    <pub-id pub-id-type="pmcid">PMC5536967</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Freyre</surname>
                            <given-names>CAC</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Rauher</surname>
                            <given-names>PC</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ejsing</surname>
                            <given-names>CS</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>MIGA2 Links Mitochondria, the ER, and Lipid Droplets and Promotes De Novo Lipogenesis in Adipocytes.</article-title>
                    <source>

                        <italic toggle="yes">Mol. Cell.</italic>
</source>
                    <year>2019</year>;<volume>76</volume>:<fpage>811</fpage>&#x2013;<lpage>825</lpage>.
                    <elocation-id>e14</elocation-id>.
                    <pub-id pub-id-type="pmid">31628041</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.molcel.2019.09.011</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Schindelin</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Arganda-Carreras</surname>
                            <given-names>I</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Frise</surname>
                            <given-names>E</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Fiji: An Open-Source Platform for Biological-Image Analysis.</article-title>
                    <source>

                        <italic toggle="yes">Nat Methods.</italic>
</source>
                    <year>July 2012</year>;<fpage>676</fpage>&#x2013;<lpage>682</lpage>.
                    <pub-id pub-id-type="pmid">22743772</pub-id>
                    <pub-id pub-id-type="doi">10.1038/nmeth.2019</pub-id>
                    <pub-id pub-id-type="pmcid">PMC3855844</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref9">
                <label>9</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Schneider</surname>
                            <given-names>CA</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Rasband</surname>
                            <given-names>WS</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Eliceiri</surname>
                            <given-names>KW</given-names>
                        </name>
</person-group>:
                    <article-title>NIH Image to ImageJ: 25 Years of Image Analysis.</article-title>
                    <source>

                        <italic toggle="yes">Nat Methods.</italic>
</source>
                    <year>July 2012</year>;<fpage>671</fpage>&#x2013;<lpage>675</lpage>.
                    <pub-id pub-id-type="pmid">22930834</pub-id>
                    <pub-id pub-id-type="doi">10.1038/nmeth.2089</pub-id>
                    <pub-id pub-id-type="pmcid">PMC5554542</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref10">
                <label>10</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Arganda-Carreras</surname>
                            <given-names>I</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Kaynig</surname>
                            <given-names>V</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Rueden</surname>
                            <given-names>C</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Trainable Weka Segmentation: A Machine Learning Tool for Microscopy Pixel Classification.</article-title>
                    <source>

                        <italic toggle="yes">Bioinformatics.</italic>
</source>
                    <year>2017</year>;<volume>33</volume>(<issue>15</issue>):<fpage>2424</fpage>&#x2013;<lpage>2426</lpage>.
                    <pub-id pub-id-type="pmid">28369169</pub-id>
                    <pub-id pub-id-type="doi">10.1093/bioinformatics/btx180</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref11">
                <label>11</label>
                <mixed-citation publication-type="web">
                    <collab>Pierre Bourdoncle (Institut Jacques Monod, Service Imagerie, P</collab>: Colocalization Plugin.
                    <ext-link ext-link-type="uri" xlink:href="https://imagej.nih.gov/ij/plugins/colocalization.htm">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>12</label>
                <mixed-citation publication-type="other">
                    <collab>MariaCalvo</collab>&amp;
                    <collab>GemmaMar</collab>:
                    <article-title>UB-BioMedMicroscopy/ContactJ: ContactJ (v5.0.0).</article-title>
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2021</year>.
                    <pub-id pub-id-type="doi">10.5281/zenodo.5810874</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref13">
                <label>13</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Lu</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Hsieh</surname>
                            <given-names>F</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sharma</surname>
                            <given-names>BR</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>CRISPR screens for lipid regulators reveal a role for ER-bound SNX13 in lysosomal cholesterol export.</article-title>
                    <source>

                        <italic toggle="yes">J Cell Biol.</italic>
</source>
                    <year>2022</year>;<volume>221</volume>(<issue>2</issue>):<fpage>e202105060</fpage>.
                    <pub-id pub-id-type="pmid">34936700</pub-id>
                    <pub-id pub-id-type="doi">10.1083/jcb.202105060</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref14">
                <label>14</label>
                <mixed-citation publication-type="other">
                    <collab>MariaCalvo</collab>:
                    <article-title>UB-BioMedMicroscopy/ContactJ4All: ContactJ4All (v1.1.0).</article-title>
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2021</year>.
                    <pub-id pub-id-type="doi">10.5281/zenodo.5810614</pub-id>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report120256">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.119235.r120256</article-id>
            <title-group>
                <article-title>Reviewer response for version 2</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Mata Martinez</surname>
                        <given-names>Gadea</given-names>
                    </name>
                    <xref ref-type="aff" rid="r120256a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-5567-8463</uri>
                </contrib>
                <aff id="r120256a1">
                    <label>1</label>Department of Mathematics and Computer Science, University of La Rioja, Logro&#x00f1;o, Spain</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>2</day>
                <month>2</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Mata Martinez G</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport120256" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.51900.2"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The authors accepted the comments made in the first revision. The new version, both of the article and the code, has improved, and I consider the article to be approved for indexing.</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>Partly</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Light microscopy image analyst and computer scientist, field of artificial intelligence</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.</p>
        </body>
        <sub-article article-type="response" id="comment7776-120256">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Calvo</surname>
                            <given-names>Maria</given-names>
                        </name>
                        <aff>University of Barcelona, Spain</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>3</day>
                    <month>2</month>
                    <year>2022</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Thanks to the reviewers Gadea Mata, Mafalda Souza and Maria Azevedo for their work reviewing the article that has helped to improve our article.</p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report120255">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.119235.r120255</article-id>
            <title-group>
                <article-title>Reviewer response for version 2</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Sousa</surname>
                        <given-names>Mafalda</given-names>
                    </name>
                    <xref ref-type="aff" rid="r120255a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0003-2238-1070</uri>
                </contrib>
                <contrib contrib-type="author">
                    <name>
                        <surname>Azevedo</surname>
                        <given-names>Maria</given-names>
                    </name>
                    <xref ref-type="aff" rid="r120255a2">2</xref>
                    <role>Co-referee</role>
                </contrib>
                <aff id="r120255a1">
                    <label>1</label>i3S - Instituto de Investiga&#x00e7;&#x00e3;o e Inova&#x00e7;&#x00e3;o em Sa&#x00fa;de, Universidade do Porto, Porto, Portugal</aff>
                <aff id="r120255a2">
                    <label>2</label>3S - Instituto de Investiga&#x00e7;&#x00e3;o e Inova&#x00e7;&#x00e3;o em Sa&#x00fa;de, Universidade do Porto, Porto, Portugal</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>31</day>
                <month>1</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Sousa M and Azevedo M</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport120255" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.51900.2"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The authors accepted most of the comments made in the first revision and submitted a new version of the tool with improvements in the code and performance. At this point, we consider that the article should be approved for indexing.</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Partly</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>No</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>Light microscopy image analysis specialist. Neuroscience.</p>
            <p>We confirm that we have read this submission and believe that we have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.</p>
        </body>
        <sub-article article-type="response" id="comment7775-120255">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Calvo</surname>
                            <given-names>Maria</given-names>
                        </name>
                        <aff>University of Barcelona, Spain</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>3</day>
                    <month>2</month>
                    <year>2022</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Thanks to the reviewers Mafalda Souza, Maria Azevedo and Gadea Mata, for their work reviewing the article that has helped to improve our article.</p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report82670">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.55111.r82670</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Mata Martinez</surname>
                        <given-names>Gadea</given-names>
                    </name>
                    <xref ref-type="aff" rid="r82670a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-5567-8463</uri>
                </contrib>
                <aff id="r82670a1">
                    <label>1</label>Department of Mathematics and Computer Science, University of La Rioja, Logro&#x00f1;o, Spain</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>24</day>
                <month>5</month>
                <year>2021</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2021 Mata Martinez G</copyright-statement>
                <copyright-year>2021</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport82670" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.51900.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The authors present ContactJ, an ImageJ macro, to identify and quantify contacts between lipid droplets (LD) and mitochondria.</p>
            <p> </p>
            <p> This type of analysis is usually performed using electron microscopy. The authors have found a way to carry out a similar study (taking into account the limitations of resolution) using confocal microscopy images.</p>
            <p> </p>
            <p> The use of this type of image along with the combination of different analytical techniques and machine learning make this macro an interesting and novel work.</p>
            <p> </p>
            <p> The authors clearly describe the workflow of the macro. I would like to highlight the effort that has been put into establishing a clear distinction between each part of it, which helps to monitor and check the results at all times. The figures shown are very clear and leave no room for doubt. Another strength of this work is that this macro has already been used to analyse the work done in a publication.</p>
            <p> </p>
            <p> However, I want to comment on some minor aspects that could be subject to improvement:</p>
            <p> </p>
            <p> Note that the link in reference 11 is broken. Please replace with:</p>
            <p> 
                <ext-link ext-link-type="uri" xlink:href="https://imagej.nih.gov/ij/plugins/colocalization.html">https://imagej.nih.gov/ij/plugins/colocalization.html</ext-link>
            </p>
            <p> </p>
            <p> In the Implementation section, the macro configuration is clearly defined and the parameters that have been used in each step are well described. However, the type of machine learning algorithm used for the LD segmentation is missing.</p>
            <p> </p>
            <p> In the Discussion section, it is mentioned that the study can be carried out for 3D images. Adding an example of this type in the test images file is recommended.</p>
            <p> </p>
            <p> In this same section, the authors mention that this macro can be used to analyse a large number of images (High Content Screening and Analysis). For this type of analysis, it would be helpful that the option to check if the cells are well-segmented could be activated or deactivated. This way, it could be used to check some images and then run the macro over the entire experiment unsupervised.</p>
            <p> </p>
            <p> The macro is fast, and its code is well commented, which makes it easy to read and understand. Considering the different domains that a single type of image may have (such as changes in the intensity of the sample or noise), I suggest that the configuration parameters of the different methods become variables that are described at the beginning of the macro. Therefore, the macro gives the user the possibility, if needed, to quickly and easily change the parameters, avoiding changes within the code.</p>
            <p> </p>
            <p> Similarly, in addition to converting the channels used each time into a variable, it is recommended to comment on the code and refer to the channels not only by their colour but also by what they contain, as sometimes the experts use different criteria for the colour that each channel represents.</p>
            <p> </p>
            <p> As the macro progresses, the user can watch how several images are opened, which represent the intermediate steps. This intermediate image display slows down the macro, and it is suggested to use the &#x201c;setBatchMode (true)&#x201d; option whenever possible to avoid this effect.</p>
            <p> </p>
            <p> In addition, it is observed that the intermediate images that have been generated in the different steps remain open until the final result is obtained. To improve the performance of the macro, it is recommended that they are automatically closed when they are no longer needed.</p>
            <p> </p>
            <p> Regarding the use of GitHub to upload the macro, I recommend that the authors complete the README section, providing information on the installation of the macro, the requirements that are needed for the correct functioning of the macro, and a brief description of its use.</p>
            <p> </p>
            <p> The macro gives a robust set of results, which offer the possibility of obtaining interesting relationships, as the authors have commented. However, I recommend adding the calculation of the standard deviation for both the mean of the perimeter of the LD and the mean of the length of the Contact. Since both means are already calculated, it is convenient to calculate the standard deviations for each one.</p>
            <p> </p>
            <p> All this would improve and facilitate the use of this macro by others in a general, simple and clear way.</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>Partly</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Light microscopy image analyst and computer scientist, field of artificial intelligence</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
        <sub-article article-type="response" id="comment7655-82670">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Calvo</surname>
                            <given-names>Maria</given-names>
                        </name>
                        <aff>University of Barcelona, Spain</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>31</day>
                    <month>12</month>
                    <year>2021</year>
                </pub-date>
            </front-stub>
            <body>
                <p>
                    <bold>The authors present ContactJ, an ImageJ macro, to identify and quantify contacts between lipid droplets (LD) and mitochondria.</bold>
                </p>
                <p>
                    <bold> This type of analysis is usually performed using electron microscopy. The authors have found a way to carry out a similar study (taking into account the limitations of resolution) using confocal microscopy images.</bold>
                </p>
                <p>
                    <bold> The use of this type of image along with the combination of different analytical techniques and machine learning make this macro an interesting and novel work.</bold>
                </p>
                <p>
                    <bold> The authors clearly describe the workflow of the macro. I would like to highlight the effort that has been put into establishing a clear distinction between each part of it, which helps to monitor and check the results at all times. The figures shown are very clear and leave no room for doubt. Another strength of this work is that this macro has already been used to analyse the work done in a publication.</bold>
                </p>
                <p>
                    <bold> However, I want to comment on some minor aspects that could be subject to improvement:</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>Thank you for reviewing the article and pointing out the issues that would help to improve the presented work. We have tried to address all the suggestions and criticisms.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>1) Note that the link in reference 11 is broken. Please replace with:</bold>
                </p>
                <p>
                    <bold> 
                        <ext-link ext-link-type="uri" xlink:href="https://imagej.nih.gov/ij/plugins/colocalization.html">https://imagej.nih.gov/ij/plugins/colocalization.html</ext-link>
                    </bold>
                </p>
                <p> </p>
                <p> 
                    <italic>Thank you for the clarification, we have corrected it. After the review we have noticed that this plugin is not stable</italic>
                    <italic> in new FIJI versions. In order to avoid it we have added the code that allows to obtain the colocalization mask (based from the reference Bourdoncle 
                        <ext-link ext-link-type="uri" xlink:href="https://imagej.nih.gov/ij/plugins/colocalization.html">https://imagej.nih.gov/ij/plugins/colocalization.html</ext-link>). This specific code was previously adapted to analyse colocalization with no restrictions of bit depth and for stacks (Vidal-Quadras et al. Traffic. 2011 Dec;12(12):1879-96. doi: 
                        <ext-link ext-link-type="uri" xlink:href="https://pubmed.ncbi.nlm.nih.gov/21883766/">10.1111/j.1600-0854.2011.01274.x.</ext-link> Epub 2011 Sep 21.)</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>2) In the Implementation section, the macro configuration is clearly defined and the parameters that have been used in each step are well described. However, the type of machine learning algorithm used for the LD segmentation is missing.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>In agreement with the referee, the information about the Machine Learning algorithms used for LD segmentation is provided and included in the manuscript (methods section). </italic>
                </p>
                <p> 
                    <italic>Changes in the manuscript:</italic>
                </p>
                <p> </p>
                <p> 
                    <italic>
                        <underline>&#x201c;LD segmentation was achieved through a Trainable Weka Segmentation classifier on LD channel image (see Figure 2b)) using the classification algorithm Fast Random Forest and the following Training features: Gaussian Blur, Hessian, Membrane projections, Sobel filtre, Difference of Gaussians. Mitochondria were segmented by intensity thresholding (autothreshold method &#x201c;Otsu&#x201d;)</underline>
                    </italic>
                    <italic> </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>3) In the Discussion section, it is mentioned that the study can be carried out for 3D images. Adding an example of this type in the test images file is recommended.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>As mentioned throughout the work, contact analysis with ContactJ can be adapted to any image type i.e. 3D images (xyz) or through time (xyt). However, the direct purpose of this macro is the analysis of </italic>
                    <italic>hundreds&#x00a0;of cells&#x00a0;and multiple conditions from 2D images and therefore it has been optimized for this type of images.</italic>
                </p>
                <p> </p>
                <p> 
                    <italic>As suggested by the referees, in order to adapt contact analysis to any 3D objects analysis or objects tracking methods, we have developed a new multi image ContactJ code that generates a </italic>
                    <underline>
                        <italic>
                            <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ4All/blob/main/xyt_SupplFigure_ContactJ4All.mp4">contacts mask from two channels</ext-link>
                        </italic>
                    </underline>
                    <italic> from images either 2D or from stacks (3D or time series). This code is available at github, open to all kind of projects and ready to be included in any code workflow. Also an example dataset from xyz and xyt images is included (</italic>
                    <italic>
                        <ext-link ext-link-type="uri" xlink:href="https://zenodo.org/badge/latestdoi/442839907">https://zenodo.org/badge/latestdoi/442839907</ext-link>
                    </italic>
                    <italic>). </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>4) In this same section, the authors mention that this macro can be used to analyse a large number of images (High Content Screening and Analysis). For this type of analysis, it would be helpful that the option to check if the cells are well-segmented could be activated or deactivated. This way, it could be used to check some images and then run the macro over the entire experiment unsupervised.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>We agree that this option will be helpful for checking performance of the macro and it has been included at the GUI at the beginning of the macro.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>5) The macro is fast, and its code is well commented, which makes it easy to read and understand. Considering the different domains that a single type of image may have (such as changes in the intensity of the sample or noise), I suggest that the configuration parameters of the different methods become variables that are described at the beginning of the macro. Therefore, the macro gives the user the possibility, if needed, to quickly and easily change the parameters, avoiding changes within the code.</bold>
                </p>
                <p>
                    <bold> This option can be selected at GUI at the beginning of the macro.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>As suggested by the referees, an initial GUI has been implemented to define the image dependent variables (thresholds, ratio&#x2026;). </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>6) Similarly, in addition to converting the channels used each time into a variable, it is recommended to comment on the code and refer to the channels not only by their colour but also by what they contain, as sometimes the experts use different criteria for the colour that each channel represents.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>We agree that referring to the channels by what they represent will be more self-explanatory.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>7) As the macro progresses, the user can watch how several images are opened, which represent the intermediate steps. This intermediate image display slows down the macro, and it is suggested to use the &#x201c;setBatchMode (true)&#x201d; option whenever possible to avoid this effect.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>We totally agree that setting the macro to Batch Mode will fasten its performance, therefore we have set it.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>8) In addition, it is observed that the intermediate images that have been generated in the different steps remain open until the final result is obtained. To improve the performance of the macro, it is recommended that they are automatically closed when they are no longer needed.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>To improve the code&#x2019;s performance, now images are being closed when not necessary. </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>9) Regarding the use of GitHub to upload the macro, I recommend that the authors complete the README section, providing information on the installation of the macro, the requirements that are needed for the correct functioning of the macro, and a brief description of its use.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>We have provided the requested information in the 
                        <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ/blob/main/README.md">Readme</ext-link> section of GitHub.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>10) The macro gives a robust set of results, which offer the possibility of obtaining interesting relationships, as the authors have commented. However, I recommend adding the calculation of the standard deviation for both the mean of the perimeter of the LD and the mean of the length of the Contact. Since both means are already calculated, it is convenient to calculate the standard deviations for each one. All this would improve and facilitate the use of this macro by others in a general, simple and clear way.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>We totally agree that this data was missing and its inclusion improves the obtained information.</italic>
                </p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report82672">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.55111.r82672</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Sousa</surname>
                        <given-names>Mafalda</given-names>
                    </name>
                    <xref ref-type="aff" rid="r82672a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0003-2238-1070</uri>
                </contrib>
                <contrib contrib-type="author">
                    <name>
                        <surname>Azevedo</surname>
                        <given-names>Maria</given-names>
                    </name>
                    <xref ref-type="aff" rid="r82672a2">2</xref>
                    <role>Co-referee</role>
                </contrib>
                <aff id="r82672a1">
                    <label>1</label>i3S - Instituto de Investiga&#x00e7;&#x00e3;o e Inova&#x00e7;&#x00e3;o em Sa&#x00fa;de, Universidade do Porto, Porto, Portugal</aff>
                <aff id="r82672a2">
                    <label>2</label>3S - Instituto de Investiga&#x00e7;&#x00e3;o e Inova&#x00e7;&#x00e3;o em Sa&#x00fa;de, Universidade do Porto, Porto, Portugal</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>22</day>
                <month>4</month>
                <year>2021</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2021 Sousa M and Azevedo M</copyright-statement>
                <copyright-year>2021</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport82672" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.51900.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>A novel ImageJ macro script called ContactJ that allows for the automatic determination of contacts formed between lipid droplets (LD) and mitochondria in cells is presented. An interaction that is usually assessed by electron microscopy, involving a reduced number of biological events analyzed, is assessed in this work by the combination of fluorescence microscopy with automatic image analysis. This approach boosts the number of biological events analyzed. It turns the analysis more time-efficient by using colocalization methods combined with the segmentation of the LD, which extracts the contact region on the midplane of the LD that is in close proximity of mitochondria.</p>
            <p> </p>
            <p> The limitation of using light microscopy to look at very small contacts is clearly stated. Nevertheless, the use of this imaging technique as an indicator of possible contact between different organelles is well accepted in the community. Light microscopy was already shown to provide more information about the contacts between LD and mitochondria due to the sample thickness that is bigger than the sample prepared for transmission electron microscopy.</p>
            <p> </p>
            <p> ContactJ is presented as a well-established workflow. The authors combine tools previously developed in an exquisite way, such as the trainable Weka segmentation classifier and the colocalization plugin, with the conventional object segmentation. Figure 1 is very self-explanatory of the workflow followed by the macro script. Another positive aspect is the detailed output of the macro script that allows for a complex and quantitative analysis of the contacts established between the LD and mitochondria. The 
                <italic>Operation </italic>section description is well written, and no problems were found while running the macro script; it is a very simple and straightforward process.</p>
            <p> </p>
            <p> Despite the positive aspects mentioned above, there are fewer positive points that need to be checked:</p>
            <p> </p>
            <p> Regarding the strategy applied for the segmentation of the cells (page 3), most probably extra cell labeling could be used to facilitate this step. Usually, the staining of a cytoskeleton protein or the cell membrane staining is used to define the cells' boundary facilitating the cell segmentation step. The authors may consider such an approach in the sample preparation and imaging.</p>
            <p> </p>
            <p> Not so thorough is the description of the code behind the workflow. The authors are sparse in describing the different steps that make up the workflow. Some of those steps are not even mentioned in the 
                <italic>Implementation </italic>section of the manuscript, being only perceptible by reading or running the code line by line, which jeopardizes reproducibility. Likewise, the comments along the macro script are also sparse. A more detailed and extensive workflow description is needed, both in the manuscript and in the macro script. ImageJ good code practices suggest that you mention the ImageJ version and cite it in the associated publication.</p>
            <p> </p>
            <p> The citation "
                <italic>channels from mitochondria and LD were intensity compensated</italic>" should be explained to be more explicit. The authors commented in the script (line 143) "calculate addition 0.2LD+0.2mitochondria", meaning that the intensity compensation was 20% of the original values. Is there a reason for assigning this value? Should it be considered as a variable dependent on the dataset?</p>
            <p> </p>
            <p> In the 
                <italic>Implementation </italic>section (page 4), it is stated that &#x201c;
                <italic>the colocalized "contact" points between the mitochondria and LD 8-bit images (or stacks)</italic>". It is not clear if an 8-bit image is mandatory for determining the contact points or the number of channels that may compose the image. These details should be clearly stated. Additionally, as the reference to use a stack of images is made, the dataset available to test the macro script should contain this type of image.</p>
            <p> </p>
            <p> The available dataset for testing the code is unfortunately diminished. Only two very similar images are available for testing the script. The dataset for testing this tool should be bigger and the images must represent a real, heterogeneous population of cells to test the proposed script&#x2019;s execution and performance.</p>
            <p> </p>
            <p> Following the same lines, the script should be tested for quality and performance and presented in the manuscript. A previous publication shows the analysis of hundreds of HEK293 cells by the application of ContactJ. However, a comparison between the ContactJ results and another analysis method (such as manual quantification or using proprietary software) is not presented. Moreover, the usage of ContactJ to look at LD-mitochondria contacts in different cells (primary cells such as neurons, or other cell lines such as PC12 or CAD cells) could be included. Such validation is of extreme importance to show robustness and accuracy on the data obtained by the application of ContactJ.</p>
            <p> </p>
            <p> Throughout the manuscript, the term 
                <italic>database</italic> refers to the script output .txt file created upon the analysis (page 5). In our understanding, this terminology is incorrectly used since a database is a set of related tables. The authors can use the term 
                <italic>table </italic>since the output is indeed a table.</p>
            <p> </p>
            <p> Looking closer to the presented macro in ImageJ, some adjustments should be made. Along with the code, several hard-coded values are used, such as thresholding values and filter parameters. It is unclear how these values may be applied in different images or conditions. Maybe the authors should consider building a graphical user interface for prompting these parameters. Plus, there is no code error handling, not testing, for example, if the input is an 8-bit image with 3 channels. The algorithm premises that images are 8-bit depth, although this is not mentioned nor guaranteed along with the code.</p>
            <p> </p>
            <p> There is likely an error in the option of removing cell ROIs (lines 180-190). When deleting the cells, the results table with cell measurements is not updated and the deleted ROIs are the last ones on the table and not the ones corresponding to the correct position in the image. This error affects the results obtained, so it should be corrected. Furthermore, the 
                <italic>Resulting txt file&#x00a0;</italic>needs to be truncated or deleted from the results folder. Otherwise, it will append the results of further analysis.</p>
            <p> </p>
            <p> Running the ContactJ macro script takes some time (this should also be measured). The authors could improve the code performance by reducing the number of 
                <italic>for</italic>-cycles and by closing the images while the code is running (not only at the end). Also, the analysis could be set in batch mode (true), showing only the images for quality control.</p>
            <p> </p>
            <p> While ContactJ is being presented as a tool to look for contacts between LD and mitochondria, the translational application of this script is not obvious. It might strengthen the work if more broad applicability of the ContactJ is mentioned or, at least, speculated. We see the potential for the application of ContactJ on image analysis where interaction between different cell types (oligodendrocytes-neuron interaction, microglia-neuron interaction, yeast-macrophage interaction.), or between different cellular organelles is done. May the authors comment on these possible applications and add them to the Discussion section?</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Partly</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>No</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>Light microscopy image analysis specialist. Neuroscience.</p>
            <p>We confirm that we have read this submission and believe that we have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however we have significant reservations, as outlined above.</p>
        </body>
        <sub-article article-type="response" id="comment7654-82672">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Calvo</surname>
                            <given-names>Maria</given-names>
                        </name>
                        <aff>University of Barcelona, Spain</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>31</day>
                    <month>12</month>
                    <year>2021</year>
                </pub-date>
            </front-stub>
            <body>
                <p>
                    <bold>A novel ImageJ macro script called ContactJ that allows for the automatic determination of contacts formed between lipid droplets (LD) and mitochondria in cells is presented. An interaction that is usually assessed by electron microscopy, involving a reduced number of biological events analyzed, is assessed in this work by the combination of fluorescence microscopy with automatic image analysis. This approach boosts the number of biological events analyzed. It turns the analysis more time-efficient by using colocalization methods combined with the segmentation of the LD, which extracts the contact region on the midplane of the LD that is in close proximity of mitochondria.</bold>
                </p>
                <p>
                    <bold> </bold>
                </p>
                <p>
                    <bold> The limitation of using light microscopy to look at very small contacts is clearly stated. Nevertheless, the use of this imaging technique as an indicator of possible contact between different organelles is well accepted in the community. Light microscopy was already shown to provide more information about the contacts between LD and mitochondria due to the sample thickness that is bigger than the sample prepared for transmission electron microscopy.</bold>
                </p>
                <p>
                    <bold> </bold>
                </p>
                <p>
                    <bold> ContactJ is presented as a well-established workflow. The authors combine tools previously developed in an exquisite way, such as the trainable Weka segmentation classifier and the colocalization plugin, with the conventional object segmentation. Figure 1 is very self-explanatory of the workflow followed by the macro script. Another positive aspect is the detailed output of the macro script that allows for a complex and quantitative analysis of the contacts established between the LD and mitochondria. The 
                        <italic>Operation </italic>section description is well written, and no problems were found while running the macro script; it is a very simple and straightforward process.</bold>
                </p>
                <p>
                    <bold> </bold>
                </p>
                <p>
                    <bold> Despite the positive aspects mentioned above, there are fewer positive points that need to be checked:</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>Thank you for reviewing the article and pointing out the issues that would help to improve the presented work. We have tried to address all the suggestions and criticisms.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>1) Regarding the strategy applied for the segmentation of the cells (page 3), most probably extra cell labelling could be used to facilitate this step. Usually, the staining of a cytoskeleton protein or the cell membrane staining is used to define the cells' boundary facilitating the cell segmentation step. The authors may consider such an approach in the sample preparation and imaging.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>The cell segmentation has been adapted to a specific sample and experimental conditions that didn&#x2019;t support any cell mask or cytoskeleton labelling. To clarify this point, we have added a comment in the methods section that whenever is possible it is recommended to add a fourth channel of cytoskeleton, membrane or cell labelling to facilitate the cell segmentation step.</italic>
                </p>
                <p> </p>
                <p> 
                    <italic>Changes in the manuscript:</italic>
                </p>
                <p> 
                    <italic>
                        <underline>&#x201c;The present work has been adapted to the particular conditions of this experiment dataset where membrane or cell mask labelling couldn&#x2019;t be implemented. For this reason, a smart strategy for the cell segmentation has been used: the addition of the available cytoplasmic labellings (LD plus Mitochondria) and the Nucleus staining to define the cell region. Whenever it is possible, it is recommended to use a cell mask labelling to facilitate cell segmentation and individualization. In such case, the workflow for cell segmentation should be modified.&#x201d;</underline>
                    </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>2) Not so thorough is the description of the code behind the workflow. The authors are sparse in describing the different steps that make up the workflow. Some of those steps are not even mentioned in the 
                        <italic>Implementation </italic>section of the manuscript, being only perceptible by reading or running the code line by line, which jeopardizes reproducibility. Likewise, the comments along the macro script are also sparse. A more detailed and extensive workflow description is needed, both in the manuscript and in the macro script. ImageJ good code practices suggest that you mention the ImageJ version and cite it in the associated publication.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>We have added a more detailed and extensive workflow description and the ImageJ version both in the manuscript and in the macro script. </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>3) The citation "
                        <italic>channels from mitochondria and LD were intensity compensated</italic>" should be explained to be more explicit. The authors commented in the script (line 143) "calculate addition 0.2LD+0.2mitochondria", meaning that the intensity compensation was 20% of the original values. Is there a reason for assigning this value? Should it be considered as a variable dependent on the dataset?</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>As previously explained, the cell segmentation was adapted to the particular conditions of this experiment dataset where membrane or cell mask labelling couldn&#x2019;t be implemented. In this case, a practical strategy was to use the addition of the available cytoplasmic labelling (LD plus Mitochondria) and the Nucleus staining to define the cell region. In such particular case, in order to have similar intensity contributions from cytoplasmic labelling and nucleus, LD and mitochondria channels were multiplied by 0.2 to reduce its intensity contribution and make it more similar to the nucleus intensity.</italic>
                </p>
                <p> </p>
                <p> 
                    <italic>As pointed by the reviewers this value is dependent on the dataset and we have included a GUI to change this and other dataset dependent parameters</italic>.</p>
                <p> </p>
                <p> 
                    <italic>Changes in the manuscript:</italic>
                </p>
                <p> 
                    <italic>&#x201c;
                        <underline>First, ContactJ macro performs the segmentation of the cells, LD and mitochondria separately. For the segmentation of the cell, channels from mitochondria and LD were intensity compensated and added to a binary mask from nuclei. Cell segmentation was adapted to the particular conditions of this experiment dataset where a membrane or a cell mask labelling couldn&#x2019;t be implemented. Briefly, cell segmentation was achieved by adding the available cytoplasmic labellings (LD plus Mitochondria) and the Nucleus staining. To obtain similar intensity contributions from cytoplasmic labelling and nucleus, LD and mitochondria channels were multiplied each by 0.2 to reduce its intensity contribution and make it more similar to the nucleus intensity. As these factors are dependent on the different experimental conditions, they can be modified at the graphical user interface (GUI) at the beginning of the macro (referred at the GUI as Compensation). Intensity compensated channels from mitochondria and LD were added to a binary mask from nuclei.&#x201d;</underline>
                    </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>4) In the 
                        <italic>Implementation </italic>section (page 4), it is stated that &#x201c;
                        <italic>the colocalized "contact" points between the mitochondria and LD 8-bit images (or stacks)</italic>". It is not clear if an 8-bit image is mandatory for determining the contact points or the number of channels that may compose the image. These details should be clearly stated. Additionally, as the reference to use a stack of images is made, the dataset available to test the macro script should contain this type of image.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>As suggested by the referees, a more detailed description of the input image requirements has been included in the manuscript and the macro script. </italic>
                </p>
                <p> </p>
                <p> 
                    <italic>Changes in the manuscript:</italic>
                </p>
                <p> 
                    <italic>
                        <underline>&#x201c;This macro automatically and rapidly quantifies confocal images (1 section, 8-12-16 bit depth)&#x201d;</underline>
                    </italic>
                </p>
                <p> </p>
                <p> 
                    <italic>In reference to the stack images option, there is no limitation to implement the analysis through 3D stacks or time series, however the direct purpose of this macro was the analysis of 2D images </italic>
                    <italic>to extend contact analysis to&#x00a0;hundreds&#x00a0;of cells&#x00a0;and multiple conditions</italic>
                    <italic>. </italic>
                </p>
                <p> 
                    <italic>As mentioned along the work, contact analysis can be extended in any image type i.e. 3D images or through time. To facilitate this, we provide, at github, the core code of ContactJ (ContactJ4All) that generates a contacts mask from two channels from 2D images or from stacks (3D or time series). By combining the core ContactJ code with 3D objects analysis or objects tracking, contact analysis can be extended in 3D or time series.</italic>
                </p>
                <p> </p>
                <p> 
                    <italic>Changes in the manuscript:</italic>
                </p>
                <p> 
                    <italic>&#x201c;
                        <underline>ContactJ application can be extended to the contact analysis between other organelles, in 2D, 3D or time series. In fact, this code has been already adapted for the contact tracking analysis between LD and Endoplasmic Reticulum in time lapse experiments (13). To facilitate the applicability of ContactJ in 3D or 
                            <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ4All/blob/main/xyt_SupplFigure_ContactJ4All.mp4">time series</ext-link> images, and its combination with any available 3D objects analysis or objects tracking methods, respectively, a straightforward core code of ContactJ (ContactJ4All) has been developed. This code is ready to be included in any workflow and available on github </underline>
                        <ext-link ext-link-type="uri" xlink:href="https://zenodo.org/badge/latestdoi/442839907">https://zenodo.org/badge/latestdoi/442839907</ext-link>
                    </italic> 
                    <italic>
                        <underline>. Also, an example dataset from xyz and xyt images is included to test its performance.</underline>&#x201d;</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>
                        <italic>5) </italic>The available dataset for testing the code is unfortunately diminished. Only two very similar images are available for testing the script. The dataset for testing this tool should be bigger and the images must represent a real, heterogeneous population of cells to test the proposed script&#x2019;s execution and performance.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>To test the script performance and reproducibility, the dataset has been increased with more images representing a heterogeneous population of cells.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>6) Following the same lines, the script should be tested for quality and performance and presented in the manuscript. A previous publication shows the analysis of hundreds of HEK293 cells by the application of ContactJ. However, a comparison between the ContactJ results and another analysis method (such as manual quantification or using proprietary software) is not presented. Moreover, the usage of ContactJ to look at LD-mitochondria contacts in different cells (primary cells such as neurons, or other cell lines such as PC12 or CAD cells) could be included. Such validation is of extreme importance to show robustness and accuracy on the data obtained by the application of ContactJ.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>As suggested by the referee, a comparison between the ContactJ results and manual quantification has been performed. The comparison between ContactJ analysis vs Manual analysis shows that although both methods correlate, manual analysis-increases significantly standard deviation reducing reproducibility of the method and overestimating contact length.</italic>
                </p>
                <p> 
                    <italic>Additionally, while comparing both methods we have experienced that manual quantification doesn&#x2019;t allow precise contact tracing around organelles, secondly, that it&#x2019;s difficult to stablish visual criteria of proximity and finally, that manual tracing is not only time consuming but, after defining tens of contacts per cell, it results in quick user fatigue and loss of detection and precision. All these results reinforce the idea that ContactJ is an objective and reproducible method valid to define and quantify contacts between organelles automatically.&#x201d;</italic>
                </p>
                <p> 
                    <italic>Furthermore, robustness of ContactJ has been tested and validated also in contact analysis between Endoplasmic Reticulum and Lipid Droplets in U2OS cells in live cell imaging experiments</italic> 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1083/jcb.202105060">https://doi.org/10.1083/jcb.202105060</ext-link>).</p>
                <p> </p>
                <p> 
                    <italic>Changes in the manuscript: </italic>
                </p>
                <p> 
                    <italic>
                        <underline>&#x201c;In order to test quality and performance of ContactJ, a comparison between contact manual tracing analysis compared to ContactJ analysis has been performed on 20 cells. Mean and Standard Deviation (microns) from total contact length from Manual quantification were: 44.9220 and 30.1140, respectively, and from ContactJ analysis were: 30.8055 and 18.30792, respectively. ANOVA test was performed and showed no significant difference between both groups means (F=3.209 and p= 0.08) B). Correlation Analysis of the values obtained with both methods showed a correlation index of 0.899 significant at the 0.01 level (see extended data </underline>
                    </italic>
                    <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ/blob/main/Manual_vs_ContactJ_methods.pdf">
                        <italic>Manual_vs_ContactJ_methods.pdf</italic>
                    </ext-link>
                    <italic>
                        <underline>).</underline>
                    </italic>
                </p>
                <p> </p>
                <p> 
                    <italic>
                        <underline>The comparison between ContactJ analysis vs Manual analysis shows that although both methods correlate, manual analysis-increases significantly standard deviation reducing reproducibility of the method and overestimating contact length.</underline>
                    </italic>
                </p>
                <p> 
                    <italic>
                        <underline>Additionally, while comparing both methods we have experienced that manual quantification doesn&#x2019;t allow precise contact tracing around organelles, secondly, that it&#x2019;s difficult to stablish visual criteria of proximity and finally, that manual tracing is not only time consuming but, after defining tens of contacts per cell, it results in quick user fatigue and loss of detection and precision. All these results reinforce the idea that ContactJ is an objective and reproducible method valid to define and quantify contacts between organelles automatically.&#x201d;</underline>
                    </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>7) Throughout the manuscript, the term 
                        <italic>database</italic> refers to the script output .txt file created upon the analysis (page 5). In our understanding, this terminology is incorrectly used since a database is a set of related tables. The authors can use the term 
                        <italic>table </italic>since the output is indeed a table.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>We totally agree that the term database should be substituted by the term table. It has been corrected in the manuscript.</italic>
                </p>
                <p> </p>
                <p> 
                    <italic>Changes in the manuscript:</italic>
                </p>
                <p> 
                    <italic>
                        <underline>&#x201c;...that are saved in a folder and returns the table of the resulting measurements, images and Regions of Interests (ROIs) in a &#x201c;Results&#x201d; folder.&#x201d;</underline>
                    </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>8) Looking closer to the presented macro in ImageJ, some adjustments should be made. Along with the code, several hard-coded values are used, such as thresholding values and filter parameters. It is unclear how these values may be applied in different images or conditions. Maybe the authors should consider building a graphical user interface for prompting these parameters. Plus, there is no code error handling, not testing, for example, if the input is an 8-bit image with 3 channels. The algorithm premises that images are 8-bit depth, although this is not mentioned nor guaranteed along with the code.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>An initial GUI has been implemented to define the dataset dependent parameters (thresholds, ratio&#x2026;).</italic>
                </p>
                <p> </p>
                <p> 
                    <italic>A more accurate description of the input image requirements has been included (bit depth, channels&#x2026;) in the manuscript and the macro script.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>9) There is likely an error in the option of removing cell ROIs (lines 180-190). When deleting the cells, the results table with cell measurements is not updated and the deleted ROIs are the last ones on the table and not the ones corresponding to the correct position in the image. This error affects the results obtained, so it should be corrected. Furthermore, the 
                        <italic>Resulting txt file&#x00a0;</italic>needs to be truncated or deleted from the results folder. Otherwise, it will append the results of further analysis.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>The reported error has been fixed and now the deleted ROIs results are properly removed from the generated results table.</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>10) Running the ContactJ macro script takes some time (this should also be measured). The authors could improve the code performance by reducing the number of 
                        <italic>for</italic>-cycles and by closing the images while the code is running (not only at the end). Also, the analysis could be set in batch mode (true), showing only the images for quality control.</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>The code has been reviewed to avoid redundant operations. Images now, are being closed when not necessary to improve the code&#x2019;s performance. In addition, the analysis has been set in batch mode. </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>11) While ContactJ is being presented as a tool to look for contacts between LD and mitochondria, the translational application of this script is not obvious. It might strengthen the work if more broad applicability of the ContactJ is mentioned or, at least, speculated. We see the potential for the application of ContactJ on image analysis where interaction between different cell types (oligodendrocytes-neuron interaction, microglia-neuron interaction, yeast-macrophage interaction.), or between different cellular organelles is done. May the authors comment on these possible applications and add them to the Discussion section?</bold>
                </p>
                <p> </p>
                <p> 
                    <italic>The translational application of ContactJ is clear in the context of the lipid droplets role because their interaction with other organelles are now recognized as key factors in physiological and disease processes. As suggested by the referees we have commented the translational aspect of the macro and its possible applications in the discussion.</italic>
                </p>
                <p> 
                    <italic>We appreciate the referees view of ContactJ &#x2018;s potential. In fact, this code has already been extended to the contact analysis between LD and Endoplasmic Reticulum in time lapse experiments (A. Lu et al. </italic>
                    <italic>J. Cell Biol. 2021 Vol. 221 No. 2 e202105060 </italic>
                    <italic>
                        <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1083/jcb.202105060">https://doi.org/10.1083/jcb.202105060</ext-link>
                    </italic>
                    <italic>).</italic>
                </p>
                <p> </p>
                <p> 
                    <italic>To facilitate the applicability of ContactJ in 3D or time series images, and its combination with any available 3D objects analysis or objects tracking methods, respectively, we have developed a straightforward core code of ContactJ (ContactJ4all). This code is ready to be included in any workflow and available on github. Also, an example dataset from xyz and 
                        <ext-link ext-link-type="uri" xlink:href="https://github.com/UB-BioMedMicroscopy/ContactJ4All/blob/main/xyt_SupplFigure_ContactJ4All.mp4">xyt</ext-link> images is included to test its performance </italic>
                    <italic>
                        <ext-link ext-link-type="uri" xlink:href="https://zenodo.org/badge/latestdoi/442839907">https://zenodo.org/badge/latestdoi/442839907</ext-link>
                    </italic>
                </p>
            </body>
        </sub-article>
    </sub-article>
</article>
