Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
susannasiebert authored Oct 2, 2024
1 parent 3c26eec commit 5bc13c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions definitions/tools/bam_readcount.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ task bamReadcount {
sample_index = vcf_file.samples.index(sample)
snv_region_fh = tempfile.NamedTemporaryFile("w", delete=False)
snv_region_writer = csv.writer(fh, delimiter="\t")
snv_region_writer = csv.writer(snv_region_fh, delimiter="\t")
indel_region_fh = tempfile.NamedTemporaryFile("w", delete=False)
indel_region_writer = csv.writer(fh, delimiter="\t")
indel_region_writer = csv.writer(indel_region_fh, delimiter="\t")
for variant in vcf_file:
ref = variant.REF
chr = variant.CHROM
Expand Down

0 comments on commit 5bc13c7

Please sign in to comment.