tanlongzhi/dip-c

Can not colored

Closed this issue · 4 comments

Hi Tan, @tanlongzhi

When i try to colored the chromosomes and cpg island, the command run successfully, but can not write the colors.
Can you help me to solve this problem?

Commond:
dip-c color -c $dip_c/color/mm10.cpg.20k.txt patski.G2M.3dg

patski.G2M.3dg:
image

mm10.cpg.20k.txt:
image

Results:
image

Looks like your genome reference file for mapping (and hence your .3dg file) has chromosomes named like "Y", while my color files have the mouse chromosomes named like "chrY", causing a mismatch.

Looks like your genome reference file for mapping (and hence your .3dg file) has chromosomes named like "Y", while my color files have the mouse chromosomes named like "chrY", causing a mismatch.

I deleted the chromosome Y and X, but it still don't work
grep -v -E "^Y|^X" patski.G2M.3dg > test.3dg

test.3dg:
image

Command:
dip-c color -c $dip_c/color/mm10.cpg.20k.txt test.3dg

Result:
image

There will still be mismatch like "13" vs "chr13". You must rename all your chromosomes.

There will still be mismatch like "13" vs "chr13". You must rename all your chromosomes.

It worked. Thanks!