« lib/Bio/Roary/CommandLine/GeneAlignmentFromNucleotides.pm
↑ Summary
lib/Bio/Roary/External/GeneAlignmentFromNucleotides.pm »
| 1 | package Bio::Roary::QC::Report; | ||||||||||||||||||||||||||||
| 2 | 2 | $Bio::Roary::QC::Report::VERSION = '3.13.0'; | |||||||||||||||||||||||||||
| 3 | # ABSTRACT: generate a report based on kraken output | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||
| 6 | 2 | ▶ | use Moose; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 7 | 2 | ▶ | use File::Temp; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 8 | 2 | ▶ | use File::Path 'rmtree'; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 9 | 2 | ▶ | use Cwd; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 10 | 2 | ▶ | use File::Basename; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 11 | 2 | with 'Bio::Roary::JobRunner::Role'; | |||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||
| 13 | 2 | has 'input_files' => ( is => 'ro', isa => 'ArrayRef', required => 1 ); | |||||||||||||||||||||||||||
| 14 | 2 | has 'kraken_exec' => ( is => 'ro', isa => 'Str', default => 'kraken' ); | |||||||||||||||||||||||||||
| 15 | 2 | has 'kraken_report_exec' => ( is => 'ro', isa => 'Str', default => 'kraken-report' ); | |||||||||||||||||||||||||||
| 16 | 2 | has 'kraken_db' => ( is => 'ro', isa => 'Str', required => 1 ); | |||||||||||||||||||||||||||
| 17 | 2 | has 'outfile' => ( is => 'rw', isa => 'Str', default => 'qc_report.csv' ); | |||||||||||||||||||||||||||
| 18 | 2 | has '_kraken_data' => ( is => 'rw', isa => 'ArrayRef', lazy_build => 1 ); | |||||||||||||||||||||||||||
| 19 | 2 | has '_header' => ( is => 'rw', isa => 'Str', lazy_build => 1 ); | |||||||||||||||||||||||||||
| 20 | 2 | has 'kraken_memory' => ( is => 'rw', isa => 'Int', default => 2000 ); | |||||||||||||||||||||||||||
| 21 | |||||||||||||||||||||||||||||
| 22 | 2 | has '_tmp_directory_obj' => ( is => 'rw', lazy_build => 1 ); | |||||||||||||||||||||||||||
| 23 | 2 | has '_tmp_directory' => ( is => 'rw', lazy_build => 1, isa => 'Str', ); | |||||||||||||||||||||||||||
| 24 | |||||||||||||||||||||||||||||
| 25 | |||||||||||||||||||||||||||||
| 26 | sub _nuc_fasta_filename | ||||||||||||||||||||||||||||
| 27 | 6 | ▶ | { | ||||||||||||||||||||||||||
|
Subroutine
_nuc_fasta_filename: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 28 | 6 | my ($self, $gff) = @_; | |||||||||||||||||||||||||||
| 29 | |||||||||||||||||||||||||||||
| 30 | 6 | my $prefix = basename( $gff, ".gff" ); | |||||||||||||||||||||||||||
| 31 | 6 | my $outfile = $self->_tmp_directory . "/$prefix.fna"; | |||||||||||||||||||||||||||
| 32 | 6 | return $outfile; | |||||||||||||||||||||||||||
| 33 | } | ||||||||||||||||||||||||||||
| 34 | |||||||||||||||||||||||||||||
| 35 | 3 | ▶ | sub _extract_nuc_fasta_cmd { | ||||||||||||||||||||||||||
|
Subroutine
_extract_nuc_fasta_cmd: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 36 | 3 | my ($self, $gff) = @_; | |||||||||||||||||||||||||||
| 37 | 3 | my $outfile = $self->_nuc_fasta_filename($gff); | |||||||||||||||||||||||||||
| 38 | 3 | my $cmd = "sed -n '/##FASTA/,//p' $gff | grep -v \'##FASTA\' > $outfile"; | |||||||||||||||||||||||||||
| 39 | |||||||||||||||||||||||||||||
| 40 | 3 | return $cmd; | |||||||||||||||||||||||||||
| 41 | } | ||||||||||||||||||||||||||||
| 42 | |||||||||||||||||||||||||||||
| 43 | sub _extract_nuc_files_from_all_gffs | ||||||||||||||||||||||||||||
| 44 | 1 | ▶ | { | ||||||||||||||||||||||||||
|
Subroutine
_extract_nuc_files_from_all_gffs: called CC=2 SCAR=6.9
| |||||||||||||||||||||||||||||
| 45 | 1 | my ($self) = @_; | |||||||||||||||||||||||||||
| 46 | 1 | my @nuc_files; | |||||||||||||||||||||||||||
| 47 | my @commands_to_run; | ||||||||||||||||||||||||||||
| 48 | 1 | for my $input_file(@{$self->input_files}) | |||||||||||||||||||||||||||
| 49 | { | ||||||||||||||||||||||||||||
| 50 | 2 | push(@nuc_files,$self->_nuc_fasta_filename($input_file)); | |||||||||||||||||||||||||||
| 51 | 2 | push(@commands_to_run,$self->_extract_nuc_fasta_cmd($input_file)); | |||||||||||||||||||||||||||
| 52 | } | ||||||||||||||||||||||||||||
| 53 | 1 | my $kraken_runner_obj = $self->_job_runner_class->new( | |||||||||||||||||||||||||||
| 54 | commands_to_run => \@commands_to_run, | ||||||||||||||||||||||||||||
| 55 | memory_in_mb => $self->kraken_memory, | ||||||||||||||||||||||||||||
| 56 | verbose => $self->verbose, | ||||||||||||||||||||||||||||
| 57 | cpus => $self->cpus | ||||||||||||||||||||||||||||
| 58 | ); | ||||||||||||||||||||||||||||
| 59 | 1 | $kraken_runner_obj->run(); | |||||||||||||||||||||||||||
| 60 | 1 | return \@nuc_files; | |||||||||||||||||||||||||||
| 61 | } | ||||||||||||||||||||||||||||
| 62 | |||||||||||||||||||||||||||||
| 63 | 0 | ▶ | sub _kraken_cmd { | ||||||||||||||||||||||||||
|
Subroutine
_kraken_cmd: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 64 | 0 | my ( $self, $a, $kraken_output ) = @_; | |||||||||||||||||||||||||||
| 65 | |||||||||||||||||||||||||||||
| 66 | 0 | my $kcmd = $self->kraken_exec . | |||||||||||||||||||||||||||
| 67 | " --fasta-input ". | ||||||||||||||||||||||||||||
| 68 | " --preload ". | ||||||||||||||||||||||||||||
| 69 | " --db " . $self->kraken_db . | ||||||||||||||||||||||||||||
| 70 | " --output $kraken_output $a > /dev/null 2>&1"; | ||||||||||||||||||||||||||||
| 71 | 0 | return $kcmd; | |||||||||||||||||||||||||||
| 72 | } | ||||||||||||||||||||||||||||
| 73 | |||||||||||||||||||||||||||||
| 74 | 0 | ▶ | sub _kraken_report_cmd { | ||||||||||||||||||||||||||
|
Subroutine
_kraken_report_cmd: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 75 | 0 | my ( $self, $k, $report_output ) = @_; | |||||||||||||||||||||||||||
| 76 | |||||||||||||||||||||||||||||
| 77 | 0 | my $krcmd = $self->kraken_report_exec . | |||||||||||||||||||||||||||
| 78 | " --db " . $self->kraken_db . | ||||||||||||||||||||||||||||
| 79 | " $k > $report_output"; | ||||||||||||||||||||||||||||
| 80 | 0 | return $krcmd; | |||||||||||||||||||||||||||
| 81 | } | ||||||||||||||||||||||||||||
| 82 | |||||||||||||||||||||||||||||
| 83 | sub _kraken_output_filename | ||||||||||||||||||||||||||||
| 84 | 0 | ▶ | { | ||||||||||||||||||||||||||
|
Subroutine
_kraken_output_filename: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 85 | 0 | my ( $self, $assembly ) = @_; | |||||||||||||||||||||||||||
| 86 | 0 | my $kraken_output = $assembly; | |||||||||||||||||||||||||||
| 87 | 0 | $kraken_output =~ s/fna$/kraken/; | |||||||||||||||||||||||||||
| 88 | 0 | return $kraken_output; | |||||||||||||||||||||||||||
| 89 | } | ||||||||||||||||||||||||||||
| 90 | |||||||||||||||||||||||||||||
| 91 | sub _run_kraken_on_nuc_files | ||||||||||||||||||||||||||||
| 92 | 0 | ▶ | { | ||||||||||||||||||||||||||
|
Subroutine
_run_kraken_on_nuc_files: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||
| 93 | 0 | my ( $self, $nuc_files ) = @_; | |||||||||||||||||||||||||||
| 94 | 0 | my @kraken_output_files; | |||||||||||||||||||||||||||
| 95 | my @commands_to_run; | ||||||||||||||||||||||||||||
| 96 | 0 | for my $nuc_file(@{$nuc_files}) | |||||||||||||||||||||||||||
| 97 | { | ||||||||||||||||||||||||||||
| 98 | 0 | my $kraken_output = $self->_kraken_output_filename($nuc_file); | |||||||||||||||||||||||||||
| 99 | 0 | push(@kraken_output_files, $kraken_output ); | |||||||||||||||||||||||||||
| 100 | 0 | push(@commands_to_run, $self->_kraken_cmd( $nuc_file, $kraken_output )); | |||||||||||||||||||||||||||
| 101 | } | ||||||||||||||||||||||||||||
| 102 | |||||||||||||||||||||||||||||
| 103 | 0 | my $kraken_runner_obj = $self->_job_runner_class->new( | |||||||||||||||||||||||||||
| 104 | commands_to_run => \@commands_to_run, | ||||||||||||||||||||||||||||
| 105 | memory_in_mb => $self->kraken_memory, | ||||||||||||||||||||||||||||
| 106 | verbose => $self->verbose, | ||||||||||||||||||||||||||||
| 107 | cpus => $self->cpus | ||||||||||||||||||||||||||||
| 108 | ); | ||||||||||||||||||||||||||||
| 109 | 0 | $kraken_runner_obj->run(); | |||||||||||||||||||||||||||
| 110 | |||||||||||||||||||||||||||||
| 111 | 0 | for my $filename(@{$nuc_files}) | |||||||||||||||||||||||||||
| 112 | { | ||||||||||||||||||||||||||||
| 113 | 0 | unlink($filename); | |||||||||||||||||||||||||||
| 114 | } | ||||||||||||||||||||||||||||
| 115 | |||||||||||||||||||||||||||||
| 116 | 0 | return \@kraken_output_files; | |||||||||||||||||||||||||||
| 117 | } | ||||||||||||||||||||||||||||
| 118 | |||||||||||||||||||||||||||||
| 119 | sub _kraken_report_output_filename | ||||||||||||||||||||||||||||
| 120 | 0 | ▶ | { | ||||||||||||||||||||||||||
|
Subroutine
_kraken_report_output_filename: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 121 | 0 | my ( $self, $assembly ) = @_; | |||||||||||||||||||||||||||
| 122 | 0 | return $assembly.".report"; | |||||||||||||||||||||||||||
| 123 | } | ||||||||||||||||||||||||||||
| 124 | |||||||||||||||||||||||||||||
| 125 | sub _run_kraken_report_on_kraken_files | ||||||||||||||||||||||||||||
| 126 | 0 | ▶ | { | ||||||||||||||||||||||||||
|
Subroutine
_run_kraken_report_on_kraken_files: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||
| 127 | 0 | my ( $self, $kraken_files ) = @_; | |||||||||||||||||||||||||||
| 128 | |||||||||||||||||||||||||||||
| 129 | 0 | my @kraken_report_output_files; | |||||||||||||||||||||||||||
| 130 | my @commands_to_run; | ||||||||||||||||||||||||||||
| 131 | 0 | for my $nuc_file(@{$kraken_files}) | |||||||||||||||||||||||||||
| 132 | { | ||||||||||||||||||||||||||||
| 133 | 0 | my $kraken_output = $self->_kraken_report_output_filename($nuc_file); | |||||||||||||||||||||||||||
| 134 | 0 | push(@kraken_report_output_files, $kraken_output ); | |||||||||||||||||||||||||||
| 135 | 0 | push(@commands_to_run, $self->_kraken_report_cmd( $nuc_file, $kraken_output )); | |||||||||||||||||||||||||||
| 136 | } | ||||||||||||||||||||||||||||
| 137 | |||||||||||||||||||||||||||||
| 138 | 0 | my $kraken_runner_obj = $self->_job_runner_class->new( | |||||||||||||||||||||||||||
| 139 | commands_to_run => \@commands_to_run, | ||||||||||||||||||||||||||||
| 140 | memory_in_mb => $self->kraken_memory, | ||||||||||||||||||||||||||||
| 141 | verbose => $self->verbose, | ||||||||||||||||||||||||||||
| 142 | cpus => $self->cpus | ||||||||||||||||||||||||||||
| 143 | ); | ||||||||||||||||||||||||||||
| 144 | 0 | $kraken_runner_obj->run(); | |||||||||||||||||||||||||||
| 145 | 0 | for my $filename(@{$kraken_files}) | |||||||||||||||||||||||||||
| 146 | { | ||||||||||||||||||||||||||||
| 147 | 0 | unlink($filename); | |||||||||||||||||||||||||||
| 148 | } | ||||||||||||||||||||||||||||
| 149 | 0 | return \@kraken_report_output_files; | |||||||||||||||||||||||||||
| 150 | } | ||||||||||||||||||||||||||||
| 151 | |||||||||||||||||||||||||||||
| 152 | 0 | ▶ | sub _build__kraken_data { | ||||||||||||||||||||||||||
|
Subroutine
_build__kraken_data: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 153 | 0 | my $self = shift; | |||||||||||||||||||||||||||
| 154 | 0 | my $nuc_files = $self->_extract_nuc_files_from_all_gffs(); | |||||||||||||||||||||||||||
| 155 | 0 | my $kraken_files = $self->_run_kraken_on_nuc_files($nuc_files); | |||||||||||||||||||||||||||
| 156 | 0 | my $kraken_report_files = $self->_run_kraken_report_on_kraken_files( $kraken_files ); | |||||||||||||||||||||||||||
| 157 | |||||||||||||||||||||||||||||
| 158 | 0 | return $self->_parse_kraken_reports($kraken_report_files); | |||||||||||||||||||||||||||
| 159 | } | ||||||||||||||||||||||||||||
| 160 | |||||||||||||||||||||||||||||
| 161 | sub _parse_kraken_reports | ||||||||||||||||||||||||||||
| 162 | 0 | ▶ | { | ||||||||||||||||||||||||||
|
Subroutine
_parse_kraken_reports: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||
| 163 | 0 | my ( $self, $kraken_report_files ) = @_; | |||||||||||||||||||||||||||
| 164 | |||||||||||||||||||||||||||||
| 165 | 0 | my @report_rows; | |||||||||||||||||||||||||||
| 166 | 0 | for my $kraken_report(@{$kraken_report_files}) | |||||||||||||||||||||||||||
| 167 | { | ||||||||||||||||||||||||||||
| 168 | 0 | push(@report_rows, $self->_parse_kraken_report($kraken_report)); | |||||||||||||||||||||||||||
| 169 | } | ||||||||||||||||||||||||||||
| 170 | |||||||||||||||||||||||||||||
| 171 | 0 | for my $kraken_report(@{$kraken_report_files}) | |||||||||||||||||||||||||||
| 172 | { | ||||||||||||||||||||||||||||
| 173 | 0 | unlink($kraken_report); | |||||||||||||||||||||||||||
| 174 | } | ||||||||||||||||||||||||||||
| 175 | |||||||||||||||||||||||||||||
| 176 | 0 | return \@report_rows; | |||||||||||||||||||||||||||
| 177 | } | ||||||||||||||||||||||||||||
| 178 | |||||||||||||||||||||||||||||
| 179 | 0 | ▶ | sub _parse_kraken_report { | ||||||||||||||||||||||||||
|
Subroutine
_parse_kraken_report: not called CC=10 SCAR=47.0
| |||||||||||||||||||||||||||||
| 180 | 0 | my ( $self, $kraken_report ) = @_; | |||||||||||||||||||||||||||
| 181 | |||||||||||||||||||||||||||||
| 182 | # parse report | ||||||||||||||||||||||||||||
| 183 | 0 | open( my $report_fh, '<', $kraken_report ); | |||||||||||||||||||||||||||
| 184 | |||||||||||||||||||||||||||||
| 185 | 0 | my $sample_name = $kraken_report; | |||||||||||||||||||||||||||
| 186 | 0 | $sample_name =~ s/.report$//; | |||||||||||||||||||||||||||
| 187 | 0 | $sample_name =~ s/.kraken$//; | |||||||||||||||||||||||||||
| 188 | 0 | my($sample_base_name, $dirs, $suffix) = fileparse($sample_name); | |||||||||||||||||||||||||||
| 189 | |||||||||||||||||||||||||||||
| 190 | 0 | my ( $top_genus, $top_species ); | |||||||||||||||||||||||||||
| 191 | 0 | ▶ | while ( <$report_fh> ){ | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 192 | 0 | my @parts = split( "\t" ); | |||||||||||||||||||||||||||
| 193 | 0 | chomp @parts; | |||||||||||||||||||||||||||
| 194 | |||||||||||||||||||||||||||||
| 195 | 0 | ▶ | $top_genus = $parts[5] if ( (! defined $top_genus) && $parts[3] eq 'G' ); | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
not defined $top_genus and $parts[3] eq "G"
MC/DC0%0/2
not defined $top_genus and $parts[3] eq "G"
not defined $top_genus
$parts[3] eq "G"
Truth table0%0/3
not(A) and B
A= not defined $top_genusB= $parts[3] eq "G"
| |||||||||||||||||||||||||||||
| 196 | 0 | ▶ | $top_species = $parts[5] if ( (! defined $top_species) && $parts[3] eq 'S' ); | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
not defined $top_species and $parts[3] eq "S"
MC/DC0%0/2
not defined $top_species and $parts[3] eq "S"
not defined $top_species
$parts[3] eq "S"
Truth table0%0/3
not(A) and B
A= not defined $top_speciesB= $parts[3] eq "S"
| |||||||||||||||||||||||||||||
| 197 | |||||||||||||||||||||||||||||
| 198 | 0 | ▶ | last if (defined $top_genus && defined $top_species); | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
defined $top_genus and defined $top_species
MC/DC0%0/2
defined $top_genus and defined $top_species
defined $top_genus
defined $top_species
Truth table0%0/3
A and B
A= defined $top_genusB= defined $top_species
| |||||||||||||||||||||||||||||
| 199 | } | ||||||||||||||||||||||||||||
| 200 | 0 | close($report_fh); | |||||||||||||||||||||||||||
| 201 | |||||||||||||||||||||||||||||
| 202 | 0 | ▶ | $top_genus ||= "not_found"; | ||||||||||||||||||||||||||
|
Condition0%0/2
$top_genus ||= "not_found"
MC/DC0%0/1
$top_genus ||= "not_found"
$top_genus
Truth table0%0/2
A
A= $top_genus
| |||||||||||||||||||||||||||||
| 203 | 0 | $top_genus =~ s/^\s+//g; | |||||||||||||||||||||||||||
| 204 | 0 | ▶ | $top_species ||= "not_found"; | ||||||||||||||||||||||||||
|
Condition0%0/2
$top_species ||= "not_found"
MC/DC0%0/1
$top_species ||= "not_found"
$top_species
Truth table0%0/2
A
A= $top_species
| |||||||||||||||||||||||||||||
| 205 | 0 | $top_species =~ s/^\s+//g; | |||||||||||||||||||||||||||
| 206 | |||||||||||||||||||||||||||||
| 207 | 0 | return [ $sample_base_name, $top_genus, $top_species ]; | |||||||||||||||||||||||||||
| 208 | } | ||||||||||||||||||||||||||||
| 209 | |||||||||||||||||||||||||||||
| 210 | |||||||||||||||||||||||||||||
| 211 | 1 | ▶ | sub _build__header { | ||||||||||||||||||||||||||
|
Subroutine
_build__header: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 212 | 1 | return join( ',', ( 'Sample', 'Genus', 'Species' ) ); | |||||||||||||||||||||||||||
| 213 | } | ||||||||||||||||||||||||||||
| 214 | |||||||||||||||||||||||||||||
| 215 | 1 | ▶ | sub _build__tmp_directory_obj { | ||||||||||||||||||||||||||
|
Subroutine
_build__tmp_directory_obj: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 216 | 1 | return File::Temp->newdir(DIR => getcwd, CLEANUP => 1 ); | |||||||||||||||||||||||||||
| 217 | } | ||||||||||||||||||||||||||||
| 218 | |||||||||||||||||||||||||||||
| 219 | 1 | ▶ | sub _build__tmp_directory { | ||||||||||||||||||||||||||
|
Subroutine
_build__tmp_directory: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 220 | 1 | my $self = shift; | |||||||||||||||||||||||||||
| 221 | 1 | return $self->_tmp_directory_obj->dirname(); | |||||||||||||||||||||||||||
| 222 | } | ||||||||||||||||||||||||||||
| 223 | |||||||||||||||||||||||||||||
| 224 | 1 | ▶ | sub report { | ||||||||||||||||||||||||||
|
Subroutine
report: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 225 | 1 | my $self = shift; | |||||||||||||||||||||||||||
| 226 | |||||||||||||||||||||||||||||
| 227 | 1 | open( OUTFILE, '>', $self->outfile ); | |||||||||||||||||||||||||||
| 228 | 1 | print OUTFILE $self->_header . "\n"; | |||||||||||||||||||||||||||
| 229 | 1 | for my $line ( @{ $self->_kraken_data } ){ | |||||||||||||||||||||||||||
| 230 | 3 | print OUTFILE join( ',', @{ $line } ) . "\n"; | |||||||||||||||||||||||||||
| 231 | } | ||||||||||||||||||||||||||||
| 232 | 1 | close OUTFILE; | |||||||||||||||||||||||||||
| 233 | } | ||||||||||||||||||||||||||||
| 234 | |||||||||||||||||||||||||||||
| 235 | |||||||||||||||||||||||||||||
| 236 | 2 | __PACKAGE__->meta->make_immutable; | |||||||||||||||||||||||||||
| 237 | 2 | ▶ | no Moose; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 238 | 2 | 1; | |||||||||||||||||||||||||||
| 239 | |||||||||||||||||||||||||||||
| 240 | __END__ | ||||||||||||||||||||||||||||