How to remove extra chromosomes like chrUn_gl00* from pairParam object.
Error in preparePairs("/Users/thimmamp/temp_tobe_deleted/HiCMapped/Dicer1_presplit_out_fixmate.bam", :
conversion table should have length equal to the number of chromosomes
> str(hs.param)
Formal class 'pairParam' [package "diffHic"] with 4 slots
..@ fragments:Formal class 'GRanges' [package "GenomicRanges"] with 6 slots
.. .. ..@ seqnames :Formal class 'Rle' [package "S4Vectors"] with 4 slot
For future reference, please post the code that you ran to generate this error. Also, are you using the latest version? Check out the posting guide FAQ for the usual information you should put in a post.