Library of Python utilities that I needed so many times
Project description
ddgen
Library of Python utilities that I needed so many times in the past
Select RefSeq transcript with the highest priority
RefSeq transcripts have following categories:
NM_
,XM_
,NR_
,XR_
If we have transcripts from multiple sources, we want to select the one coming from the source with highest priority.
E.g.
NM_
has higher priority thanXM_
.
If we have multiple transcripts from a single source, we want to select the one with smaller integer.
E.g.
NM_123.4
has higher priority thanNM_124.4
.
from ddgen.utils import txs
# tx will be `NM_123.4`
tx = txs.prioritize_refseq_transcripts(['NM_123.4', 'NM_124.4', 'XM_100.1'])
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
ddgen-0.0.2.tar.gz
(18.5 kB
view details)
Built Distributions
ddgen-0.0.2-py3.6.egg
(18.6 kB
view details)
ddgen-0.0.2-py3-none-any.whl
(31.0 kB
view details)
File details
Details for the file ddgen-0.0.2.tar.gz
.
File metadata
- Download URL: ddgen-0.0.2.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20c799a91e28355fbe392dc6aaf6f6b8175061bbb95dc7b128438220906ac11 |
|
MD5 | 2dda1ffcefa4f92ec454e3407df200ce |
|
BLAKE2b-256 | a88108bc8998543c91ba97e677160ee47025d4d4b208742713f9caf8000a2c3c |
File details
Details for the file ddgen-0.0.2-py3.6.egg
.
File metadata
- Download URL: ddgen-0.0.2-py3.6.egg
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf1c9b25229f2df97660a9890f857ca9e23e1efdd1c1050cecd7b897e4ad481 |
|
MD5 | f011fb40c9a03f32896734e75835adab |
|
BLAKE2b-256 | fbc2edce751299710010b0266dff2dd2e6a7455b798fce16fab35d095fedf437 |
File details
Details for the file ddgen-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ddgen-0.0.2-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3e8246a1a40888ac4ad657fba39138a2fc99640297d456046271ed22c3cf6d4 |
|
MD5 | b3a5125ce3cb0bad24d2ca771e52c16f |
|
BLAKE2b-256 | a19ad8b561ca12e0fe8eae08ff93e6c7c15545c9161c71aadc7febc2f0c22b4c |