GithubHelp home page GithubHelp logo

Comments (4)

dpryan79 avatar dpryan79 commented on June 25, 2024
> import pyBigWig
> bw = pyBigWig.open("https://www.encodeproject.org/files/ENCFF743ULW/@@download/ENCFF743ULW.bigWig")
> bw.chroms("chr2")
242193529L

So that's why you get the error and how you can check chromosome sizes.

from pybigwig.

zoink avatar zoink commented on June 25, 2024

Thanks, the DNase-seq file I was using was mapped against hg38 (chr2 length=242193529) , but the intervals were derived from hg19 (chr2 length=243199373).

from pybigwig.

shamsbhuiyan avatar shamsbhuiyan commented on June 25, 2024

Hello, I am hit with a similar issue. However, I am using the same build and I've double checked the length of chromosome 6.

Traceback (most recent call last):
  File "find_sORFs.py", line 245, in <module>
    compute_phylop_score("five_prime_sORFs.bed",human_phylop_bigwig)
  File "find_sORFs.py", line 222, in compute_phylop_score
    vals = bw.values(cols[0], int(cols[1]), int(cols[2]))
RuntimeError: Invalid interval bounds!

This breaks at 'chr6', '83707928', '83707957', but the length of chromosome 6 according bw.chroms("chr6") is 170805979. Any thoughts?

from pybigwig.

Jome0169 avatar Jome0169 commented on June 25, 2024

Hi @shamsbhuiyan did you ever figure this out? Getting the same error and can't figure out what might be causing it.

from pybigwig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.