This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to convert RNAhybrid output to data frame
target: NC_001538.1
length: 5153
miRNA : hsa-miR-138-5p
length: 23

mfe: -32.8 kcal/mol
p-value: 0.233794

position  383
target 5' A    A                  G 3'
           GGCC UGGUUC U GCGCCAGCU    
           CCGG ACUAAG G UGUGGUCGA    
miRNA  3' G           U U           5'


target: NC_001538.1
length: 5153
miRNA : hsa-miR-149-3p
length: 21

mfe: -35.3 kcal/mol
p-value: 0.118576

position  3362
target 5'   U                 A 3'
             CAGCUCCUGUCCCUUUU    
             GUCGGGGGCAGGGAGGG    
miRNA  3' CGU                 A 5'
rnahybrid

2 answers

You will need to write a program to parse out this record-oriented format into a column-oriented format.

The column-oriented format then can be loaded easily into a dataframe.

Writing the converter is not particularly complicated, all you would need is a beginner-level skillset to accomplish the task.

Thank you very much. I have solved this problem

Log in to answer this question.