dincarnato / RNAFramework

RNA structure probing and post-transcriptional modifications mapping high-throughput data analysis
http://www.rnaframework.com
GNU General Public License v3.0
35 stars 11 forks source link

Shannon entropy #47

Closed Asperatus22 closed 11 months ago

Asperatus22 commented 11 months ago

Hi Danny I'm looking on the .wig file from the rf-fold/shannon output. I notice that some of my nucleotide doesn't have any value. I tried to figure out why but failed in my investigation. Can you please help me to understand how this value is calculated? Best regard , Lionel Bigault

dincarnato commented 11 months ago

Hi Lionel,

as per WIG standard, if the Shannon is 0, then it is not reported, so most likely that's the reason. You can find the details about how is Shannon entropy calculated here: https://rnaframework-docs.readthedocs.io/en/latest/rf-fold/ Can you give me the sample XML file you are using the parameters of rf-fold so I can check?

Best, Danny

Asperatus22 commented 11 months ago

Hi Danny Thanks for the quick reply. I'll send you the xml by email. Best, Lionel

dincarnato commented 11 months ago

Hi Lionel,

I can confirm that the regions with no Shannon entropy values are those with Shannon = 0. If you load the wiggle track along with the dp file of the bp probs on IGV, you can immediately see that indeed these are the regions with extremely high base-pairing probability (see figure).

Hope this solves! Best, Danny

image
Asperatus22 commented 11 months ago

Hi danny Thanks a lot for the work and the confirmation. Best, Lionel