Skip to content

Commit

Permalink
Update unikseq.pl
Browse files Browse the repository at this point in the history
fixed $tsvflag is missing when calling printOutput function. (Issue #2)
  • Loading branch information
warrenlr committed May 11, 2023
1 parent e8eadcb commit 97345c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unikseq.pl
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ sub slide{
my $entry = $1;
$head = $_;
if($prevhead ne $head && $prevhead ne "" && $seq ne ""){
&printOutput($cflag,$conseq,$seq,$preventry,$k,$in,$ex,$incount,$excount,$prop,$minnotunique,$minpercentunique,$maxpercentoutgroup,$tchar);
&printOutput($cflag,$conseq,$seq,$preventry,$k,$in,$ex,$incount,$excount,$prop,$minnotunique,$minpercentunique,$maxpercentoutgroup,$tchar,$tsvflag);
}
$seq = "";
$prevhead = $head;
Expand All @@ -229,7 +229,7 @@ sub slide{
$seq .= uc($seqstretch);
}
}
&printOutput($cflag,$conseq,$seq,$preventry,$k,$in,$ex,$incount,$excount,$prop,$minnotunique,$minpercentunique,$maxpercentoutgroup,$tchar);
&printOutput($cflag,$conseq,$seq,$preventry,$k,$in,$ex,$incount,$excount,$prop,$minnotunique,$minpercentunique,$maxpercentoutgroup,$tchar,$tsvflag);

close OUT;
close TSV if($tsvflag);
Expand Down

0 comments on commit 97345c7

Please sign in to comment.