import sourmash_lib as sm
e = sm.Estimators(n=50, ksize=15)
for seq in sample
e.add_sequence(seq)
how can it be exported to JSON (or even better, how can I dump a couple of signatures)? I am currently exporting it as csv, and reloading that with sourmash import_csv but this is a) cumbersome and b) does not allow to carry the --with-cardinality or --scaled information.
Dear all,
Once a minhash signature is created using
how can it be exported to JSON (or even better, how can I dump a couple of signatures)? I am currently exporting it as csv, and reloading that with
sourmash import_csv
but this is a) cumbersome and b) does not allow to carry the--with-cardinality
or--scaled
information.Thanks a lot!