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
File details
Details for the file MrBayeStruConverter-0.0.2.tar.gz
.
File metadata
- Download URL: MrBayeStruConverter-0.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a82bd9c9557b21e2470c4279d970960a34af29622e3f28d439769b5a200a1a23 |
|
MD5 | 578f5b2ebbcf69873fed7f1f465c8d63 |
|
BLAKE2b-256 | 2f6381bc9e84e51fa06fbf21526d9d7f6381f1604e97f62d773af632f77996fc |
File details
Details for the file MrBayeStruConverter-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: MrBayeStruConverter-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24f7b3eea00f7dbdadc9e7fbc2dc6211f59723c97e9a417ea5020061be54b1b9 |
|
MD5 | 1144630486fde1f4c86ef6e8ab6e4312 |
|
BLAKE2b-256 | 3f6f21254e22ae16e4bbe0174ab49309b2533ceb862a29cbc7568a58d45d5052 |