Bioinfo

 view release on metacpan or  search on metacpan

lib/Bioinfo/PBS.pm  view on Meta::CPAN

package Bioinfo::PBS;
use Moose;
use Modern::Perl;
use IO::All;
use namespace::autoclean;

our $VERSION = '0.1.15'; # VERSION: 
# ABSTRACT: my perl module and CLIs for Biology


has cpu => (
  is  => 'rw',
  isa => 'Int',
  default => sub {'1'},
  lazy => 1,
);


has name => (
  is  => 'rw',
  isa => 'Str',
  default => sub { 'yanxq' },
  lazy => 1,
);


has queue_name => (
  is  => 'rw',
  isa => 'Str',
  default => sub { 'batch' },
  lazy => 1,
);


has cmd => (
  is  => 'rw',
  isa => 'Str',
  required => 1,
);


has path => (
  is  => 'rw',
  isa => 'Str',
  default => sub { '$PBS_O_WORKDIR' },
  lazy => 1,
);


has job_id => (
  is  => 'ro',
  writer  => '_set_job_id',
  isa => 'Int',
);


has priority => (
  is  => 'rw',
  isa => 'Int',
  default => sub { '1' },
  lazy => 1,
);

has _sh_name => (
  is  => 'rw',



( run in 0.680 second using v1.01-cache-2.11-cpan-39bf76dae61 )