Skip to content
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

some chroms are left out #5

Open
nsheff opened this issue Oct 21, 2020 · 0 comments
Open

some chroms are left out #5

nsheff opened this issue Oct 21, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@nsheff
Copy link
Member

nsheff commented Oct 21, 2020

it appears that the chromosomes must be sorted in lexographical order rather than natural numeric chrom order, otherwise chromosomes are silently ignored.

For example, chr10 is ignored here:

databio/nsheff|~/code/uniwig$ cat test3.bed                                                                                        
chr1    7       10                                                                                                                 
chr1    8       12                                                                                                                 
chr1    9       15                                                                                                                 
chr9    4       7                                                                                                                  
chr10   2       3                                                                                                                  
                                                                                                                                   
databio/nsheff|~/code/uniwig$ ./uniwig test3.bed 1 1                                                                               
fixedStep chrom=chr1 start=7 step=1                                                                                                
1                                                                                                                                  
2                                                                                                                                  
3                                                                                                                                  
2                                                                                                                                  
1                                                                                                                                  
0                                                                                                                                  
0                                                                                                                                  
0                                                                                                                                  
0                                                                                                                                  
0                                                                                                                                  
fixedStep chrom=chr9 start=4 step=1                                                                                                
2                                                                             

if you move it before chr9, then it is included.

@nsheff nsheff added the bug Something isn't working label Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant