Topological analysis of knotted biological polymers (e.g. proteins, DNA) with R