BioX-Map

 view release on metacpan or  search on metacpan

lib/BioX/Map/CLIS/Cmd/Map.pm  view on Meta::CPAN

package BioX::Map::CLIS::Cmd::Map;
use Modern::Perl;
use IO::All;
use Carp "confess";
use Moo;
use MooX::Options prefer_commandline => 1, with_config_from_file => 1;
use MooX::Cmd;
use BioX::Map;
use Types::Standard qw(Int Str Bool Enum);

our $VERSION = '0.0.12'; # VERSION:
# ABSTRACT: a wrapper for mapping software


around _build_config_identifier => sub { 'berry' };
around _build_config_prefix => sub { 'biox_map' };


option infile => (
  is        => 'ro',
  format    => 's',
  short     => 'i',
  doc       => "path of one fastq file",
  default   => '',
);


option outfile => (
  is        => 'ro',
  format    => 's',
  short     => 'o',
  doc       => "path of outfile",
  default   => '',
);


option indir => (
  is        => 'ro',
  format    => 's',
  short     => 'I',
  default   => '',
  doc       => "path of indir include fastq file",
);


option outdir => (
  is        => 'ro',
  format    => 's',
  short     => 'O',
  doc       => "path of outdir",
  default   => './',
);


option process_tool => (
  is        => 'ro',
  format    => 'i',
  short     => 'p',
  doc       => "cpu number used by mapping software",
  default   => 1,
);



( run in 1.593 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )