Skip to content

Commit d791d1d

Browse files
author
Jon Palmer
committed
fix secretion signal detection in stats
1 parent a14f1d3 commit d791d1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

funannotate/library.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,7 @@ def annotation_summary(fasta, output, gff=False, tbl=False, pct=0.90,
24972497
stats['annotation']['transcript-level']['functional']['merops'] += 1
24982498
if any(s.startswith('BUSCO:') for s in v['note'][i]):
24992499
stats['annotation']['transcript-level']['functional']['busco'] += 1
2500-
if any(s.startswith('SECRETION:') for s in v['note'][i]):
2500+
if any(s.startswith('SECRETED:') for s in v['note'][i]):
25012501
stats['annotation']['transcript-level']['functional']['secretion'] += 1
25022502
stats['annotation']['avg_gene_length'] = round(sum(geneLengths) / float(len(geneLengths)), 2)
25032503
stats['annotation']['transcript-level']['avg_protein_length'] = round(sum(protLengths) / float(len(protLengths)), 2)

0 commit comments

Comments
 (0)