This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Library metadata is displayed in hover window + kludge bug fix #14
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
cc33c60
Removed stale code from when TSV files were in the base directory
slazicoicr e62d581
Added library metadata to hover window
slazicoicr f763a56
A kludge to fix a bug in data.table that does not exist on Google
slazicoicr 4153973
Added tests for failing to load Run Reports
slazicoicr 9e50bd7
Added bit64 package for Travis CI
slazicoicr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
library(testthat) | ||
library(acquacotta) | ||
|
||
context("Loading Run Report files") | ||
|
||
test_that("Loading of clean data", { | ||
|
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,13 @@ | ||
context("Reading Run Report") | ||
|
||
test_that("Loading of valid data", { | ||
expect_error(readSeqWareTSV("./test_utility_data/180406_valid.tsv"), NA) | ||
}) | ||
|
||
test_that("Loading of invalid data is handled gracefully", { | ||
expect_error(readSeqWareTSV("./test_utility_data/180406_invalid.tsv")) | ||
|
||
# fread() cleaned up bug does not happen | ||
# https://github.com/Rdatatable/data.table/issues/2904 | ||
expect_error(readSeqWareTSV("./test_utility_data/180406_valid.tsv"), NA) | ||
}) |
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,28 @@ | ||
Lane Barcode Group ID External Name Library Insert Mean Insert Stddev Read Length PF Reads PF Yield Map Percent R1 Mismatch Percent R2 Mismatch Percent R1 Indel Percent R2 Indel Percent R1 Soft Clip Percent R2 Soft Clip Percent Reads/SP Percent Mapped on Target Estimated Yield (collapsed) Coverage (collapsed) Target Size (bp) Number of Targets Target File | ||
1 CTCCGATCGTCC na na Lib1 381.15 171.79 151, 151 216418826 32679172611 92.17 0.4 1.03 0.06 0.06 1.06 2.38 1.2 100 24729302364 7.88 3137161171 93 T1 | ||
1 ATCTAGCCGGCC na na Lib2 363.78 159.04 151, 151 252302380 38097555690 91.75 0.4 1.02 0.06 0.06 1.1 2.46 1.21 100 28285158676 9.02 3137161171 93 T2 | ||
1 TCGGGAAGGTCC na na Lib3 369.18 162.14 151, 151 236526798 35715462763 92.15 0.4 0.97 0.06 0.06 1.01 2.23 1.2 100 26935365729 8.59 3137161171 93 T3 | ||
1 GCCTCGAAGTCC na na Lib4 375.03 168.3 151, 151 243644668 36790256463 92.41 0.41 0.98 0.06 0.06 1.14 2.3 1.2 100 27834574154 8.87 3137161171 93 T4 | ||
2 ATCTAGCCGGCC na na Lib5 372.56 166.46 151, 151 254039950 38359982266 91.77 0.36 1.01 0.06 0.06 1.07 2.28 1.2 100 28787340464 9.18 3137161171 93 T5 | ||
2 TCGGGAAGGTCC na na Lib6 379.52 170.98 151, 151 238841060 36064868521 92.18 0.37 0.98 0.06 0.06 1.02 2.14 1.19 100 27455453152 8.75 3137161171 93 T6 | ||
2 GCCTCGAAGTCC na na Lib7 384.88 176.13 151, 151 247411212 37358963614 92.42 0.37 0.98 0.06 0.06 1.08 2.25 1.19 100 28522068554 9.09 3137161171 93 T7 | ||
2 CTCCGATCGTCC na na Lib8 391.5 178.75 151, 151 221182532 33398484860 92.19 0.36 1.02 0.06 0.06 1 2.32 1.19 100 25508277420 8.13 3137161171 93 T8 | ||
3 GCCTCGAAGTCC na na Lib9 395.1 185.66 151, 151 254121044 38372177283 92.38 0.36 0.97 0.06 0.06 1.09 2.29 1.2 100 28941215516 9.23 3137161171 93 T9 | ||
3 TCGGGAAGGTCC na na Lib10 388.72 178.51 151, 151 244101080 36859194245 92.13 0.35 0.95 0.06 0.06 0.98 2.16 1.21 100 27729094422 8.84 3137161171 93 T10 | ||
3 CTCCGATCGTCC na na Lib11 401.92 188.53 151, 151 227552300 34360273237 92.14 0.35 1.03 0.06 0.06 1.04 2.36 1.2 100 25912070735 8.26 3137161171 93 T11 | ||
3 ATCTAGCCGGCC na na Lib12 380.29 174.51 151, 151 259420556 39172393171 91.73 0.36 0.99 0.06 0.06 1.11 2.36 1.22 100 29024773825 9.25 3137161171 93 T12 | ||
4 ATCTAGCCGGCC na na Lib13 382.18 174.56 151, 151 258522006 39036759398 91.78 0.33 0.94 0.06 0.06 1.1 2.29 1.22 100 28821734974 9.19 3137161171 93 T13 | ||
4 GCCTCGAAGTCC na na Lib14 396.34 185.94 151, 151 253040936 38209062060 92.42 0.33 0.92 0.06 0.06 1.06 2.23 1.21 100 28719305274 9.15 3137161171 93 T14 | ||
4 TCGGGAAGGTCC na na Lib15 389.41 178.05 151, 151 243227188 | ||
36727286387 92.19 0.32 0.89 0.06 0.06 0.97 2.11 1.21 100 27532330327 8.78 3137161171 93 T15 | ||
4 CTCCGATCGTCC na na Lib16 404.6 189.15 151, 151 226971682 34272611454 92.19 0.32 0.97 0.06 0.06 0.98 2.3 1.21 100 25755587119 8.21 3137161171 93 T16 | ||
5 ATCTAGCCGGCC na na Lib17 377.45 175.64 151, 151 262110344 39578617505 91.74 0.35 0.94 0.06 0.06 1.18 2.29 1.26 100 28295604657 9.02 3137161171 93 T17 | ||
5 GCCTCGAAGTCC na na Lib18 390.52 186.33 151, 151 255439380 38571326444 92.41 0.35 0.93 0.06 0.06 1.11 2.3 1.24 100 28176385193 8.98 3137161171 93 T18 | ||
5 TCGGGAAGGTCC na na Lib19 384.09 178.29 151, 151 246301176 37191373174 92.13 0.35 0.91 0.06 0.06 1.01 2.15 1.25 100 27067104926 8.63 3137161171 93 T19 | ||
5 CTCCGATCGTCC na na Lib20 399.6 189.24 151, 151 229297100 34623839979 92.16 0.34 0.99 0.06 0.06 1.05 2.34 1.24 100 25315289382 8.07 3137161171 93 T20 | ||
6 CTCCGATCGTCC na na Lib21 399.79 187.64 151, 151 226406380 34187224251 92.14 0.36 1.03 0.06 0.06 1.01 2.31 1.21 100 25502118885 8.13 3137161171 93 T21 | ||
6 ATCTAGCCGGCC na na Lib22 377.95 173.58 151, 151 258628142 39052848619 91.74 0.36 1 0.06 0.06 1.11 2.36 1.23 100 28547020088 9.1 3137161171 93 T22 | ||
6 TCGGGAAGGTCC na na Lib23 386.48 178.16 151, 151 243040660 36699058535 92.14 0.36 0.96 0.06 0.06 1.03 2.13 1.22 100 27264861066 8.69 3137161171 93 T23 | ||
6 GCCTCGAAGTCC na na Lib24 393.02 184.94 151, 151 252419606 38115229911 92.38 0.36 0.99 0.06 0.06 1.09 2.33 1.22 100 28401642000 9.05 3137161171 93 T24 | ||
7 AAGCGTACGTCC na na Lib25 301.12 149.43 151, 151 988749818 149301208938 91.18 0.39 0.93 0.07 0.06 3.01 4.04 1.25 100 105042282719 33.48 3137161171 93 T25 | ||
8 TTTAGTCAGTCC na na Lib26 308.09 155.88 151, 151 1000300318 151045251998 92.15 0.4 0.87 0.06 0.06 2.13 3.11 1.24 100 109434035708 34.88 3137161171 93 T26 |
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,27 @@ | ||
Lane Barcode Group ID External Name Library Insert Mean Insert Stddev Read Length PF Reads PF Yield Map Percent R1 Mismatch Percent R2 Mismatch Percent R1 Indel Percent R2 Indel Percent R1 Soft Clip Percent R2 Soft Clip Percent Reads/SP Percent Mapped on Target Estimated Yield (collapsed) Coverage (collapsed) Target Size (bp) Number of Targets Target File | ||
1 CTCCGATCGTCC na na Lib1 381.15 171.79 151, 151 216418826 32679172611 92.17 0.4 1.03 0.06 0.06 1.06 2.38 1.2 100 24729302364 7.88 3137161171 93 T1 | ||
1 ATCTAGCCGGCC na na Lib2 363.78 159.04 151, 151 252302380 38097555690 91.75 0.4 1.02 0.06 0.06 1.1 2.46 1.21 100 28285158676 9.02 3137161171 93 T2 | ||
1 TCGGGAAGGTCC na na Lib3 369.18 162.14 151, 151 236526798 35715462763 92.15 0.4 0.97 0.06 0.06 1.01 2.23 1.2 100 26935365729 8.59 3137161171 93 T3 | ||
1 GCCTCGAAGTCC na na Lib4 375.03 168.3 151, 151 243644668 36790256463 92.41 0.41 0.98 0.06 0.06 1.14 2.3 1.2 100 27834574154 8.87 3137161171 93 T4 | ||
2 ATCTAGCCGGCC na na Lib5 372.56 166.46 151, 151 254039950 38359982266 91.77 0.36 1.01 0.06 0.06 1.07 2.28 1.2 100 28787340464 9.18 3137161171 93 T5 | ||
2 TCGGGAAGGTCC na na Lib6 379.52 170.98 151, 151 238841060 36064868521 92.18 0.37 0.98 0.06 0.06 1.02 2.14 1.19 100 27455453152 8.75 3137161171 93 T6 | ||
2 GCCTCGAAGTCC na na Lib7 384.88 176.13 151, 151 247411212 37358963614 92.42 0.37 0.98 0.06 0.06 1.08 2.25 1.19 100 28522068554 9.09 3137161171 93 T7 | ||
2 CTCCGATCGTCC na na Lib8 391.5 178.75 151, 151 221182532 33398484860 92.19 0.36 1.02 0.06 0.06 1 2.32 1.19 100 25508277420 8.13 3137161171 93 T8 | ||
3 GCCTCGAAGTCC na na Lib9 395.1 185.66 151, 151 254121044 38372177283 92.38 0.36 0.97 0.06 0.06 1.09 2.29 1.2 100 28941215516 9.23 3137161171 93 T9 | ||
3 TCGGGAAGGTCC na na Lib10 388.72 178.51 151, 151 244101080 36859194245 92.13 0.35 0.95 0.06 0.06 0.98 2.16 1.21 100 27729094422 8.84 3137161171 93 T10 | ||
3 CTCCGATCGTCC na na Lib11 401.92 188.53 151, 151 227552300 34360273237 92.14 0.35 1.03 0.06 0.06 1.04 2.36 1.2 100 25912070735 8.26 3137161171 93 T11 | ||
3 ATCTAGCCGGCC na na Lib12 380.29 174.51 151, 151 259420556 39172393171 91.73 0.36 0.99 0.06 0.06 1.11 2.36 1.22 100 29024773825 9.25 3137161171 93 T12 | ||
4 ATCTAGCCGGCC na na Lib13 382.18 174.56 151, 151 258522006 39036759398 91.78 0.33 0.94 0.06 0.06 1.1 2.29 1.22 100 28821734974 9.19 3137161171 93 T13 | ||
4 GCCTCGAAGTCC na na Lib14 396.34 185.94 151, 151 253040936 38209062060 92.42 0.33 0.92 0.06 0.06 1.06 2.23 1.21 100 28719305274 9.15 3137161171 93 T14 | ||
4 TCGGGAAGGTCC na na Lib15 389.41 178.05 151, 151 243227188 36727286387 92.19 0.32 0.89 0.06 0.06 0.97 2.11 1.21 100 27532330327 8.78 3137161171 93 T15 | ||
4 CTCCGATCGTCC na na Lib16 404.6 189.15 151, 151 226971682 34272611454 92.19 0.32 0.97 0.06 0.06 0.98 2.3 1.21 100 25755587119 8.21 3137161171 93 T16 | ||
5 ATCTAGCCGGCC na na Lib17 377.45 175.64 151, 151 262110344 39578617505 91.74 0.35 0.94 0.06 0.06 1.18 2.29 1.26 100 28295604657 9.02 3137161171 93 T17 | ||
5 GCCTCGAAGTCC na na Lib18 390.52 186.33 151, 151 255439380 38571326444 92.41 0.35 0.93 0.06 0.06 1.11 2.3 1.24 100 28176385193 8.98 3137161171 93 T18 | ||
5 TCGGGAAGGTCC na na Lib19 384.09 178.29 151, 151 246301176 37191373174 92.13 0.35 0.91 0.06 0.06 1.01 2.15 1.25 100 27067104926 8.63 3137161171 93 T19 | ||
5 CTCCGATCGTCC na na Lib20 399.6 189.24 151, 151 229297100 34623839979 92.16 0.34 0.99 0.06 0.06 1.05 2.34 1.24 100 25315289382 8.07 3137161171 93 T20 | ||
6 CTCCGATCGTCC na na Lib21 399.79 187.64 151, 151 226406380 34187224251 92.14 0.36 1.03 0.06 0.06 1.01 2.31 1.21 100 25502118885 8.13 3137161171 93 T21 | ||
6 ATCTAGCCGGCC na na Lib22 377.95 173.58 151, 151 258628142 39052848619 91.74 0.36 1 0.06 0.06 1.11 2.36 1.23 100 28547020088 9.1 3137161171 93 T22 | ||
6 TCGGGAAGGTCC na na Lib23 386.48 178.16 151, 151 243040660 36699058535 92.14 0.36 0.96 0.06 0.06 1.03 2.13 1.22 100 27264861066 8.69 3137161171 93 T23 | ||
6 GCCTCGAAGTCC na na Lib24 393.02 184.94 151, 151 252419606 38115229911 92.38 0.36 0.99 0.06 0.06 1.09 2.33 1.22 100 28401642000 9.05 3137161171 93 T24 | ||
7 AAGCGTACGTCC na na Lib25 301.12 149.43 151, 151 988749818 149301208938 91.18 0.39 0.93 0.07 0.06 3.01 4.04 1.25 100 105042282719 33.48 3137161171 93 T25 | ||
8 TTTAGTCAGTCC na na Lib26 308.09 155.88 151, 151 1000300318 151045251998 92.15 0.4 0.87 0.06 0.06 2.13 3.11 1.24 100 109434035708 34.88 3137161171 93 T26 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😱 That's quite a bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 hours of my life right there. The good news is that my Issue was deemed a bug, so there was a purpose to my hair pulling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the report. 10 years of my life hair pulling on data.table now.