Skip to content

Commit 563315f

Browse files
author
Jon Palmer
committed
fix parsing annotations in annotate
1 parent d9578e8 commit 563315f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

CITATION.cff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cff-version: version = "25.8.3"
1+
cff-version: version = "25.8.5"
22
title: 'funannotate2: eukaryotic genome annotation'
33
message: >-
44
If you use this software, please cite it using the
@@ -17,5 +17,5 @@ keywords:
1717
- functional annotation
1818
- consensus gene models
1919
license: BSD-2-Clause
20-
version: version = "25.8.3"
21-
date-released: '2025-08-04'
20+
version: version = "25.8.5"
21+
date-released: '2025-08-05'

funannotate2/annotate.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def annotate(args):
276276
)
277277
pfam_dict = pfam2tsv(pfam, pfam_all, pfam_annots)
278278
else:
279-
pfam_dict = parse_annotations(pfam_annots)
279+
pfam_dict, _ = parse_annotations(pfam_annots)
280280
logger.info(
281281
f"Existing Pfam-A results found, loaded annotations for {len(pfam_dict)} gene models"
282282
)
@@ -296,7 +296,7 @@ def annotate(args):
296296
)
297297
dbcan_dict = dbcan2tsv(dbcan, dbcan_all, dbcan_annots)
298298
else:
299-
dbcan_dict = parse_annotations(dbcan_annots)
299+
dbcan_dict, _ = parse_annotations(dbcan_annots)
300300
logger.info(
301301
f"Existing dbCAN results found, loaded annotations for {len(dbcan_dict)} gene models"
302302
)
@@ -317,7 +317,7 @@ def annotate(args):
317317
)
318318
swiss_dict = swissprot2tsv(swiss, swiss_all, swiss_annots)
319319
else:
320-
swiss_dict = parse_annotations(swiss_annots)
320+
swiss_dict, _ = parse_annotations(swiss_annots)
321321
logger.info(
322322
f"Existing UniProtKB/Swiss-Prot results found, loaded annotations for {len(swiss_dict)} gene models"
323323
)
@@ -337,7 +337,7 @@ def annotate(args):
337337
)
338338
merops_dict = merops2tsv(merops, merops_all, merops_annots)
339339
else:
340-
merops_dict = parse_annotations(merops_annots)
340+
merops_dict, _ = parse_annotations(merops_annots)
341341
logger.info(
342342
f"Existing MEROPS results found, loaded annotations for {len(merops_dict)} gene models"
343343
)
@@ -384,7 +384,7 @@ def annotate(args):
384384
f"BUSCOlite search resulted in {len(busco_dict)} hits and finished in {round(end - start, 2)} seconds"
385385
)
386386
else:
387-
busco_dict = parse_annotations(busco_annots)
387+
busco_dict, _ = parse_annotations(busco_annots)
388388
logger.info(
389389
f"Existing BUSCOlite results found, loaded annotations for {len(busco_dict)} gene models"
390390
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "funannotate2"
7-
version = "25.8.3"
7+
version = "25.8.5"
88
description = "Funannotate2: eukarytoic genome annotation pipeline"
99
readme = {file = "README.md", content-type = "text/markdown"}
1010
authors = [

0 commit comments

Comments
 (0)