Skip to content

regions not sorted in file #257

Description

@JavenCao

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.

Image Image Image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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