-
Notifications
You must be signed in to change notification settings - Fork 60
Improve chromsizes File Validation to Catch Formatting Errors Early #458
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
Open
ShigrafS
wants to merge
13
commits into
open2c:master
Choose a base branch
from
ShigrafS:chromsizes-error-fix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+168
−26
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f093a77
Improve chromsizes file validation to catch formatting errors early (…
ShigrafS c8616a8
Added a test function for the chromsize check introduced in src/coole…
ShigrafS a7bc883
Fixed pytest error in test_chromsize_check.py and made minor tweaks t…
ShigrafS 55986ad
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 34bb070
Move tests to test_util and fix line lengths
nvictus db29975
Remove carriage returns and fix line lengths
nvictus 77cd6a1
Update src/cooler/util.py
ShigrafS 7ea498d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ffa8363
Removed verbose and added pandas built in on_bad_lines in def chromsi…
ShigrafS 3fd5a9c
Added references in comments.
ShigrafS 9e261f2
Added hg19.chrom.sizes to tests/data.
ShigrafS 1a9fe6d
Fixed URL issue.
ShigrafS b8360bf
Merge branch 'open2c:master' into chromsizes-error-fix
ShigrafS 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 hidden or 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 +1 @@ | ||
| ../CHANGES.md | ||
| ../CHANGES.md |
This file contains hidden or 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 hidden or 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,93 @@ | ||
| chr1 249250621 | ||
| chr2 243199373 | ||
| chr3 198022430 | ||
| chr4 191154276 | ||
| chr5 180915260 | ||
| chr6 171115067 | ||
| chr7 159138663 | ||
| chrX 155270560 | ||
| chr8 146364022 | ||
| chr9 141213431 | ||
| chr10 135534747 | ||
| chr11 135006516 | ||
| chr12 133851895 | ||
| chr13 115169878 | ||
| chr14 107349540 | ||
| chr15 102531392 | ||
| chr16 90354753 | ||
| chr17 81195210 | ||
| chr18 78077248 | ||
| chr20 63025520 | ||
| chrY 59373566 | ||
| chr19 59128983 | ||
| chr22 51304566 | ||
| chr21 48129895 | ||
| chr6_ssto_hap7 4928567 | ||
| chr6_mcf_hap5 4833398 | ||
| chr6_cox_hap2 4795371 | ||
| chr6_mann_hap4 4683263 | ||
| chr6_apd_hap1 4622290 | ||
| chr6_qbl_hap6 4611984 | ||
| chr6_dbb_hap3 4610396 | ||
| chr17_ctg5_hap1 1680828 | ||
| chr4_ctg9_hap1 590426 | ||
| chr1_gl000192_random 547496 | ||
| chrUn_gl000225 211173 | ||
| chr4_gl000194_random 191469 | ||
| chr4_gl000193_random 189789 | ||
| chr9_gl000200_random 187035 | ||
| chrUn_gl000222 186861 | ||
| chrUn_gl000212 186858 | ||
| chr7_gl000195_random 182896 | ||
| chrUn_gl000223 180455 | ||
| chrUn_gl000224 179693 | ||
| chrUn_gl000219 179198 | ||
| chr17_gl000205_random 174588 | ||
| chrUn_gl000215 172545 | ||
| chrUn_gl000216 172294 | ||
| chrUn_gl000217 172149 | ||
| chr9_gl000199_random 169874 | ||
| chrUn_gl000211 166566 | ||
| chrUn_gl000213 164239 | ||
| chrUn_gl000220 161802 | ||
| chrUn_gl000218 161147 | ||
| chr19_gl000209_random 159169 | ||
| chrUn_gl000221 155397 | ||
| chrUn_gl000214 137718 | ||
| chrUn_gl000228 129120 | ||
| chrUn_gl000227 128374 | ||
| chr1_gl000191_random 106433 | ||
| chr19_gl000208_random 92689 | ||
| chr9_gl000198_random 90085 | ||
| chr17_gl000204_random 81310 | ||
| chrUn_gl000233 45941 | ||
| chrUn_gl000237 45867 | ||
| chrUn_gl000230 43691 | ||
| chrUn_gl000242 43523 | ||
| chrUn_gl000243 43341 | ||
| chrUn_gl000241 42152 | ||
| chrUn_gl000236 41934 | ||
| chrUn_gl000240 41933 | ||
| chr17_gl000206_random 41001 | ||
| chrUn_gl000232 40652 | ||
| chrUn_gl000234 40531 | ||
| chr11_gl000202_random 40103 | ||
| chrUn_gl000238 39939 | ||
| chrUn_gl000244 39929 | ||
| chrUn_gl000248 39786 | ||
| chr8_gl000196_random 38914 | ||
| chrUn_gl000249 38502 | ||
| chrUn_gl000246 38154 | ||
| chr17_gl000203_random 37498 | ||
| chr8_gl000197_random 37175 | ||
| chrUn_gl000245 36651 | ||
| chrUn_gl000247 36422 | ||
| chr9_gl000201_random 36148 | ||
| chrUn_gl000235 34474 | ||
| chrUn_gl000239 33824 | ||
| chr21_gl000210_random 27682 | ||
| chrUn_gl000231 27386 | ||
| chrUn_gl000229 19913 | ||
| chrM 16571 | ||
| chrUn_gl000226 15008 | ||
| chr18_gl000207_random 4262 |
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.