Peer Review History

Original SubmissionJune 17, 2019
Decision Letter - Giorgio F Gilestro, Editor
Transfer Alert

This paper was transferred from another journal. As a result, its full editorial history (including decision letters, peer reviews and author responses) may not be present.

PONE-D-19-17145

MARGO (Massively Automated Real-time GUI for Object-tracking), a platform for high-throughput ethology

PLOS ONE

Dear Dr. de Bivort,

Thank you for submitting your manuscript to PLOS ONE. I have reviewed the comments this manuscript received during its previous submission on the sister journal and I am happy to proceed using the feedback from those reviewers together with my own judgement. Reviewer #3, whose comments are here attached once more for your convenience, raised some questions aimed at clarifying some technical aspects of the work and we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

We would appreciate receiving your revised manuscript by Aug 05 2019 11:59PM. When you are ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter.

To enhance the reproducibility of your results, we recommend that if applicable you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). This letter should be uploaded as separate file and labeled 'Response to Reviewers'.
  • A marked-up copy of your manuscript that highlights changes made to the original version. This file should be uploaded as separate file and labeled 'Revised Manuscript with Track Changes'.
  • An unmarked version of your revised paper without tracked changes. This file should be uploaded as separate file and labeled 'Manuscript'.

Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

We look forward to receiving your revised manuscript.

Kind regards,

Giorgio F Gilestro, PhD

Academic Editor

PLOS ONE

Journal Requirements:

1. When submitting your revision, we need you to address these additional requirements.

Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

http://www.journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and http://www.journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Thank you for stating the following in the Competing Interests section:

I have read the journal's policy and the authors of this manuscript have the following competing interests: BdB is a scientific advisor at FlySorter, LLC

We note that you received funding from a commercial source: [Name of Company]

Please provide an amended Competing Interests Statement that explicitly states this commercial funder, along with any other relevant declarations relating to employment, consultancy, patents, products in development, marketed products, etc.

Within this Competing Interests Statement, please confirm that this does not alter your adherence to all PLOS ONE policies on sharing data and materials by including the following statement: "This does not alter our adherence to PLOS ONE policies on sharing data and materials.” (as detailed online in our guide for authors http://journals.plos.org/plosone/s/competing-interests).  If there are restrictions on sharing of data and/or materials, please state these. Please note that we cannot proceed with consideration of your article until this information has been declared.

Please include your amended Competing Interests Statement within your cover letter. We will change the online submission form on your behalf.

Please know it is PLOS ONE policy for corresponding authors to declare, on behalf of all authors, all potential competing interests for the purposes of transparency. PLOS defines a competing interest as anything that interferes with, or could reasonably be perceived as interfering with, the full and objective presentation, peer review, editorial decision-making, or publication of research or non-research articles submitted to one of the journals. Competing interests can be financial or non-financial, professional, or personal. Competing interests can arise in relationship to an organization or another person. Please follow this link to our website for more details on competing interests: http://journals.plos.org/plosone/s/competing-interests

Additional Editor Comments:

Reviewer #3: (inherited from previous submission)

The authors propose a system to track many animals independently. It is particularly tuned for high throughput of independent animals.

Major

It is not clear to me that Bonsai cannot do what MARGO does. Could you compare?

I could not find some parts of the algorithm (how it is decided that a blob is noise or animal, how you go from centroids to trajectories)

Minor

Authors seem to confuse idTracker with idtrackrer.ai. It is the second one that uses training, while you claim is the first one. Also idtracker.ai seem to be missing in ‘while others measure the collective

activity of groups without maintaining identities or rely on physical segregation of animals to ensure trajectories never Collide’

Unclear what ‘sample imaging statistics of clean tracking’ means

‘Each background image is computed as the mean or median image from a rolling stack of background sample images.’ How do you choose between mean or median?

Does the tracking start independently for every ROI? How long does it take to construct the BKG image? If an animal never moves, is there a way to extract this information or it should be inferred by the number of tracks obtained?

Typo: ‘pvalues¡¡

10−6 by t-test).’ And similar ones. pvalues¡¡ 10−6 by t-test).

I think the Abstract needs to be more specific. For example: ‘tracking’ is for animals independetly, for example in different wells. Maybe also clarify it is for MATLAB, as this is very informative for users. In main text I learn much better but MARGO is about:

1) fast and accurate individual tracking that

could be scaled to very large numbers of individuals or

experimental groups over very long timescales, 2) flexibility

in the user interface that would permit a diversity of

organisms, tracking modes, experimental paradigms, and

behavioral arenas, 3) integration of peripheral hardware to

enable closed-loop sensory and optogenetic stimuli, and 4)

a user-friendly interface and data output format.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files to be viewed.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org. Please note that Supporting Information files do not need this step.

Revision 1

[This is a copy of the response text I uploaded as a component of the revision]

Please find below a the full set of comments from the previous reviewer and editor (in blue) and our replies (in black). These were helpful comments and we have implemented changes that have improved the manuscript.

[From the editor:]

> Thank you for submitting your manuscript to PLOS ONE. I

> have reviewed the comments this manuscript received during

> its previous submission on the sister journal and I am

> happy to proceed using the feedback from those reviewers

> together with my own judgement. Reviewer #3, whose

> comments are here attached once more for your convenience,

> raised some questions aimed at clarifying some technical

> aspects of the work and we invite you to submit a revised

> version of the manuscript that addresses the points raised during the review process.

We thank the editor and reviewer for their constructive feedback, and believe we have made appropriate revisions to the manuscript.

[From Reviewer 3]

The authors propose a system to track many animals independently. It is particularly tuned for high throughput of independent animals.

Major Comments

It is not clear to me that Bonsai cannot do what MARGO does. Could you compare?

The reviewer rightly points out that Bonsai is similar to MARGO in the sense that it features support for many hardware devices and a flexible interface for defining custom experiments. We did not originally include Bonsai in our list of trackers because Bonsai is closer to a programming environment than a tracker. We are not experts in Bonsai and cannot definitively say what Bonsai can do, but we believe, given the flexibility of Bonsai and ReactiveX, that most if not all of MARGO’s functionality could be written and implemented in Bonsai. The flexibility offered by Bonsai extends well beyond that of MARGO. We see MARGO as a specific implementation of a tracking interface that includes many features useful for high-throughput and real-time tracking. MARGO does offer some flexibility for defining new experimental regimes within the same overarching schema of parallel tracking and/or stimulus targeting of hundreds or thousands of ROIs. We believe that some users may find it simpler and more efficient to run experiments similar to those pre-packaged with MARGO, particularly users who are unfamiliar with Bonsai’s API and ReactiveX.

We have now added Bonsai to our table of trackers, noting its generality as a device programming environment. We have also now included it in the discussion.

I could not find some parts of the algorithm (how it is decided that a blob is noise or animal, how you go from centroids to trajectories)

We thank the reviewer for pointing out this discrepancy and have added clarifying text. Briefly, in each frame, candidate blobs are identified as the blobs that are both 1) between minimum and maximum size threshold and 2) located within the bounds of an ROI. Candidate blobs are subsequently assigned to ROIs by spatial location. Within each ROI, candidate blobs are matched to centroid traces by minimizing the total frame-to-frame changes in position within each ROI. If the number of candidates exceeds the number of traces in a given ROI, only the candidates closest to the last centroid positions of the traces are assigned. If the number of traces exceeds the number of candidates, the candidates are assigned to the closest traces and any remaining traces are assigned no position (i.e. NaN) for that frame.

Minor Comments

Authors seem to confuse idTracker with idtrackrer.ai. It is the second one that uses training, while you claim is the first one.

We have changed the text and citation to correctly cite idTracker.ai.

Also idtracker.ai seem to be missing in ‘while others measure the collective activity of groups without maintaining identities or rely on physical segregation of animals to ensure trajectories never Collide’

We believe that idTracker.ai does not belong on this list, since it is capable of maintaining individual identities without physical separation.

Unclear what ‘sample imaging statistics of clean tracking’ means.

We have re-worded this sentence clarify that this step of the MARGO workflow refers to sampling the number of foreground pixels under clean imaging conditions to construct a distribution and compute statistics on that distribution.

‘Each background image is computed as the mean or median image from a rolling stack of background sample images.’ How do you choose between mean or median?

The user can choose within the tracking options whether the background image is computed as the mean or median of the sample images. By default, MARGO computes the background image as the median of the sample images since it can compute an accurate representation of how the background should look without the animal with as few as three images (provided that the animal moves between samples). Mean referencing often requires more sampling to remove ghost-like images of the animal from the background. We have reworded the sentence to help clarify that point.

Does the tracking start independently for every ROI?

Tracking starts for all ROIs simultaneously once the setup steps are completed (ie. ROI definition, background image, and .

How long does it take to construct the BKG image?

Typically we find that it takes between 3-30 seconds to establish the background image for most animals. Importantly, background image updating occurs continuously throughout tracking; so it is not essential that animals move prior to the start of tracking. We have now added this information to the text.

If an animal never moves, is there a way to extract this information or it should be inferred by the number of tracks obtained?

The number of traces output by MARGO is specified by the user prior (default) or automatically estimated (if this option is selected by the user) prior to tracking. In either case, the total number of traces is fixed before tracking and are organized by ROIs (the number of traces in each ROI can be a different number for each ROI). Animals that never move and are therefore averaged into the background, will receive no assigned position in each frame (i.e. NaN). Thus there will be a trace for each animal and it is possible to identify which animals are inactive by the total distance traveled for each trace. We’ve clarified the above points in the text.

I think the Abstract needs to be more specific. For example: ‘tracking’ is for animals independently, for example in different wells. Maybe also clarify it is for MATLAB, as this is very informative for users. In main text I learn much better but MARGO is about:

1. fast and accurate individual tracking that could be scaled to very large numbers of individuals or experimental groups over very long timescales

2. flexibility in the user interface that would permit a diversity of organisms, tracking modes, experimental paradigms, and behavioral arenas

3. integration of peripheral hardware to enable closed-loop sensory and optogenetic stimuli

4. a user-friendly interface and data output format.

We have attempted to make the abstract more specific, and adopted the reviewer’s suggestion to indicate that it is a MATLAB package. Since MARGO does track multiple animals in the same well/arena (though without maintaining identity), we didn’t want to imply that it exclusively tracks one animal per well, but we changed the language to emphasize that this is the typical configuration. We also modified the abstract to better highlight the specific features listed above.

Attachments
Attachment
Submitted filename: MARGO_Response to Reviewers.pdf
Decision Letter - Giorgio F Gilestro, Editor

MARGO (Massively Automated Real-time GUI for Object-tracking), a platform for high-throughput ethology

PONE-D-19-17145R1

Dear Dr. de Bivort,

We are pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it complies with all outstanding technical requirements.

Within one week, you will receive an e-mail containing information on the amendments required prior to publication. When all required modifications have been addressed, you will receive a formal acceptance letter and your manuscript will proceed to our production department and be scheduled for publication.

Shortly after the formal acceptance letter is sent, an invoice for payment will follow. To ensure an efficient production and billing process, please log into Editorial Manager at https://www.editorialmanager.com/pone/, click the "Update My Information" link at the top of the page, and update your user information. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to enable them to help maximize its impact. If they will be preparing press materials for this manuscript, you must inform our press team as soon as possible and no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

With kind regards,

Giorgio F Gilestro, PhD

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Formally Accepted
Acceptance Letter - Giorgio F Gilestro, Editor

PONE-D-19-17145R1

MARGO (Massively Automated Real-time GUI for Object-tracking), a platform for high-throughput ethology

Dear Dr. de Bivort:

I am pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please notify them about your upcoming paper at this point, to enable them to help maximize its impact. If they will be preparing press materials for this manuscript, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

For any other questions or concerns, please email plosone@plos.org.

Thank you for submitting your work to PLOS ONE.

With kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Giorgio F Gilestro

Academic Editor

PLOS ONE

Open letter on the publication of peer review reports

PLOS recognizes the benefits of transparency in the peer review process. Therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. Reviewers remain anonymous, unless they choose to reveal their names.

We encourage other journals to join us in this initiative. We hope that our action inspires the community, including researchers, research funders, and research institutions, to recognize the benefits of published peer review reports for all parts of the research system.

Learn more at ASAPbio .