Skip to content

Commit

Permalink
style: black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
boasvdp committed Apr 26, 2024
1 parent 17b6cca commit 3d3a2c7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions assembly_snptyper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def check_if_ref_is_ascii(reference):
"Reference genome cannot be read as flat text: only unzipped FASTA reference genomes are supported."
)


def convert_vcf_to_bed(vcf, bed_path):
"""
Convert reference VCF to BED file
Expand Down Expand Up @@ -264,7 +265,10 @@ def wrapper(args_dict):
"""
sample = Path(args_dict["input_asm"]).stem
result = run_oneliner(
args_dict["bed_path"], args_dict["reference"], args_dict["input_asm"], args_dict["minimap_preset"]
args_dict["bed_path"],
args_dict["reference"],
args_dict["input_asm"],
args_dict["minimap_preset"],
)
output = parse_mpileup_output(result, args_dict["vcf"], sample)
logging.info(f"Processed {sample}")
Expand Down Expand Up @@ -404,7 +408,9 @@ def main():
logging.info(f"Created temporary bed file: {bed_path}")

logging.info("Starting typing workflow")
run_parallel(bed_path, args.reference, list_input, args.vcf, minimap_preset, args.processes)
run_parallel(
bed_path, args.reference, list_input, args.vcf, minimap_preset, args.processes
)


if __name__ == "__main__":
Expand Down

0 comments on commit 3d3a2c7

Please sign in to comment.