-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash on PF_READS == 0 for AlignmentSummaryMetricsCollector (#1871)
* Create a (mostly) empty metrics file instead of giving an unhelpful stacktrace if PF_READS == 0. * Added check for the PF_READS == 0 case. * Added a corresponding test file. * Use a PicardException with an informative message when PF_READS == 0 and TOTAL_READS > 0.
- Loading branch information
Showing
3 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@HD VN:1.6 GO:none SO:queryname | ||
@RG ID:test SM:test_sample LB:test_lib PL:ILLUMINA PU:my_platform CN:BI DT:2023-01-01T00:00:00-0500 DS:description | ||
aln1 516 * 0 0 * * 0 0 AGCTACTG 99999999 RG:Z:test | ||
aln2 516 * 0 0 * * 0 0 GTCAGTCA 99999999 RG:Z:test | ||
aln3 516 * 0 0 * * 0 0 CCTTGGAA 99999999 RG:Z:test |