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

sourmash compute --scaled 1 fails #152

Closed
ctb opened this issue Apr 6, 2017 · 0 comments
Closed

sourmash compute --scaled 1 fails #152

ctb opened this issue Apr 6, 2017 · 0 comments

Comments

@ctb
Copy link
Contributor

ctb commented Apr 6, 2017

./sourmash compute --scaled 1 data/GCF_000*.gz -f
# running sourmash subcommand: compute
setting num_hashes to 0 because --scaled is set
computing signatures for files: data/GCF_000005845.2_ASM584v2_genomic.fna.gz, data/GCF_000006945.1_ASM694v1_genomic.fna.gz, data/GCF_000783305.1_ASM78330v1_genomic.fna.gz
Computing signature for ksizes: [31]
Computing only DNA (and not protein) signatures.
Computing a total of 1 signatures.
Computing signature for ksizes: [31]
Traceback (most recent call last):
  File "./sourmash", line 5, in <module>
    main()
  File "/Users/t/dev/sourmash/sourmash_lib/__main__.py", line 56, in main
    cmd(sys.argv[2:])
  File "/Users/t/dev/sourmash/sourmash_lib/commands.py", line 269, in compute
    Elist = make_estimators()
  File "/Users/t/dev/sourmash/sourmash_lib/commands.py", line 208, in make_estimators
    seed=seed)
  File "/Users/t/dev/sourmash/sourmash_lib/__init__.py", line 73, in __init__
    seed=seed)
  File "sourmash_lib/_minhash.pyx", line 40, in sourmash_lib._minhash.MinHash.__init__ (sourmash_lib/_minhash.cpp:1481)
    HashIntoType max_hash=0):
OverflowError: Python int too large to convert to C unsigned long
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

1 participant