Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #401 from jlac/activeDev
Browse files Browse the repository at this point in the history
fixed bug in WES BED file generation
  • Loading branch information
jlac committed Jan 31, 2019
2 parents cb2fedc + ae0d41f commit 1d20ea1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Results-template/Scripts/reformat_bed.pl
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@

my $outfile = 'exome_targets.bed';
my $freecout = 'freec_targets.bed';
open C, ">$outfile";
open D, ">$freecout";

my $infile = $ARGV[0];
my @line = ();

open U, "<$infile";
open U, "<$infile" or die;
open C, ">$outfile";
open D, ">$freecout";

while (<U>){
chomp;
last if m/^$/;
Expand Down

0 comments on commit 1d20ea1

Please sign in to comment.