Skip to content

Commit

Permalink
ratio.pl args/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Toshiro Nishimura committed Mar 28, 2011
1 parent 51d3bd1 commit e120767
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions ratio.pl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
use Launch;


pod2usage(-verbose => 99,-sections => [qw/NAME SYNOPSIS OPTIONS/]) if $opt_help;
pod2usage(-verbose => 99,-sections => [qw/NAME SYNOPSIS OPTIONS/])
unless $opt_output_directory && $opt_reference_a && $opt_reference_b && $opt_raw && $opt_ecotype_a && $opt_ecotype_b && scalar %opt_splice;


my $conf=qq/
log4perl.logger = DEBUG, Print
Expand Down Expand Up @@ -60,11 +62,6 @@ sub _gen_files {
#######################################################################
# Handle options


$logger->logdie("-o -r, -ra, -rb, -ea, -eb, -s required")
unless $opt_output_directory &&
$opt_reference_a && $opt_reference_b && $opt_raw && $opt_ecotype_a && $opt_ecotype_b && scalar %opt_splice;

$logger->info("raw file: $opt_raw");
$logger->info("reference A: $opt_reference_a");
$logger->info("reference B: $opt_reference_b");
Expand Down Expand Up @@ -238,7 +235,7 @@ =head1 SYNOPSIS
Usage examples:
ratio.pl [options]...
ratio.pl -r raw.fastq -ea Col -b Ler -ra genome-a.fasta -rb genome-b.fasta -l 100 -m 2 -s 1 50 -o outdir -b basename
=head1 REQUIRED ARGUMENTS
Expand Down Expand Up @@ -294,15 +291,15 @@ =head1 OPTIONS
=item -m <num> | --bowtie-mismatches <num>
Number of mismatches to allow in bowtie
Number of mismatches to allow in bowtie.
=for Euclid
num.default: 2
num.type: int, num >= 0 && num <= 3
=item -o <dir> | --output-directory <dir>
Output Directory
Output Directory.
=item -b <name> | --basename <name>
Expand Down

0 comments on commit e120767

Please sign in to comment.