Exemplo n.º 1
0
def test_md5(track_abundance):
    e = sourmash_lib.Estimators(n=1, ksize=20, track_abundance=track_abundance)
    e.mh.add_hash(5)
    sig = SourmashSignature('*****@*****.**', e)
    print(sig._save())
    assert sig.md5sum() == 'eae27d77ca20db309e056e3d2dcd7d69', sig.md5sum()
Exemplo n.º 2
0
def test_md5(track_abundance):
    e = sourmash_lib.MinHash(n=1, ksize=20, track_abundance=track_abundance)
    e.add_hash(5)
    sig = SourmashSignature(e)
    print(sig._save())
    assert sig.md5sum() == 'eae27d77ca20db309e056e3d2dcd7d69', sig.md5sum()