Alien-SeqAlignment-MMseqs2
view release on metacpan or search on metacpan
lib/Alien/SeqAlignment/MMseqs2.pm view on Meta::CPAN
use strict;
use warnings;
package Alien::SeqAlignment::MMseqs2;
$Alien::SeqAlignment::MMseqs2::VERSION = '0.02';
use parent qw( Alien::Base );
use Carp;
our $AUTOLOAD;
sub AUTOLOAD {
my ($self) = @_;
our $AUTOLOAD;
$AUTOLOAD =~ s/.*::(\w+)$//;
my $method = $1;
unless ( exists $self->runtime_prop->{command}->{$method} ) {
croak "Method $method not found";
}
else {
no strict 'refs';
*$AUTOLOAD = sub {
shift->runtime_prop->{command}->{$method};
};
}
use strict 'refs';
goto &$AUTOLOAD;
}
=head1 NAME
Alien::SeqAlignment::MMseqs2 - find, build and install the mmseqs2 tools
=head1 VERSION
version 0.02
=head1 SYNOPSIS
To execute the MMseqs2 set of tools, you can use the following code:
use Alien::SeqAlignment::MMseqs2;
use Env qw( @PATH );
unshift @PATH, Alien::SeqAlignment::MMseqs2->bin_dir;
Now you can run the mmseqs2 tools as:
Alien::SeqAlignment::MMseqs2->mmseqs <command> [<args>]
=head1 DESCRIPTION
This distribution provides MMseqs2 so that it can be used by other
Perl distributions that are on CPAN. The source code will be downloaded
from the MMseqs2 website, if it is not found in the system path.
The program will then be built and installed in a private share location.
The build provides the various CLI tools in the MMseqs2 suite.
=head1 METHODS : MMseqs2 SUITE
=head2 mmseqs
system Alien::SeqAlignment::MMseqs2->mmseqs <command> [<args>]
Returns the command name for running the CLI version of the mmseqs2 suite.
The command is the name of the MMseqs workflow that you want to run.
( run in 0.324 second using v1.01-cache-2.11-cpan-119454b85a5 )