Group
Extension

Matches 2

Bio-Sketch-Mash ( L/LS/LSKATZ/Bio-Sketch-Mash-0.9.tar.gz, LSKATZ, 2019; MetaCPAN )
Bio-Sketch-Mash/README.pod ( view source; MetaCPAN )
write it to a json-formatted file
  my $msh2 = Bio::Sketch::Mash->new("all.msh");
  $msh2->writeJson("all.json");
  # Read the json file
  my $mashJson = Bio::Sketch::Mash->new("all.json");
  my $dist
 = $msh2->dist($mashJson); # yields a zero distance

=head1 DESCRIPTION

This is a module to read mash files produced by the Mash executable. For more information on Mash, see L<mash.readthedocs.org>.
One object per set of files.

  Arguments:  Sketch filename (valid types/extensions are .msh, .json, .json.gz)
              Hash of options (none so far)
  Returns:    Bio::Sketch::Mash object

=back
Bio-Sketch-Mash ( L/LS/LSKATZ/Bio-Sketch-Mash-0.9.tar.gz, LSKATZ, 2019; MetaCPAN )
Bio-Sketch-Mash/lib/Bio/Sketch/Mash.pm ( view source; MetaCPAN )
se Exporter qw(import);
use File::Basename qw/fileparse basename dirname/;
use Data::Dumper;

use JSON ();
use Encode qw/encode decode/;

&implements( 'Bio::Sketch' );

our $VERSION = 0.9;

our @EXPOR
write it to a json-formatted file
  my $msh2 = Bio::Sketch::Mash->new("all.msh");
  $msh2->writeJson("all.json");
  # Read the json file
  my $mashJson = Bio::Sketch::Mash->new("all.json");
  my $dist
 = $msh2->dist($mashJson); # yields a zero distance

=head1 DESCRIPTION

This is a module to read mash files produced by the Mash executable. For more information on Mash, see L<mash.readthedocs.org>.

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.