Get gene TSS/TES site and export bed format from GTF annotation file
Project description
GetTsite python Package
extract gene TSS/TES site form gencode/ensembl/gencode database GTF file and export bed format file.
Install
$ pip install GetTsite
Usage
help infomation:
$ GetTss -h
usage: GetTss --database ucsc --gtffile hg19.ncbiRefSeq.gtf --tssfile testTSS.bed
Get gene TSS site and export bed format from GTF annotation file.
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-d {ucsc,ensembl,gencode}, --database {ucsc,ensembl,gencode}
which annotation database you choose. (default="ensembl")
-g GTFFILE, --gtffile GTFFILE
input your GTF file. (ucsc/ensembl/gencode)
-t TSSFILE, --tssfile TSSFILE
output your TSS file. (test-TSS.bed)
Thank your for your support, if you have any questions or suggestions please contact me: 3219030654@stu.cpu.edu.cn.
for ucsc gtf file:
$ GetTss -d ucsc -g hg19.ncbiRefSeq.gtf -t ucsc-TSS.bed
Your job is starting, please wait!
You GTF file have: 104178 transcripts.
Your task has down!
$ head -n 3 ucsc-TSS.bed
chrMT 16023 16024 TRNP . -
chrMT 15887 15888 TRNT . +
chrMT 14746 14747 CYTB . +
for gencode/ensembl gtf file:
$ GetTss -d gencode -g gencode.v19.annotation.gtf -t test-TSS.bed
Your job is starting, please wait!
You GTF file have: 57820 genes.
Your task has down!
$ head -n 3 test-TSS.bed
chr1 11868 11869 ENSG00000223972.4 . +
chr1 29806 29807 ENSG00000227232.4 . -
chr1 29553 29554 ENSG00000243485.2 . +
the usage of GetTes is same as GetTss:
$ GetTes -d ucsc -g hg19.ncbiRefSeq.gtf -t ucsc-TSS.bed
$ GetTes -d gencode -g gencode.v19.annotation.gtf -t test-TES.bed
plot peaks density around TSS
compute matrix:
$ computeMatrix reference-point -S normal.bw treat.bw \
-R myTSS.bed \
--referencePoint center \
-a 3000 -b 3000 -p 25 \
-out matrix.tab.gz
plot Profile:
$ plotProfile -m matrix.tab.gz \
-out profile.pdf \
--perGroup \
--plotTitle 'test profile'
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
GetTsite-0.0.3.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file GetTsite-0.0.3.tar.gz.
File metadata
- Download URL: GetTsite-0.0.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1751f7f0db40da904e3754055ac35c3f0961c1a1a67aa284398710950333e762
|
|
| MD5 |
452c8d0c15b0c7ca127c49a40e91bc93
|
|
| BLAKE2b-256 |
410e2399d719f569f7d6daa3f3dca83046cd44cbd87491a7edd90ea2b1e83468
|
File details
Details for the file GetTsite-0.0.3-py3-none-any.whl.
File metadata
- Download URL: GetTsite-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49ad41c4b1e8fbd69e24f6a390122926c0ef2ef0ec0c819501cf61005a7024bb
|
|
| MD5 |
680a327323ba4c42d5c8ae15983e9881
|
|
| BLAKE2b-256 |
6794472c6f60089bc0ef5bd70833af85d3eee833696560ff4ec0d70186f50a9f
|