-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Describe the bug
dnmtools dmr "${sample_diif_file_sort}" "${T_hmrfile_sort}" "${N_hmrfile_sort}" "${outfile_1}" "${outfile_2}"
reported errors in log files:
CpGs not sorted in: ****
regions not sorted in file: *****
To Reproduce
Please find my scripts outlines as below:
sort -k1,1 -k2,2n ${N_hmrfile} > ${N_hmrfile_sort}
sort -k1,1 -k2,2n ${T_hmrfile} > ${T_hmrfile_sort}
sort -k1,1 -k2,2n ${sample_diif_file} > ${sample_diif_file_sort}
dnmtools dmr "${sample_diif_file_sort}" "${T_hmrfile_sort}" "${N_hmrfile_sort}" "${outfile_1}" "${outfile_2}"
The hmr files and diff files can be generted without errors.
Generally, I follow count, sym, workflow for short-reads WGBS-bismark bam files.
My guess
I guess some CpGs/postions present in one file is not in the other file, creating the errors?
How could I fix it? Any suggestions?
Thanks
Yujie