-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding some sanity checking to IntervalList reading. (#1230)
* auto formatted IntervalList * adding additional checks to IntervalList to prevent invalid values
- Loading branch information
1 parent
28dde96
commit 4a7cb03
Showing
7 changed files
with
313 additions
and
177 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
7 changes: 7 additions & 0 deletions
7
src/test/resources/htsjdk/samtools/intervallist/broken.end.extends.too.far.interval_list
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,7 @@ | ||
@SQ SN:1 LN:249250621 | ||
@SQ SN:2 LN:243199373 | ||
@SQ SN:3 LN:198022430 | ||
1 8216712 8216712 + rs11121115 | ||
1 17032814 17032814 + rs2773183 | ||
2 1143476 1243476 * borked | ||
2 9240279 9240279 + rs56249990 |
7 changes: 7 additions & 0 deletions
7
src/test/resources/htsjdk/samtools/intervallist/broken.start.bigger.than.end.interval_list
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,7 @@ | ||
@SQ SN:1 LN:249250621 | ||
@SQ SN:2 LN:243199373 | ||
@SQ SN:3 LN:198022430 | ||
1 8216712 8216712 + rs11121115 | ||
1 17032816 17032814 + borked | ||
2 1143476 1143476 + rs4998209 | ||
2 9240279 9240279 + rs56249990 |
7 changes: 7 additions & 0 deletions
7
src/test/resources/htsjdk/samtools/intervallist/broken.unallowed.strand.interval_list
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,7 @@ | ||
@SQ SN:1 LN:249250621 | ||
@SQ SN:2 LN:243199373 | ||
@SQ SN:3 LN:198022430 | ||
1 8216712 8216712 + rs11121115 | ||
1 17032814 17032814 + rs2773183 | ||
2 1143476 243199374 + borked | ||
2 9240279 9240279 + rs56249990 |
7 changes: 7 additions & 0 deletions
7
src/test/resources/htsjdk/samtools/intervallist/broken.zero.start.interval_list
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,7 @@ | ||
@SQ SN:1 LN:249250621 | ||
@SQ SN:2 LN:243199373 | ||
@SQ SN:3 LN:198022430 | ||
1 8216712 8216712 + rs11121115 | ||
1 0 17032814 + borked | ||
2 1143476 1143476 + rs4998209 | ||
2 9240279 9240279 + rs56249990 |