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

pairtools dedup: invalid value encountered in divide #242

Open
gbdnorden opened this issue Jun 15, 2024 · 1 comment
Open

pairtools dedup: invalid value encountered in divide #242

gbdnorden opened this issue Jun 15, 2024 · 1 comment

Comments

@gbdnorden
Copy link

Hi! when running both this one-liner from OmniC ( https://omni-c.readthedocs.io/en/latest/fastq_to_bam.html ), I get a ~80G bam file at the end but this error message:

WARNING:py.warnings:envs/yahs/lib/python3.10/site-packages/pairtools/lib/stats.py: 410: RuntimeWarning: 
invalid value encountered in divide
  np.abs(dist_freqs_by_strands[strands] - avg_freq_all_strands)

When I run the above pipeline command by command, I get that same error at the pairtools dedup step.

I also seem to still need to pin numpy==1.23, even with the newest version of pairtools==1.1.0. , as in this post:
#170 (comment)

This seems to be related to an earlier pairtools dedup / numpy bug described here:
#175

Thank you for your help!

@Phlya
Copy link
Member

Phlya commented Jun 15, 2024

Is this the only message you get? It's not an error and should be safe to ignore...

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