A transformation clustering algorithm and its application in polyribosomes structural profiling