Code added from 52f22c3e24a4 except rnaDB05 and LIR_fragments.lib. Tests: 3E and 1F.