Comments (11)
great ! N
from crane-nature-2015.
Hi,
A couple of months ago, I added a '--ins" option to the spaseToDense script that should generate the right format for matrix2insulation.pl
Can you check if you used this option please ?
N
from crane-nature-2015.
Hi,
The HiC-Pro output cannot be directly loaded in matrix2insulation.pl
You have to convert it first.
I'm not 100% sure, but if I remember correctly matrix2insulation requires a dense matrix with bin names as rownames ... as in the my5C tool.
In the HiTC R package, you can load HiC-Pro data (using importC function) and export dense matrix using the export.my5C function.
I can also write a small tool to make the convertion in HiC-Pro if it helps.
Nicolas
from crane-nature-2015.
it would be great a small tool in HiCPro to convert matrix!
from crane-nature-2015.
I was trying to generated the input for matrix2insulation.pl in HiTC, first with importC then using export.my5C for all the matrix but the following error appear:
export.my5C(a, "15min_a_my5C", genome="BSgenome.Hsapiens.UCSC.hg19", per.chromosome=FALSE)
Start combining HTCexp objects ...
Object size: 77323496
Exporting data in '15min_a_my5C_hg19.mat' ...
Error in asMethod(object) :
Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 105
Then I try the same per chromosome, but that matrix are not symmetrical!
from crane-nature-2015.
Hi Jacome,
Will try to move on that asap.
Do you have somewhere an example of input file for matrix2insulation.pl ?
I have in mind a dense format with rownames/colnames as :
bin_number|organism|genomic_position| (ie. 35126|mm9|chr10:320001-360000)
Is that correct ?
Anyone knows if the organism is useful ? can I put a default to 'org' for instance ?
thanks
from crane-nature-2015.
from crane-nature-2015.
Hi Jacome
I just released the sparse2dense.py script to convert HiC-Pro data to matrix2insulation.pl input.
See https://github.com/nservant/HiC-Pro/tree/devel/bin/utils
See --ins option
N
from crane-nature-2015.
from crane-nature-2015.
When I use the hicpro result to look for Tad
1 .sparseToDense.py matrix/sample1/iced/40000/sample1_40000_iced.matrix -b matrix/sample1/raw/40000/sample1_40000_abs.bed -d -o 40000.matrix
the first step looks like correct;
2. perl /public/home/csxie/msq/tool/crane-nature-2015/scripts/matrix2insulation.pl -i 40000.matrix
ERROR: matrix must be symmetrical!
more 40000.matrix
Scaffold0 0 40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0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 81.84 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 104.334 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
Then I got a error
from crane-nature-2015.
How much memory I should use for hg19, if I don't set -c? I used 120G, but it still runs out of memory.
Thanks.
from crane-nature-2015.
Related Issues (12)
- Input matrix header / rownames HOT 2
- matrix interactions too large - cannot handle in memory HOT 2
- how to use insulation score to identify TAD domains HOT 3
- Some boundaries are local maximum of insulation score profile instead of local minimum HOT 2
- overlap between different boundaries HOT 1
- different insulation scores between *.insulation file and *.insulation.boundaries file HOT 2
- how to create the input matrix? HOT 2
- an error in the usage
- how to calculate the insulation score for higher resolution Hi-C data HOT 1
- The boundary strength was defined as the difference in the delta vector
- no
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 crane-nature-2015.