Peer Review History
| Original SubmissionSeptember 24, 2021 |
|---|
|
Dear Dr De Maio, Thank you very much for submitting your manuscript "phastSim: efficient simulation of sequence evolution for pandemic-scale datasets" for consideration at PLOS Computational Biology. As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. In light of the reviews (below this email), we would like to invite the resubmission of a significantly-revised version that takes into account the reviewers' comments. I agree with the consensus among the three reviewers. This approach is novel and potentially quite useful. That said, the reviewers identified several areas that require attention and improvement. In particular, Reviewers #1 and #3 raise an important point about the structure and focus of the manuscript. We cannot make any decision about publication until we have seen the revised manuscript and your response to the reviewers' comments. Your revised manuscript is also likely to be sent to reviewers for further evaluation. When you are ready to resubmit, please upload the following: [1] A letter containing a detailed list of your responses to the review comments and a description of the changes you have made in the 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. [2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file). Important additional instructions are given below your reviewer comments. Please prepare and submit your revised manuscript within 60 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. Please note that revised manuscripts received after the 60-day due date may require evaluation and peer review similar to newly submitted manuscripts. Thank you again for your submission. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments. Sincerely, Joel O. Wertheim Associate Editor PLOS Computational Biology Ville Mustonen Deputy Editor PLOS Computational Biology *********************** I agree with the consensus among the three reviewers. This approach is novel and potentially quite useful. That said, the reviewers identified several areas that require attention and improvement. In particular, Reviewers #1 and #3 raise an important point about the structure and focus of the manuscript. Reviewer's Responses to Questions Comments to the Authors: Please note here if the review is uploaded as an attachment. Reviewer #1: In this manuscript, the authors present a novel tool for simulating the evolution of an ancestral sequence along a given phylogeny. The authors have made the tool available as an open source package available on GitHub with user-friendly installation possible via PyPI (using the pip package manager). As promised in the manuscript and GitHub repo, I was able to easily install the tool, along with all of its dependencies, on my laptop via a simple "pip install phastSim" command (using an Ubuntu 18.04 environment in the Windows Subsystem for Linux). I was then able to run the tool using the example dataset provided in the GitHub repo, which finished running in just ~15 seconds on my laptop, which is quite impressive given the sample dataset size. I only briefly skimmed through the code base on GitHub, but at a glance, it's quite clean and organized. Regarding the algorithms presented, the authors present clever techniques for efficiently simulating sequence evolution along a tree, and importantly, their approach supports the simulation of insertions and deletions, something not supported by Pyvolve nor (if I recall correctly) Seq-Gen. Regarding the manuscript itself, I believe the paper is overall well-written: as expected from a paper of this nature, the authors (1) introduce the bioinformatics problem at hand, (2) discuss prior work in the space, (3) introduce their novel approach, (4) present their approach's algorithms and tool implementation, (5) describe a simulation experiment to benchmark their tool against existing methods, (6) present the results of the benchmarking experiment, and (7) discuss the results. However, I believe the paper requires some significant revision: - The technical details of the simulation experiment are currently presented in the "Results" section of the manuscript. From my perspective, it would make more sense to move the technical details about the methods behind the simulation experiment to the "Materials and methods" section of the manuscript. I believe only the results of the simulation experiment (i.e., the actual benchmarking measurements) should be presented in the "Results" section - The paper only shows runtime measurements for the various tools, but because of the large number of simulations that need to be executed, ideally with many replicates in parallel, in large-scale simulation experiments such as those used to study COVID-19 (e.g. Pekar et al., Science 2021), and because the simulation of sequence evolution can be quite memory-intensive (as mentioned by the authors), the benchmarking results should include plots depicting peak memory usage of the various tools as well. I apologize in advance for asking for this, as I'm sure it'll require quite of work to be redone, but in addition to runtime measurements, peak memory measurements are critical to properly compare these tools - Figure 1 should be cleaned up to look a bit more professional / production-quality. For example, the child branches coming out of the internal nodes of the tree are quite inconsistent in terms of spacing, and rather than using "->" to denote a right arrow, it would be better to actually use a right arrow (→), etc. - Figure 2 should be cleaned up substantially: the image looks quite distorted (namely the small red-and-blue trees), perhaps because of resizing vertically? - Figures 4, 5, and 7 should be redone to look consistent with Figures 3 and 6 (especially the legends and tick labels). Further, these 3 figures have far too much vertical space: the y-max should be much smaller (e.g. 150 seconds for Figure 4, 3 seconds for Figure 5, and 45 seconds for Figure 7) - Why are Figures 4, 5, and 7 using different-sized trees for each tool in these experiments? These should be replaced with the exact same trees for each tool, just as was done in Figures 3 and 6. If the decision to use different-sized trees was for the sake of presentation due to huge variation in runtime across the tools, the authors can use a log-scale for the vertical axis. Even in the figures' current form, the boxes are quite squished, and log-scale may help better depict them - Figure 5's minimum vertical axis value (y-min) should be 0, not -1, as these are runtimes (if the vertical axis is changed to log-scale as I recommended in a prior bullet, the y-min would need to be a positive number rather than 0) - I was not able to find the datasets used in the simulation experiments. I understand that GISAID has tight restrictions on releasing actual sequences, but the phylogenies used in the simulation experiments, along with the raw benchmarking measurements should be made publicly available (e.g. in a separate GitHub repo, on Data Dryad, on figshare, etc.). If the authors are worried about GISAID terms with respect to the phylogeny, the only identifiable component would be the tip labels, so the authors can simply replace the tip labels with arbitrary values (e.g. "0", "1", etc.). I would recommend also including all scripts/commands utilized in conducting the benchmarking experiments so that a reader can simply copy-and-paste the exact commands you used and (more-or-less) reproduce the benchmarking results Less significant general comments for improvement of presentation: - The formatting of the pseudocode in the various algorithms is somewhat inconsistent. Of note, the spacing between the equal signs in assignments is inconsistent (sometimes "a=b", sometimes "a= b", sometimes "a =b", and sometimes "a = b"). It would be good to revise to be consistent; I would recommend putting spaces between symbols for clarity - Assignment operations in pseudocode are typically denoted using a left arrow (←) rather than using an equal sign (=) - Multiple parts of the paper say "sample ___ from an exponential distribution with parameter ____", which is slightly ambiguous: the exponential distribution has two possible parameterizations (rate, or scale = 1/rate), and while the rate parameterization is the most typical representation (to my knowledge), it would be good to specify, e.g. "sample ____ from an exponential distribution with rate parameter ____" - All figures appear quite pixelated in the PDF I downloaded. However, this may be an artifact of the submission system, so it may not actually be an issue on the authors' end (but it would be good to double check) - Figure 3 may be improved by presenting the vertical axis in log-scale to better distinguish between the runtimes of smaller values of "number of tips" (though not necessary, as the trends are quite clear even in the current presentation) Specific comments about wording/grammar/text throughout the manuscript: - "Sequence simulators are fundamental tools in bioinformatics, as they allow us to test data processing and inference tools, as well as being part of some inference methods" --> The last clause of this sentence is grammatically incorrect and should be revised - "Here we present a new algorithm and software for ..." --> There should be a comma after "Here" - "Our algorithm is based on the Gillespie approach, and implements an ..." --> There should be an "it" before "implements" - "either for example through Approximate Bayesian Computation [6, 7], see e.g. [8, 9]," --> I wonder if this could just be changed to be "Approximate Bayesian Computation [6-9]" (i.e., remove the "e.g." part)? Same comment for the following sentence - The paragraph starting with "In this simplified “vanilla” scenario..." may benefit from being split into two parts, e.g. with a new paragraph starting at " A pseudocode description of..." - The end of the paragraph starting with "In this simplified “vanilla” scenario..." presents details about the tool implementation, though those tool-specific descriptions should likely be moved to the portion of the manuscript that describes the tool - There are some more minor grammar issues throughout, so the paper may benefit from another pass of internal revisions for such things Overall, I was thoroughly impressed by this work, and I look forward to utilizing phastSim in my own research! Reviewer #2: The review is uploaded as a separate PDF. Reviewer #3: Summary. The authors develop phastSim, a software package for simulating the evolution of sequences along a tree. The authors' primary innovation is the development of a data structure that allows efficient computation of sequences on large trees. As someone who is an expert in this field, I have experimented with using a binary-search tree to efficiently identify the location of a mutation during simulation. I also abandoned such an algorithm because of the primary problem diagnosed in this paper: copying the binary-search tree to descendant phylogenetic branches is an expensive operation. The authors solved this problem by developing a multi-layer binary search tree that doesn't have to be copied at every phylogenetic split. Instead nodes maintain different views of the shared data-structure, and descendant branches add nodes to the data-structure to update their views when mutations happen without affecting other views. I found this algorithm an interesting solution to the problem. Major Comments. The paper's primary result is comparing features and runtime between existing programs. Such comparisons should be a secondary result in my opinion. Instead, simulation papers should focus on demonstrating the accuracy of their simulation software. However in this paper, there is no evidence presented that the simulated data generated by phastSim agrees with the models being simulated. It's not uncommon to find subtle bugs in simulation programs that introduce bias into simulations. This is why it is important for simulation papers to demonstrate their accuracy before they compare their performance to other programs. Accuracy can be demonstrated several ways, including using summary statistics, statistical tests, or parameter estimation to show that the simulated output matches what one would expect from the model. Doing all three for several different models support by phastSim would make a strong case that the software is accurate. It appreciate that the code is open source and freely licensed. Minor Comments. Several of the algorithms presented as figures in the manuscript were adequately explained in the text. I think the paper would be improved by removing some of these algorithms from the paper. For example, Algorithms 2 and 6. ********** Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available? The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified. Reviewer #1: Yes Reviewer #2: Yes Reviewer #3: Yes ********** PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files. If you choose “no”, your identity will remain anonymous but your review may still be made public. Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy. Reviewer #1: Yes: Niema Moshiri Reviewer #2: No Reviewer #3: No Figure Files: 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. 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. Data Requirements: Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5. Reproducibility: To enhance the reproducibility of your results, we recommend that 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. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols
|
| Revision 1 |
|
Dear Dr De Maio, Thank you for the thorough revision. Please have a look of the few remaining, mostly stylistic, suggestions by the reviewers and try to accommodate them. Thank you very much for submitting your manuscript "phastSim: efficient simulation of sequence evolution for pandemic-scale datasets" for consideration at PLOS Computational Biology. As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. The reviewers appreciated the attention to an important topic. Based on the reviews, we are likely to accept this manuscript for publication, providing that you modify the manuscript according to the review recommendations. Please prepare and submit your revised manuscript within 30 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. When you are ready to resubmit, please upload the following: [1] A letter containing a detailed list of your responses to all review comments, and a description of the changes you have made in the 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 [2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file). Important additional instructions are given below your reviewer comments. Thank you again for your submission to our journal. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments. Sincerely, Ville Mustonen Deputy Editor PLOS Computational Biology Ville Mustonen Deputy Editor PLOS Computational Biology *********************** A link appears below if there are any accompanying review attachments. If you believe any reviews to be missing, please contact ploscompbiol@plos.org immediately: [LINK] Reviewer's Responses to Questions Comments to the Authors: Please note here if the review is uploaded as an attachment. Reviewer #1: We thank the authors for their significant revisions. The paper looks excellent, and all of our key concerns have been addressed. We have the following (extremely minor) comments regarding the revised version of the manuscript: - In Figures 3 and 6, it's unclear to me why "tree generation" is included in the runtime comparisons, as it's not really relevant to the task at hand (sequence simulation). I would recommend removing it such that the comparison is only between sequence simulation methods - In Figure 3, in the blue curve (tree generation), why is there such a large variance at the 5th point from the left? I imagine at least 1 measurement may have gotten skewed by background processes on the benchmarking machine or something; I would recommend trying to rerun that point while the machine is not being used. Note that this comment is moot if the "tree generation" curves are removed from the figures as per my previous comment - In the Algorithm 6 pseudocode, at the top of the "else" statement, rather than using the syntax "int(l/2)" (which is likely the Python code that was used to typecast the result of a floating point division to int), I would recommend using the mathematical notation for "floor", e.g. ⌊l/2⌋. In general, it may be good for the authors to take a pass through the algorithms to ensure that they are using standard mathematical pseudocode syntax rather than Python-like syntax where applicable Reviewer #2: The authors have addressed all my comments and I am happy to recommend acceptance at this stage. Reviewer #3: The authors have fully addressed my comments from the previous version. I looked at the supplemental figures showing the accuracy of the simulations. I feel that these figures were quickly put together, and the supplement would benefit from some more time spent on them. This includes (1) increasing font sizes following journal guidelines and (2) consistently marking location of no-error on all histograms. Also the histograms seem a bit blocky to me. The authors should explore other visualizations, including jitter plots, qqplots, and empirical CDFs. The authors should also make note of when two lines or plots are on top of one another, that helps readers know that data hasn't been left out. ********** Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available? The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified. Reviewer #1: Yes Reviewer #2: Yes Reviewer #3: Yes ********** PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files. If you choose “no”, your identity will remain anonymous but your review may still be made public. Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy. Reviewer #1: Yes: Niema Moshiri Reviewer #2: No Reviewer #3: No Figure Files: 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. 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. Data Requirements: Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5. Reproducibility: To enhance the reproducibility of your results, we recommend that 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. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols References: Review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript. If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice. |
| Revision 2 |
|
Dear Dr De Maio, We are pleased to inform you that your manuscript 'phastSim: efficient simulation of sequence evolution for pandemic-scale datasets' has been provisionally accepted for publication in PLOS Computational Biology. Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests. Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated. IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript. Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS. Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. Best regards, Ville Mustonen Deputy Editor PLOS Computational Biology Ville Mustonen Deputy Editor PLOS Computational Biology *********************************************************** |
| Formally Accepted |
|
PCOMPBIOL-D-21-01738R2 phastSim: efficient simulation of sequence evolution for pandemic-scale datasets Dear Dr De Maio, I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course. The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript. Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers. Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work! With kind regards, Anita Estes PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol |
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 .