Git Product home page Git Product logo

boost-hic's People

Contributors

leopoldc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

boost-hic's Issues

Is there a faster algorithm for computing fastFloyd?

As tested in different size of input matrix, profiling the running time of function fastFloyd,
I found that its time complexity is extremely high at about O(n^5).

Here is the test result

matrix size running time
1000 * 1000 5s
2000 * 2000 126s
3000 * 3000 1000s

So if I want to boost the Hi-C data in chromosome 1, It nearly costs 80 hours.

Is there anyway to accelerate this function, parallelizing or writing in C?

python version and script spacing

The README says that it uses python2.7, but the scripts seem to actually be written for python3. Additionally, I found some lines in HiCutils.py have tab indentation while others have space indentation. This caused it to break with some python implementations.

converting h5 to hic or cool format

Hi @LeopoldC. Thank you for sharing this tool. I'd like to ask if there's a way to convert the h5 output matrix to hic or cool format. I've so far tried hicConvertFormat, but it's not working.

Thank you.

main.py:26: RuntimeWarning: divide by zero encountered in true_divide

Hi @LeopoldC. While running Boost-HiC, the following warning is encountered, although the job is still running. I'm wondering if this is something one has to worry about, since the analysis has been running for almost 2 days with only filteredbin.txt, inputmat_filtered.hdf5 and inputmat.hdf5 in the output directory.

main.py:26: RuntimeWarning: divide by zero encountered in true_divide
FFmat=np.power(HiCutils.fastFloyd(1/np.power(normmat.copy(),alpha)),-1/alpha) #to dist, FF, to contact in one line

Thank you.

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.