Git Product home page Git Product logo

Comments (4)

LeopoldC avatar LeopoldC commented on July 29, 2024 1

You have my confirmation :).

I write it right after seeing your comment.

from boost-hic.

LeopoldC avatar LeopoldC commented on July 29, 2024

Hi papelypluma.
There is no direct way to convert to .hic or .cool on the actual code. I think the best way is to save matrix as text .hicpro format (parsing sounds easy to do ) and from this point you can go at every format you like.

from boost-hic.

LeopoldC avatar LeopoldC commented on July 29, 2024

saveasmatrix.txt

Here a function that will allow you to write as .matrix for HiCpro format the result, add it into the code, and then you will be abble from HiCpro format to go to HiC or cool as you need.

Hope that it help.

from boost-hic.

papelypluma avatar papelypluma commented on July 29, 2024

Hi @LeopoldC, thank you for sharing this one! I'd just like to confirm that this user-defined function should go into the HiCutils.py, then call this function in the main.py to save the matrix as a hicpro-formatted text file in addition to h5 output that's already in the main.py script.

Thank you!

from boost-hic.

Related Issues (4)

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.