Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions METABOLIC-C.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1775,17 +1775,17 @@ sub _get_Genome_coverge{
open __IN, "$reads";
while (<__IN>){
chomp;
if (!/^#/){
my @tmp = split (/\,/,$_);
my $tmp_link = "";
if ($test ne "true"){
$tmp_link = $tmp[0]."\t".$tmp[1];
}else{
$tmp_link = "$METABOLIC_dir/METABOLIC_test_files/METABOLIC_test_reads/".$tmp[0]."\t"."$METABOLIC_dir/METABOLIC_test_files/METABOLIC_test_reads/".$tmp[1];
}
$Reads{$tmp_link} = $i;
$i++;
next if /^#/ or /^\s*$/; # Skip comments and blank lines

my @tmp = split /,/;
my $tmp_link = "";
if ($test ne "true"){
$tmp_link = $tmp[0]."\t".$tmp[1];
}else{
$tmp_link = "$METABOLIC_dir/METABOLIC_test_files/METABOLIC_test_reads/".$tmp[0]."\t"."$METABOLIC_dir/METABOLIC_test_files/METABOLIC_test_reads/".$tmp[1];
}
$Reads{$tmp_link} = $i;
$i++;
}
close __IN;

Expand Down