Skip to content

How to produce input matrix #7

Open
@aaannaw

Description

@aaannaw

Hello,Professor
I have produced a .matrix file and a .bed file after running Hic-Pro. Then I runned the R package hicpro2bedpe to convert into the sparse matrices. But when I run the calder.R:

library(CALDER)

contact_mat_file_Ma6 = "1.Chr01.matrix"
CALDER_main(contact_mat_file_Ma6, chr=1, bin_size=40E4, out_dir='./Chr01_Ma', sub_domains=TRUE, save_intermediate_data=FALSE)

The error occurs:

Begin process contact matrix and compute correlation score at: 2022-07-14 22:59:55 
Error in if (nrow(A_oe) < 100) A_oe = remove_blank_cols(mat_oe_sparse,  : 
  argument is of length zero
Calls: CALDER_main -> CALDER_CD_hierarchy -> contact_mat_processing
Execution halted

I am not sure my preparing input is correct? Can you give me any suggestion how to produce the input based on the hicppro results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions