Giter VIP home page Giter VIP logo

Comments (4)

biozzq avatar biozzq commented on June 2, 2024 1

Hi all,

I found that the fanc could be used to convert the valid pairs generated by HiC-Pro to hic format, and also do normalization and visualization. So, I have changed to use fanc to generate the input for chess. Here, I am closing the issue, but feel free to reopen it.

Best wishes,
Zheng zhuqing

from chess.

nickmachnik avatar nickmachnik commented on June 2, 2024

Hi @biozzq ,
the example files are in FAN-C format, not Juicer. You can either visualize them with the FAN-C API (here is the repo with a link to the docs) or convert the files to Juicer format with fanc to-juicer.

from chess.

biozzq avatar biozzq commented on June 2, 2024

Dear @nickmachnik

Sorry, I found the command you provided can convert a readpairs file to Juicer .hic format. Meanwhile, I cannot find any more usage instructions about the fanc to-juicer in the following link https://vaquerizaslab.github.io/fanc/getting_started.html. Please let me know if I missed anything.

fanc to-juicer -h
2020-11-21 22:44:44,526 INFO FAN-C version: 0.9.7
usage: fanc hic_to_juicer [-h] [--juicer-tools-jar JUICER_TOOLS_JAR_PATH] [-tmp] [-r RESOLUTIONS [RESOLUTIONS ...]] input [input ...] output

Convert a ReadPairs file to Juicer .hic format

positional arguments:
input Input .pairs file(s), FAN-C format.
output Output Juicer file.

optional arguments:
-h, --help show this help message and exit
--juicer-tools-jar JUICER_TOOLS_JAR_PATH
Path to juicer jar. You can also specify this in fanc.conf
-tmp, --work-in-tmp Work in temporary directory
-r RESOLUTIONS [RESOLUTIONS ...], --resolutions RESOLUTIONS [RESOLUTIONS ...]
Resolutions in bp at which to "zoom" the juicer matrix.

Best wishes,
Zhuqing

from chess.

nickmachnik avatar nickmachnik commented on June 2, 2024

Hi @biozzq ,
sorry, you are right, you actually won't be able to convert the example files to juicer with that command, my bad.
There is a fanc to-cooler command that you could use to convert to cooler format, but I have no idea whether that is helpful at all. Maybe you could alternatively use fanc's command line tools for plotting or its python api.

from chess.

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.