Skip to content

Commit 14568a1

Browse files
authored
Update and rename Sim-it1.3.3.pl to Sim-it1.3.4.pl
1 parent ab35248 commit 14568a1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sim-it1.3.3.pl renamed to Sim-it1.3.4.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
print "\n\n-----------------------------------------------";
1616
print "\nSim-it\n";
17-
print "Version 1.3.3\n";
17+
print "Version 1.3.4\n";
1818
print "Author: Nicolas Dierckxsens, (c) 2020-2022\n";
1919
print "-----------------------------------------------\n\n";
2020

@@ -754,7 +754,7 @@
754754
my $seq_depth = "";
755755
my %seq_depth;
756756
chomp($NP_coverage);
757-
if ($NP_coverage =~ m/^\d+$/)
757+
if ($NP_coverage =~ m/^(\d+)$/)
758758
{
759759
$NP_coverage = $1;
760760
}
@@ -766,7 +766,7 @@
766766
{
767767
print "\n--------------------------READ SEQUENCING DEPTH FILE----------------------------\n\n";
768768
print OUTPUT_LOG "\n--------------------------READ SEQUENCING DEPTH FILE----------------------------\n\n";
769-
open(SEQ_DEPTH, $NP_coverage) or die "\nCan't open sequencing depth file $NP_coverage, $!\n";
769+
open(SEQ_DEPTH, $NP_coverage) or die "\nIncorrect coverage number or can't open sequencing depth file $NP_coverage, $!\n";
770770
$seq_depth = $NP_coverage;
771771
$NP_coverage = "";
772772
my $total_coverage = '0';

0 commit comments

Comments
 (0)