pydna.gateway

pydna.gateway.gateway_overlap(seqx: Dseqrecord, seqy: Dseqrecord, reaction: str, greedy: bool) list[tuple[int, int, int]][source]

Find gateway overlaps. If greedy is True, it uses a more greedy consensus site to find attP sites, which might give false positives

pydna.gateway.find_gateway_sites(seq: Dseqrecord, greedy: bool) dict[str, list[SimpleLocation]][source]

Find all gateway sites in a sequence and return a dictionary with the name and positions of the sites.

pydna.gateway.annotate_gateway_sites(seq: Dseqrecord, greedy: bool) Dseqrecord[source]