Giter Site home page Giter Site logo

4dn-dcic / docker-4dn-hic Goto Github PK

View Code? Open in Web Editor NEW
55.0 8.0 17.0 539.6 MB

Docker for 4DN Hi-C processing pipeline

License: MIT License

Shell 41.16% Common Workflow Language 54.10% Python 0.50% Dockerfile 4.24%
hi-c bioinformatics docker pairix cooler bwa juicer pairsqc

docker-4dn-hic's People

Contributors

dhawalsjain avatar soolee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-4dn-hic's Issues

How to run this pipeline in one go?

When I run docker run duplexa/4dn-hic:v43 it gives me a list of all the scripts.
How do I run the whole pipeline at once?
Do I have to run each script individually?

Empty cool and mcool files

Hi!

I am running the Hi-C Processing Pipeline on my data but I noticed some issues when generating the cool and mcool files at the matrix generation step.
While the .hic matrix looks perfectly fine by some downstream analysis, I have noticed that both .cool and .mcool files are empty. By empty, I mean that the contact matrices stored in these formats is full of zeros or NaN. However, the matrix stored in the .hic is how I would expect it. Both matrices are generated from the same pairs file.

Here I show the commands that I used to generate the .cool file:

singularity exec 4dn-hic_latest.sif cooler cload pairix -p ${THREADS} -s ${MAX_SPLIT} ${CHR_SIZE}:${BIN_SIZE} ${PAIRS} ${SAMPLE_DIR}/${SAMPLE}.cool

I think the problem occurs already when generating the .cool file in the very first step as it immediately results to be empty, I checked its emptiness by plotting the matrix as follows:

clr = cooler.Cooler('bin.cool')
mat = clr.matrix(balance=False).fetch('chr1')
plt.matshow(np.log10(mat), cmap='YlOrRd')

Also, the maximum value of the matrix is a 0.

This doesn't occur for the .hic matrix, whose plots look fine and whose matrix is not filled with 0s.

Thank you in advance for your help!

isuue with mcool2hic

Hello, I could not find the code and tutorials for mcool2hic. Could you please provide some more detailed information?
Any suggestion would be greatly appreciated!

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.