Peer Review History

Original SubmissionDecember 4, 2020
Decision Letter - Jian Ma, Editor, Ferhat Ay, Editor

Dear Dr. Chaisson,

Thank you very much for submitting your manuscript "lra: A long read aligner for sequences and contigs" 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. The most critical points that need to be fully addressed are further evaluation of mapping accuracy, concerns about high false positive rates and improving the documentation of the tool to highlight its benefits.

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,

Ferhat Ay, Ph.D

Associate Editor

PLOS Computational Biology

Jian Ma

Deputy Editor

PLOS Computational Biology

***********************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: Ren & Chaisson described lra, a new long-read aligner specialized for calling structural variations (SVs). Lra implements a chaining algorithm with concave gap cost functions. Although the algorithm is not new, as the authors said, this is probably the first time the algorithm gets implemented. This manuscript represents an important addition in this field. Critical observations are as follows:

1) I tried lra v1.1.0 on reads simulated by PBSIM. At mapping quality 60, lra wrongly mapped 1.3% of reads. This is not as good as NGMLR. While simulation based evaluation may not reflect the accuracy on real data, it is a good sanity check and indicative of low-level algorithmic issues. I wonder if the authors can improve the mapping accuracy further. The file is available at https://github.com/lh3/minimap2/releases/download/v2.0/pb-1.fa.gz and the mapping result can be evaluated by "paftools.js mapeval -r 1e-6".

2) For a second test, I mapped the HG002 maternal hifiasm assembly to GRCh38 and call variants with "htsbox -vcf ref.fa -q5 -S10000 -T20 srt.bam | awk '$6==1'". Minimap2 -xasm5 calls 3.75M variants, which is about right. Lra calls 9.53M. The number is too high, suggesting the majority are false positives. I guess this is caused by inaccurate base alignment. I understand the authors are focusing on SVs, but the high false positive rate of small variants is concerning. It would be good if the authors can try to improve that.

3) For each query sequence, minimap2 chains all anchors in one round and produces multiple chains. In comparison, lra clusters anchors first and then chains in each cluster. While lra chaining may be theoretically better, clustering is heuristic and may not be as good. Combining clustering and chaining might hurt overall mapping accuracy. The authors said they use clustering "for efficiency". How much efficiency is affected if we use lra chaining for all anchors?

Minor comments

4) Minimap2+paftools is primarily developed for calling small variants, not for calling SVs. We can increase the recall of SV calling by adding options "-r2k -z2000,200" or even "-r7k -z2000,200". This trades performance and small variant accuracy for SV accuracy.

5) The manuscript is using concave gap cost functions, not convex.

6) Apparently, lra requires C++14 or C++17 to compile. However, Makefile is not using an option like -std=c++14. I got a compilation error.

Reviewer: Heng Li

Reviewer #2: Long read sequencing is a technology that becomes more important in recent days. Alignment of long reads is the fundamental step for many downstream analyses. In this manuscript, the authors described the design of lra, and compared the output to other programs. The tool is extreme valuable for long reads data analyses. It is challenging to understand all details described in the manuscript, but the paper is well-written, solid and with enough details. I also tested the program. It is easy to install and use. For an actively emerging area, any new tools are welcomed, and lra is one of the excellent ones from my point of view. Thus, I suggest accepting the manuscript with some minor revisions as shown below. I suggest the authors to improve the GitHub page to make it easier for users to understand the benefit of using lra.

Minor points:

Page 2 line 47, change “translocation” to “translocations”.

Page 5 line 150, change “section 3.3” to something else, as currently there is no title like “3.3”. The same for other similar cases.

There are a lot of abbreviations in this paper, such as “DATA” (line 206), “SA”, “SB” (line 237). It is better to add some explanations to make it easier for readers to follow. SA means subproblem A part?

Line 343, change “can be only be” to “can only be”.

Line 413, not a problem but I am surprised that GRCh37 instead of GRCh38 is used. Maybe because the curated variant file is based on GRCh37? Why It is “mapped to GRCh38” in line 427?

Line 423, “the number of bases aligned by lra and minimap2 are within 0.03-7%”. I do not understand. Do you mean the difference between the alignments by the two programs?

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: Yes

Reviewer #2: 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: Heng Li

Reviewer #2: 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, PLOS recommends that you deposit 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, please see http://journals.plos.org/compbiol/s/submission-guidelines#loc-materials-and-methods

Revision 1

Attachments
Attachment
Submitted filename: LRA Review comments.pdf
Decision Letter - Jian Ma, Editor, Ferhat Ay, Editor

Dear Chaisson,

We are pleased to inform you that your manuscript 'lra: A long read aligner for sequences and contigs' 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.

Also, we strongly encourage you to address the few remaining points raised by two reviewers. Since these are very minor, we did not want to make you go through another round of revisions but rather address these together with other editorial edits needed in one final submission.  

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,

Ferhat Ay, Ph.D

Associate Editor

PLOS Computational Biology

Jian Ma

Deputy Editor

PLOS Computational Biology

***********************************************************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: I have tried the latest LRA from github on the T2T CHM13 assembly and a HG00733 assembly. LRA crashed on both inputs. Nonetheless, based on the alignments it has outputted, I can see that LRA has greatly improved the alignment quality, which has addressed most of my major concerns in the previous round. Please fix the bug and make sure LRA runs under addressSanitizer. I also have a couple of minor comments. These are just suggestions that the authors may ignore:

1) It would be good to use a command-line option parser that is compatible with POSIX getopt. This will be more convenient to users and is less error prone.

2) In the SAM output, we use "=" for sequence matches and "X" for mismatches. We don't mix "M" and "X" together.

Reviewer #2: The authors have answered all my questions and included a great number of improvements compared to last submission. One tiny flaw may be “when a 40% overlap with the simulated interval is required for a correct alignment (Figure ??)”, where the meaning of “??” is unknown. The authors may consider adding some subtitles for “3 Results”. Otherwise, I think the manuscript is in great shape.

Reviewer #3: I have gone through the revision, and the authors have adequately

addressed all my comments. I have no further comments.

**********

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: Heng Li

Reviewer #2: No

Reviewer #3: No

Formally Accepted
Acceptance Letter - Jian Ma, Editor, Ferhat Ay, Editor

PCOMPBIOL-D-20-02184R1

lra: A long read aligner for sequences and contigs

Dear Dr Chaisson,

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,

Zsofi Zombor

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 .