Comments (2)
Hi @Linhua-Sun,
Unfortunately, this is not feasible with chromosight CLI. We rely on uniform bin sizes at several places to speed up algorithms. For example, the matrix is trimmed to the Nth diagonal based on max_-dist
, if bins had different size, we could not establish a constant relationship between a distance and number of pixels.
It is possible to use chromosight's API in a python script to do this, but would require some additional work. The way to do this would be to provide the sparse contact matrix and loop kernel directly to normxcorr2 to compute the convolution (i.e. loop-similarity) matrix,feed this matrix to pick_foci to segment loops and retrieve the list of foci (loops) coordinates in rows/cols. validate_patterns and remove_neighbours could also help for filtering those patterns afterwards.
from chromosight.
Thank you very much for your prompt reply, which answered my question very well!
from chromosight.
Related Issues (20)
- Different score values between chromosight detect and chromosight quantify on borders pattern HOT 2
- How to compare loops of Hi-C from different conditions like DEG in RNA-Seq? HOT 4
- Questions about resolution in loop json file HOT 2
- Chromosight for single-cell Hi-C HOT 8
- Point and click mode HOT 8
- Different number of patterns for the same Hi-C matrix HOT 3
- How to evaluate the detected loops? HOT 4
- Different number of loops on GM12878 Hi-C map HOT 2
- chromosight detects hairpin, the numer is too large HOT 1
- Bus error in chromosight quantify HOT 2
- How does Chromosight compute the Pearson correlation ? HOT 2
- Is there a way to use multiresolution .mcool files directly? HOT 1
- Where do these kernels come from? HOT 5
- Loop score calculation HOT 4
- Pattern = TAD? HOT 1
- Recommend parameters of borders detect HOT 1
- Tuning the parameters (perc-zero, perc-undetected, pearson) for a relatively small dataset HOT 2
- HicMatrix generated cool file not supported - possible solution HOT 6
- Handle variable bin size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromosight.