No project description provided
Project description
MrBayes Secondary Structure Converter
Originally written by Diogo Margins de Sá (http://lattes.cnpq.br/2090058491124450)
Convert the dot-bracket format to MrBayes readable format. The dot-bracket format consists of a combination of brackets (complementary parenthesis) the Watson–Crick pairs of RNA and dots representing loops.
Usage
It receives only a -s
parameter containing a dot-bracket string.
python ./converter.py -s '.((((((((((((((((((((((...)))))))))))...))).))))))))....(((((....(.((.(((.((((...))))))).)))))))).'
The output like this:
stems = 2 52 3 51 4 50 5 49 6 48 7 47 8 46 9 45 10 43 11 42 12 41 13 37 14 36 15 35 16 34 17 33 18 32 19 31 20 30 21 29 22 28 23 27 57 97 58 96 59 95 60 94 61 93 66 92 68 91 69 90 71 88 72 87 73 86 75 85 76 84 77 83 78 82
loops = 1 24-26 38-40 44 53-56 62-65 67 70 74 79-81 89 98
pairs: 2:52,3:51,4:50,5:49,6:48,7:47,8:46,9:45,10:43,11:42,12:41,13:37,14:36,15:35,16:34,17:33,18:32,19:31,20:30,21:29,22:28,23:27,57:97,58:96,59:95,60:94,61:93,66:92,68:91,69:90,71:88,72:87,73:86,75:85,76:84,77:83,78:82
Let's code and be happy!!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for MrBayeStruConverter-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b73c455ed596d20d0dac1a79487e4742315d77432fa72dfccbbbe46b1e65d44 |
|
MD5 | 31184fcfd5066a12b88071f9aa9d7bbb |
|
BLAKE2b-256 | 7c2738d6cc7be4a8d72e0be2e3776d24ca62f4234e3ebdb3ca89b9f675fcbee2 |
Close
Hashes for MrBayeStruConverter-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7a3205cd204afd18f8984ea343014ad493192d2d06ed171a71bac0b325c577c |
|
MD5 | 85e26bbc8d7238bebdb16de08b620e34 |
|
BLAKE2b-256 | e8199052ff20c7c9f3331b05386e7b44030eac8c634763ebffc6fd293bd2dbbf |