From 0349f4695e6c81e34ae473b0d0950c5326171c5c Mon Sep 17 00:00:00 2001 From: Ron Levine Date: Fri, 7 Jul 2017 13:32:52 -0400 Subject: [PATCH] Add a doc note to change VALIDATION_STRINGENCY if validation error --- src/main/java/picard/sam/RevertSam.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/picard/sam/RevertSam.java b/src/main/java/picard/sam/RevertSam.java index 0220a85d7..65bbf30b9 100644 --- a/src/main/java/picard/sam/RevertSam.java +++ b/src/main/java/picard/sam/RevertSam.java @@ -108,6 +108,9 @@ "Will output a BAM/SAM file per read group. By default, all outputs will be in BAM format. " + "However, outputs will be in SAM format if the input path ends with '.sam', or CRAM format if it ends with '.cram'." + " This behaviour can be overriden with OUTPUT_BY_READGROUP_FILE_FORMAT option."+ + "

Note: If the program fails due to a SAM validation error, consider setting the VALIDATION_STRINGENCY option to " + + "LENIENT or SILENT if the failures are expected to be obviated by the reversion process " + + "(e.g. invalid alignment information will be obviated when the REMOVE_ALIGNMENT_INFORMATION option is used).

" + "
"; @Option(shortName = StandardOptionDefinitions.INPUT_SHORT_NAME, doc = "The input SAM/BAM file to revert the state of.") public File INPUT;