Skip to content

Commit

Permalink
output bed files are now sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
mtw committed Oct 27, 2015
1 parent eed015d commit bbda545
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Bio/ViennaNGS/Peak.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*-CPerl-*-
# Last changed Time-stamp: <2015-10-27 14:44:15 mtw>
# Last changed Time-stamp: <2015-10-27 17:31:43 mtw>

package Bio::ViennaNGS::Peak;

Expand Down Expand Up @@ -256,6 +256,7 @@ sub raw_peaks {
} # end foreach
close(RAWPEAKS);
close(LOG);
sortbed($fn_u,$dest,$fn,1,$log);
}

sub final_peaks {
Expand Down Expand Up @@ -343,6 +344,7 @@ sub final_peaks {
} # end foreach $peak
} # end foreach $chr
close(CANDIDATEPEAKS);
sortbed($fn_u,$dest,$fn,1,$log);
}
__PACKAGE__->meta->make_immutable;

Expand Down

0 comments on commit bbda545

Please sign in to comment.