Closed maxieds closed 4 years ago
Since we already have Vienna as a prerequisite library for the radial layout viewer, we might as well look into supporting FASTA formats using the Vienna Boltzmann sampling algorithms. See:
This now works using Vienna for the forthcoming v2.0.5-testing release.
Now that this is, well, implemented, I am going to close the issue. It's functionality to allowing users to input FASTA files in RNAStructViz is now noted on the WIKI FAQ page entry about supported formats.
Note that we already require integration with the ViennaRNA library to draw the radial layout diagrams. So at least partial support for this optional feature is easy.
This feature would allow users to load sequences from stock, vanilla FASTA and TXT files containing just the base / nucleotide sequence data. Then we could have an option to call a sampling generation routine, e.g., from Vienna, to generate say n=20 unique structures on-the-fly for use with RNAStructViz. This might expand the use cases for many users, and would be, I think, nice to have if we can test it and get this functionality working well by default out-of-the-box.
Optional, compile-time linking with alternate sampling utilities, like those from RNAStructure or RNAFold, could later be added. Though this complicates the build process. I suggest we start with Vienna sampling support since this library is already there and configured for our build time purposes.