Skip to content

Commit

Permalink
Removed a rogue warn/sleep statement that had crept in during the las…
Browse files Browse the repository at this point in the history
…t release (PE/Bowtie2 only)
  • Loading branch information
FelixKrueger committed Apr 25, 2016
1 parent 65214d1 commit d32b68c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
RELEASE NOTES FOR Bismark v0.16.1 (25 04 2016)
----------------------------------------------

Bismark
=======

Removed unintended warn/sleep statement during PE/Bowtie 2 alignments that would slow alignments down
dramatically. Sorry for that.




RELEASE NOTES FOR Bismark v0.16.0 (20 04 2016)
----------------------------------------------

Expand Down
6 changes: 3 additions & 3 deletions bismark
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use lib "$Bin/../lib";


my $parent_dir = getcwd;
my $bismark_version = 'v0.16.0';
my $bismark_version = 'v0.16.1';
my $command_line = join (" ",@ARGV);


Expand Down Expand Up @@ -4304,12 +4304,12 @@ sub check_bowtie_results_paired_ends_bowtie2{
my $best_alignment_location;
foreach my $alignment_location (sort {$alignments{$b}->{sum_of_alignment_scores} <=> $alignments{$a}->{sum_of_alignment_scores}} keys %alignments){

warn "$alignments{$alignment_location}->{sum_of_alignment_scores}\n"; sleep(1);
# warn "$alignments{$alignment_location}->{sum_of_alignment_scores}\n"; sleep(1);

unless (defined $best_sum_of_alignment_scores){
$best_sum_of_alignment_scores = $alignments{$alignment_location}->{sum_of_alignment_scores};
$best_alignment_location = $alignment_location;
print "setting best alignment score to: $best_sum_of_alignment_scores\n";
# print "setting best alignment score to: $best_sum_of_alignment_scores\n";
}
else{
### if the second best alignment has the same sum of alignment scores as the first one, the sequence pair will get booted
Expand Down

0 comments on commit d32b68c

Please sign in to comment.