Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LaraFuhrmann committed Jul 21, 2023
1 parent adcfd72 commit 4cc042e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
def main(fname_bam, fname_reference, fname_result, fname_result_haplos, dname_work,seq_tech, genome_size,read_length):
dname_work.mkdir(parents=True, exist_ok=True)

if (read_length > genome_size) & seq_tech == 'illumina':
if (read_length > genome_size) & (seq_tech == 'illumina'):
open(fname_result_haplos, 'a').close()
# create empty vcf files
f = open(fname_result, 'a')
f.write("#CHROM POS ID REF ALT QUAL FILTER INFO")
f.close()

else:

subprocess.run(
Expand Down

0 comments on commit 4cc042e

Please sign in to comment.