Answers.Body: <p>You're trying to cbind two matrices of different sizes, so computeMatrix is throwing an error since it's unclear which row goes with which. You need to ensure that matrices have exactly the same number of rows and that the Nth row in each match (i.e., they should be bound together with cbind).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-03T20:20:47.587Z
Answers.LastActivityDate: 2020-05-03T20:20:47.587Z
Answers.UserDisplayName: Devon Ryan
Body: <p>I have several matrix from computematrix of deeptools. I need to merge two of them using "computeMatrixOperations cbind -m input1.mat.gz input2.mat.gz -o output.mat.gz"
  but I am running to error "/computeMatrixOperations.py", line 521, in cbindMatrices
      hm.matrix.matrix = np.hstack((hm.matrix.matrix, np.empty(hm2.matrix.matrix.shape)))"</p>
  
  <p>Is there any other way to merge the matrixes? </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-03T07:43:26.077Z
Comments.Text: Please post the full error message, not just a single line.
Comments.UserDisplayName: Devon Ryan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-03T20:17:32.447Z
Comments.Text: Thanks, here is the error: https://www.dropbox.com/s/zudmn4lwo3yikw6/Capture.JPG?dl=0
Comments.UserDisplayName: Mariam
Tags: <phylogenetics><ngs><chip-seq><deeptools>
Title: merge the matrix from computematrix of deeptools
ThreadText: # merge the matrix from computematrix of deeptools
  
  (Asked by: username_0 on 2020-05-03)
  
  I have several matrix from computematrix of deeptools. I need to merge two of them using "computeMatrixOperations cbind -m input1.mat.gz input2.mat.gz -o output.mat.gz"
  but I am running to error "/computeMatrixOperations.py", line 521, in cbindMatrices
  hm.matrix.matrix = np.hstack((hm.matrix.matrix, np.empty(hm2.matrix.matrix.shape)))"
  
  Is there any other way to merge the matrixes?
  
  **Tags:** phylogenetics, ngs, chip-seq, deeptools
  
  > **Comments:**
  > **username_1**: Please post the full error message, not just a single line.  
  > **username_0**: Thanks, here is the error: https://www.dropbox.com/s/zudmn4lwo3yikw6/Capture.JPG?dl=0  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-05-03. Score: 1
  
  You're trying to cbind two matrices of different sizes, so computeMatrix is throwing an error since it's unclear which row goes with which. You need to ensure that matrices have exactly the same number of rows and that the Nth row in each match (i.e., they should be bound together with cbind).
  
  
  ---
  
  