Skip to content

Commit

Permalink
Fix a bug of clremovecontam and refine clmakeidentdb
Browse files Browse the repository at this point in the history
  • Loading branch information
astanabe committed Apr 7, 2022
1 parent 271500b commit 5fed601
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion clmakeidentdb.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use strict;
use File::Spec;
use Fcntl ':flock';
use DBI;

my $buildno = '0.9.x';
Expand Down
7 changes: 6 additions & 1 deletion clremovecontam.pl
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,12 @@ sub estimateContaminationProbability {

sub calculateTagJumpProbability {
print(STDERR "Calculating tag jump probability...\n");
my @samplenames = keys(%sample2blank);
my @samplenames;
foreach my $samplename (sort(keys(%samplenames))) {
if (exists($sample2blank{$samplename}) || exists($sample2sample{$samplename})) {
push(@samplenames, $samplename);
}
}
my @otunames;
foreach my $otuname (keys(%otunames)) {
if (!defined($ignoreotulist{$otuname})) {
Expand Down

0 comments on commit 5fed601

Please sign in to comment.