diff --git a/ppanggolin/formats/writeFlatPangenome.py b/ppanggolin/formats/writeFlatPangenome.py index 63f71e47..a7d29b6e 100644 --- a/ppanggolin/formats/writeFlatPangenome.py +++ b/ppanggolin/formats/writeFlatPangenome.py @@ -826,8 +826,8 @@ def write_rgp_table(regions: Set[Region], """ fname = output / "regions_of_genomic_plasticity.tsv" with write_compressed_or_not(fname, compress) as tab: - fieldnames = ["region", "genome", "contig", "start", - "stop", "genes", "contigBorder", "wholeContig"] + fieldnames = ["region", "genome", "contig", "genes", "first_gene", "last_gene", + "start", "stop", "length", "coordinates", "contigBorder", "wholeContig"] writer = csv.DictWriter(tab, fieldnames=fieldnames, delimiter='\t') writer.writeheader()