Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative mean coverage returned by dnmtools pmd #255

Open
zhoujt1994 opened this issue Dec 30, 2024 · 1 comment
Open

Negative mean coverage returned by dnmtools pmd #255

zhoujt1994 opened this issue Dec 30, 2024 · 1 comment

Comments

@zhoujt1994
Copy link

Hello, I'm running PMD calling for multiple cell types by

$ ct=c0
$ dnmtools pmd -b 1000 -o 1kb/${ct}.pmd.b1k.bed -p 1kb/${ct}.para.b1k.tsv -v -D input/${ct}.meth

It succeed in some cell types, but failed in others. When failed, the verbose always reports a negative mean coverage, like

[READING IN AT BIN SIZE 1000]
[READING CPGS AND METH PROPS] from input/c0.meth
TOTAL BINS: 2809085
MEAN COVERAGE: -305.393
EXITING: INSUFFICIENT DATA

If we check the input file coverage with awk, it looks like

$ awk '{sum1+=$6;sum2+=1}END{print sum1/sum2}' input/${ct}.meth
610.82

I'm using the conda installed dnmtools version 1.4.4. An example input file can be downloaded from here.

Your help is highly appreciated!

@andrewdavidsmith
Copy link
Collaborator

I'll check it out tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants