Skip to content

Commit

Permalink
bed file format bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yueyaog committed Jul 3, 2024
1 parent 7fa5bf9 commit adaa808
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CNV-Profiler/CNV-Profiler.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ task GetPaddedCnvBed {
with open('padded_cnv.bed', 'a') as f:
for interval in padded_cnv_interval_list:
f.write(interval + '\n')
chrom = interval.split(':')[0]
start = interval.split(':')[1].split('-')[0]
end = interval.split(':')[1].split('-')[1]
f.write("{chr}\t{start}\t{end}" + '\n')
CODE
>>>
runtime {
Expand Down

0 comments on commit adaa808

Please sign in to comment.