Commit da45cd89 authored by cmaffeo2's avatar cmaffeo2
Browse files

Fixed issue with 5/3-prime placement for cadnano reader

parent bad59dec
......@@ -472,12 +472,12 @@ class cadnano_part(SegmentModel):
def _add_prime_ends(self):
for h,fwd,z in self._5prime_list:
seg, nt = self._get_segment_nucleotide(h,z)
seg, nt = self._get_segment_nucleotide(h,z, fwd)
# print("adding 5prime",seg.name,nt,fwd)
seg.add_5prime(nt,fwd)
for h,fwd,z in self._3prime_list:
seg, nt = self._get_segment_nucleotide(h,z)
seg, nt = self._get_segment_nucleotide(h,z, not fwd)
# print("adding 3prime",seg.name,nt,fwd)
seg.add_3prime(nt,fwd)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment