Effects of long DNA folding and small RNA stem–loop in thermophoresis