diff --git a/workflow/scripts/filter_genes.py b/workflow/scripts/filter_genes.py index c7a6d4e7..fb33afc9 100644 --- a/workflow/scripts/filter_genes.py +++ b/workflow/scripts/filter_genes.py @@ -34,8 +34,8 @@ def handle_exception(exc_type, exc_value, exc_traceback): import pyfastx -faa_iterator = pyfastx.Fastx(snakemake.input.faa, format="fasta") -fna_iterator = pyfastx.Fastx(snakemake.input.fna, format="fasta") +faa_iterator = pyfastx.Fastx(snakemake.input.faa, format="fasta",comment=True) +fna_iterator = pyfastx.Fastx(snakemake.input.fna, format="fasta",comment=True) with open(snakemake.output.faa, "w") as out_faa, open(