diff --git a/src/dgenies/lib/paf.py b/src/dgenies/lib/paf.py index 7eb4e7f56de7ac855afce6c9c8b9a03bd27c9aa1..c8ca29ba51c1128c1b4616d615a66370dc26f6f3 100644 --- a/src/dgenies/lib/paf.py +++ b/src/dgenies/lib/paf.py @@ -542,6 +542,7 @@ class Paf: """ index = self.idx_q if to == "query" else self.idx_t name, contigs_list, contigs, reversed, abs_start, c_len = Index.load(index) + contigs_list = set(contigs_list) with open(self.paf, "r") as paf: for line in paf: c_name = line.strip("\n").split("\t")[0 if to == "query" else 5]