scholl-lab / vcf-filtering

A collection of scripts for filtering annotated variant call format files
MIT License
2 stars 1 forks source link

Bug: Incorrect output file format when specifying XLSX output without output file #48

Open berntpopp opened 1 month ago

berntpopp commented 1 month ago

Description:

When specifying xlsx as the output format but not providing an output file name, the script defaults to writing the Excel output to a TSV file. This causes confusion and improper file handling.

Steps to Reproduce:

  1. Run the script with the -x or --xlsx flag without specifying an output file.
  2. Observe that the output is written in TSV format instead of XLSX.

Expected Behavior:

The script should either prompt the user to specify an output file name when xlsx is selected or default to a meaningful Excel file name such as output.xlsx.