Skip to content

Commit

Permalink
Changed path to Samtools mentioned in #609
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixKrueger committed Aug 7, 2023
1 parent 97f39aa commit 0bbc1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deduplicate_bismark
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ foreach my $file (@filenames){
if ($multiple){
# we are assuming that all files are either in BAM format
if ($file =~ /\.bam$/){
open (IN,"$samtools_path cat -h $file @filenames | samtools view -h |") or die "Unable to read from BAM files in '@filenames': $!\n";
open (IN,"$samtools_path cat -h $file @filenames | $samtools_path view -h |") or die "Unable to read from BAM files in '@filenames': $!\n";
}
# or all in SAM format
else{ # if the reads are in SAM format we simply concatenate them
Expand Down

0 comments on commit 0bbc1e1

Please sign in to comment.