Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cff-version: version = "26.5.22"
cff-version: 1.2.0
title: 'funannotate2: eukaryotic genome annotation'
message: >-
If you use this software, please cite it using the
Expand All @@ -17,5 +17,5 @@ keywords:
- functional annotation
- consensus gene models
license: BSD-2-Clause
version: version = "26.5.22"
version: 26.5.22
date-released: '2026-05-24'
6 changes: 5 additions & 1 deletion funannotate2/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,11 @@ def predict(args):
contig_name_map = simplify_headers_drop(
args.fasta, GenomeFasta, GenomeMito, drop=list(mito_contigs.keys())
)
# Create inverse contig map for BAM processing (maps simplified names back to original)
# Build the BAM->simplified contig map for annorefine.bam2hints. The BAM
# file references the user's original contig names, but everything
# downstream (per-contig FASTAs, hints files) uses the simplified names
# produced by simplify_headers_drop, so we need {original: simplified}.
# contig_name_map is {simplified: original}, so invert it here.
inv_contig_map = {value: key for key, value in contig_name_map.items()}
maskedRegions = os.path.join(misc_dir, "softmasked-regions.bed")
asmGaps = os.path.join(misc_dir, "assembly-gaps.bed")
Expand Down
Loading