it worked after checking for the presence of 'product'! since there were 2 repeat regions annotated a crispr regions without the qualifier 'product'... many thx!
from Bio import SeqIO
source_gb = SeqIO.read("file1.gbk", "genbank")
dest_gb = SeqIO.read("file2.gbk", "genbank")
#iterate the list of features in each genbank:
for source_feat, dest_feat in zip((s_feature for s_feature in source_gb.features), (d_feature for d_feature in dest_gb.features)):
if (source_feat.qualifiers.get("product")):
dest_feat.qualifiers["product"] = source_feat.qualifiers["product"]
SeqIO.write(dest_gb, "dest.gbf", "genbank")
do both files use the same geneIDs ? (== can you link on gene name or such?)
all genes of both files have the same locus_tags: KLOVNAE_00001 ... 01000
I have included examples of the CDS features...