biotite icon indicating copy to clipboard operation
biotite copied to clipboard

Python Binding for ViennaRNA

Open t0mdavid-m opened this issue 1 year ago • 2 comments

Python bindings for ViennaRNA are now available (and have been for a couple of years):

https://www.tbi.univie.ac.at/RNA/ViennaRNA/refman/api_python.html

We could think about replacing the call to the RNAPlot binary in biotite.structure.graphics.plot_nucleotide_secondary_structure() with a call to the python bindings and include them as an optional dependency.

I believe that would be more user friendly.

t0mdavid-m avatar Nov 29 '24 06:11 t0mdavid-m

Generally I agree with you. However, on the first glance using the Python bindings is still more complex than simply calling a function from ViennaRNA with some sequence string. Therefore, I propose to discuss the matter of interfacing other Python packages on a broader scope (#709). Let me know what you think 😃

padix-key avatar Nov 29 '24 11:11 padix-key

Sounds great! Lets continue the discussion in #709 then.

t0mdavid-m avatar Nov 30 '24 11:11 t0mdavid-m