From d9d71a9f2bb19420753a78a0726e1ea4665338d4 Mon Sep 17 00:00:00 2001 From: silask Date: Fri, 22 Sep 2023 15:51:23 +0200 Subject: [PATCH] fix #696 --- workflow/scripts/filter_genes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(