{ "info": { "author": "Matan Drory Retwitzer", "author_email": "matandro@post.bgu.ac.il", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": "# RNAfbinv 2.0\n\nRNAfbinv is a fragment based RNA design tool. It uses a simulated annealing process to optimize a 2D RNA structure.
\nThe similarity is based on fragment based design. A tree alignment is done based on nodes (structural motifs).
\nNodes are comparable if they are both bounded motifs (stems) or unbounded motifs (multi loop, interior loops, bulges ect...).
\nEach iteration the target motif tree will be aligned to the current candidate tree.
\nThe best alignment with the addition of other valuable features will generate a design score.
\nDesign score of 0 is exact fit but even higher scores can generate a good candidate.\n\n## Attaching Vienna RNA\n\n[Vienna RNA package](https://www.tbi.univie.ac.at/RNA/ \"Vienna RNA home\") is required for RNAfbinv to work. This must be installed separately.
\nCurrent version was tested with Vienna 2.4 and above. RNAfbinv will identify Vienna package if it's bin directory is in PATH.
\nIf you wish to link a specific installation of Vienna set the VIENNA_PATH environment variable to the correct bin directory.\n\nYou can set Vienna location in python\n```python\nimport os\nos.environ['VIENNA_PATH'] = \"VIENNA_BIN_DIR_PATH\"\n```\n\nor directly via the vienna script\n```python\nfrom rnafbinv import vienna\nvienna.set_vienna_path(\"VIENNA_BIN_DIR_PATH\")\n```\n\n## Usage\n\nThe design process can be ran using the following code:\n```python\nfrom rnafbinv import RNAfbinvCL\nRNAfbinvCL.main(command_line_arguments)\n```\n\nTo generate a tree for a specific sequence / structure:
\nStructure is a dot bracket notation structure and sequence is an IUPAC string with the same length\n```python\nfrom rnafbinv import shapiro_tree_aligner\nshapiro_tree_aligner.get_tree(sructure, sequence)\n```\n\nTo compare two trees and score them:\nalignment_rules has a default value and is optional\n```python\nfrom rnafbinv import shapiro_tree_aligner\nshapiro_tree_aligner.align_trees(source_tree, tree_target, alignment_rules)\n```\n\n### Command line arguments:\n\n```\nUsage: python3 RNAsfbinvCL [Options]\n -h : Shows usage text\n -i : sets the number of simulated annealing iterations (default is 100)\n --seed : a long number that is used by the random number generator\n -t : number of look head mutation attempts for each iteration (default is 4)\n -e : designs a circular RNA (default is False)\n -m : comma separated list of motifs to preserve\n motif: [M|H|E|I|S|B]\n Use ListMotifs.listMotif(structure) to retrieve a list of legal motifs for a given structure, \n -s : the initial sequence for the simulated annealing process\n -r : force starting simulated annealing with a random sequence\n -p : uses RNAfold centroid or MFE folding. (default is MFE)\n --verbose : Additional info message on simulation process\n --debug : Debug information\n -l : Logging information will be written to a given file path (rewrites file if exists)\n --length : The resulting sequence size is target structure length +- length diff (default it 0)\n\n -f : Path of ini file that includes mandatory information. Some options can also be set via file.\n command line options take precedence.\n List of available configurations (* are mandetory and will be requested via command line if not inserted):\n *TARGET_STRUCTURE=\n *TARGET_SEQUENCE=\n TARGET_ENERGY=\n TARGET_MR=\n SEED=\n STARTING_SEQUENCE=\n ITERATION=\n```\n\n### File input:\n\n```\n# mandatory\nTARGET_STRUCTURE=\nTARGET_SEQUENCE=\n# optional\nTARGET_ENERGY=\nTARGET_MR=\nSEED=\nSTARTING_SEQUENCE=\nITERATION=\n```\n\n## GUI / Command line\n\nYou can download the RNAfbinv wrapper from [RNAfbinv2.0 user application]()
\nIt includes python code to run the GUI / command line and the [VARNA](http://varna.lri.fr/ \"VARNA rna homepage\") java package to generate 2D images.
\nIf you remove the VARNA jar or do not have java installed, images will not be generated but the design process will proceed normally.

\n\nTo run command line just use the '-cl' flag for RNAfbinv.py. by default a GUI version will run.\n\nTo specify Vienna package location please update the 'VIENNA' parameter in config.ini (or set VIENNA_PATH environment variable)
\nTo specify Java location please update the 'JAVA' parameter in config.ini (or set JAVA_PATH environment variable)
\nIn both cases you need to specify the folder where the binary file sits. Only needed if not specified in PATH.\n\n## Webserver\n\nRNAfbinv2.0 can be found in a web server combined with incaRNAtion. The webserver generates starting seeds using incaRNAtion global sampling algorithm.
\nTe seed sequences are then sent to RNAfbinv2.0 for design. [incaRNAfbinv web server](https://www.cs.bgu.ac.il/incaRNAfbinv/ \"incaRNAtion & RNAfbinv\")\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/matandro/RNAsfbinv", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rnafbinv", "package_url": "https://pypi.org/project/rnafbinv/", "platform": "", "project_url": "https://pypi.org/project/rnafbinv/", "project_urls": { "Homepage": "https://github.com/matandro/RNAsfbinv" }, "release_url": "https://pypi.org/project/rnafbinv/2.0b22/", "requires_dist": null, "requires_python": "", "summary": "Fragment based RNA designer", "version": "2.0b22" }, "last_serial": 5327200, "releases": { "2.0b20": [ { "comment_text": "", "digests": { "md5": "5f6fe833500130cd55ba63eed9a76d39", "sha256": "440dd7fe0d9d0d773173d2ee254b8d26198cd3ca80eb803d70a21393b9839428" }, "downloads": -1, "filename": "rnafbinv-2.0b20-py3-none-any.whl", "has_sig": false, "md5_digest": "5f6fe833500130cd55ba63eed9a76d39", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27433, "upload_time": "2019-03-21T12:07:11", "url": "https://files.pythonhosted.org/packages/92/4a/4d65c1d7c76911cc159726e087f13ed0077166eeb3ddc275dfab560f7d9a/rnafbinv-2.0b20-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d086ba57a8df41266172a54fb0cd34b2", "sha256": "7da27bb6f98b8f07046e72b61d2e8d2fcd51eedd853b310c4120f128f779144f" }, "downloads": -1, "filename": "rnafbinv-2.0b20.tar.gz", "has_sig": false, "md5_digest": "d086ba57a8df41266172a54fb0cd34b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25123, "upload_time": "2019-03-21T12:07:13", "url": "https://files.pythonhosted.org/packages/01/65/6ebca50b742806add4b9d638e5ba97388dc4ee0eede23f5a4be0132aa657/rnafbinv-2.0b20.tar.gz" } ], "2.0b21": [ { "comment_text": "", "digests": { "md5": "a53993fa38f5c73125d85f300b2d3871", "sha256": "dcdd019661d7d07f9402af0241a6fcd6523f5447bde1acb896750a4d974e52e0" }, "downloads": -1, "filename": "rnafbinv-2.0b21-py3-none-any.whl", "has_sig": false, "md5_digest": "a53993fa38f5c73125d85f300b2d3871", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27859, "upload_time": "2019-03-23T22:35:51", "url": "https://files.pythonhosted.org/packages/53/46/bccebc0f202dc9e8bb5831cb4cbead1ec9a593a884a02dcade673a78fc5d/rnafbinv-2.0b21-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "49e4fb6f9efc1f0c2be50a5658f0fd43", "sha256": "afff3e4112a4ea2a0c84594f1cf4991771f34b0a94a920fd79fc02fbae2d0e71" }, "downloads": -1, "filename": "rnafbinv-2.0b21.tar.gz", "has_sig": false, "md5_digest": "49e4fb6f9efc1f0c2be50a5658f0fd43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25436, "upload_time": "2019-03-23T22:35:52", "url": "https://files.pythonhosted.org/packages/a5/d7/3d389e11b9862c4b6793c289fdd229d2e2d167748a0cfe3db2dcc8ea9cdd/rnafbinv-2.0b21.tar.gz" } ], "2.0b22": [ { "comment_text": "", "digests": { "md5": "48d461362fc61e1b6d8949db66b01660", "sha256": "4519998c01b7566e330d9eaaf83d1528f4d854a5d2af30b18bcd90b8aab6c5a7" }, "downloads": -1, "filename": "rnafbinv-2.0b22-py3-none-any.whl", "has_sig": false, "md5_digest": "48d461362fc61e1b6d8949db66b01660", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27848, "upload_time": "2019-05-28T15:11:59", "url": "https://files.pythonhosted.org/packages/8c/cc/5200d0b3039482424499c6367e32d5fbfce25d553211717ddd8805d6ac66/rnafbinv-2.0b22-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4b4ed871270e86c2de598dad73e8f82", "sha256": "1fd134b49bbef264eddc5e9cad57950806a72b579819cd3cff7d66d8bb69ee73" }, "downloads": -1, "filename": "rnafbinv-2.0b22.tar.gz", "has_sig": false, "md5_digest": "c4b4ed871270e86c2de598dad73e8f82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25459, "upload_time": "2019-05-28T15:12:01", "url": "https://files.pythonhosted.org/packages/7f/72/3d715079cf3f25131aa14332949a55cd951cf2b2b6f1f9b8ff1842c1dc09/rnafbinv-2.0b22.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "48d461362fc61e1b6d8949db66b01660", "sha256": "4519998c01b7566e330d9eaaf83d1528f4d854a5d2af30b18bcd90b8aab6c5a7" }, "downloads": -1, "filename": "rnafbinv-2.0b22-py3-none-any.whl", "has_sig": false, "md5_digest": "48d461362fc61e1b6d8949db66b01660", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27848, "upload_time": "2019-05-28T15:11:59", "url": "https://files.pythonhosted.org/packages/8c/cc/5200d0b3039482424499c6367e32d5fbfce25d553211717ddd8805d6ac66/rnafbinv-2.0b22-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4b4ed871270e86c2de598dad73e8f82", "sha256": "1fd134b49bbef264eddc5e9cad57950806a72b579819cd3cff7d66d8bb69ee73" }, "downloads": -1, "filename": "rnafbinv-2.0b22.tar.gz", "has_sig": false, "md5_digest": "c4b4ed871270e86c2de598dad73e8f82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25459, "upload_time": "2019-05-28T15:12:01", "url": "https://files.pythonhosted.org/packages/7f/72/3d715079cf3f25131aa14332949a55cd951cf2b2b6f1f9b8ff1842c1dc09/rnafbinv-2.0b22.tar.gz" } ] }