I am interested in translating DT-codes into braid words. As an example for the trefoil knot: $\{4,6,2\}$ into $\{1,1,1\}$, where the latter stands for the braid word in the braid group of two strands.
Is there an algorithm for this? The low-dimensional topology computation programs like SnapPy or SageMath can do this indirectly but I could not figure out how.