Skip to content

Commit

Permalink
Update NOVOPlasty4.3.5.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
ndierckx authored Feb 4, 2024
1 parent 9d7c12c commit 12ea0cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions NOVOPlasty4.3.5.pl
Original file line number Diff line number Diff line change
Expand Up @@ -10041,13 +10041,14 @@ sub align_hp
my @IUPAC = IUPAC($nucs{"A"},$nucs{"C"},$nucs{"T"},$nucs{"G"},$hp);
if ($IUPAC[0] eq "A" || $IUPAC[0] eq "C" || $IUPAC[0] eq "T" || $IUPAC[0] eq "G")
{
$best_extension = $best_extension.$IUPAC[0];
}
else
{
$best_extension = $best_extension."N";
$SNP++;
}
$allele_percentage{$l} = $nucs{"A"}."+".$nucs{"C"}."+".$nucs{"T"}."+".$nucs{"G"};
$best_extension = $best_extension.$IUPAC[0];
}
elsif ((($heteroplasmy ne "" && $l < $pos_SNP4+10) || $heteroplasmy eq "") && $SNP eq "4" && ($pos_SNP ne 0 || ($pos_SNP4 > $pos_SNP+12) || ($extensions_before eq "yes" && $l > 12)))
{
Expand Down Expand Up @@ -18432,13 +18433,14 @@ sub align_hp
my @IUPAC = IUPAC($A,$C,$T,$G);
if ($IUPAC[0] eq "A" || $IUPAC[0] eq "C" || $IUPAC[0] eq "T" || $IUPAC[0] eq "G")
{
$best_extension = $best_extension.$IUPAC[0];
}
else
{
$SNP++;
$best_extension = $best_extension."N";
}
$allele_percentage_back{$l} = $A."+".$C."+".$T."+".$G;
$best_extension = $best_extension.$IUPAC[0];
$allele_percentage_back{$l} = $A."+".$C."+".$T."+".$G;
}
elsif ((($heteroplasmy ne "" && $l < $pos_SNP4+10) || $heteroplasmy eq "") && $SNP eq "4" && ($pos_SNP ne 0 || ($pos_SNP4 > $pos_SNP+12) || ($extensions_before eq "yes" && $l > 12)))
{
Expand Down

0 comments on commit 12ea0cb

Please sign in to comment.