Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default in RevertSam for restoring hard-clips to true #1509

Merged
merged 3 commits into from
May 15, 2020

Conversation

fleharty
Copy link
Contributor

Description

Give your PR a concise yet descriptive title
Please explain the changes you made here.
Explain the motivation for making this change. What existing problem does the pull request solve?
Mention any issues fixed, addressed or otherwise related to this pull request, including issue numbers or hard links for issues in other repos.
You can delete these instructions once you have written your PR description.


Checklist (never delete this)

Never delete this, it is our record that procedure was followed. If you find that for whatever reason one of the checklist points doesn't apply to your PR, you can leave it unchecked but please add an explanation below.

Content

  • Added or modified tests to cover changes and any new functionality
  • Edited the README / documentation (if applicable)
  • All tests passing on Travis

Review

  • Final thumbs-up from reviewer
  • Rebase, squash and reword as applicable

For more detailed guidelines, see https:/broadinstitute/picard/wiki/Guidelines-for-pull-requests

@fleharty fleharty requested a review from gbggrant May 15, 2020 14:07
@@ -155,8 +155,8 @@
@Argument(shortName = "OBR", doc = "When true, outputs each read group in a separate file.")
public boolean OUTPUT_BY_READGROUP = false;

@Argument(shortName = "RHC", doc = "Restore reads and qualities with hard-clips of records containing have XB and XQ tags.")
public boolean RESTORE_HARDCLIPS = false;
@Argument(shortName = "RHC", doc = "When false, does not attempt to restore reads and qualities of records with hard-clips containing XB and XQ tags.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why changing this option to default to true would require changing the description to be in the negative form. Usually it's easier to understand if documentation is written in the positive

Suggested change
@Argument(shortName = "RHC", doc = "When false, does not attempt to restore reads and qualities of records with hard-clips containing XB and XQ tags.")
@Argument(shortName = "RHC", doc = "When true, attempt to restore reads and qualities of records with hard-clips containing XB and XQ tags.")

@fleharty
Copy link
Contributor Author

@pshapiro4broad back to you

Copy link
Contributor

@gbggrant gbggrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@fleharty fleharty merged commit 53b419c into master May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants