Get gene TSS site and export bed format from GTF annotation file
Project description
GetTss python Package
extract gene TSS site form gencode/ensembl/gencode database GTF file and export bed format file.
Install
$ pip install GetTss
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 . +
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
GetTss-0.0.2.tar.gz
(4.6 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 GetTss-0.0.2.tar.gz.
File metadata
- Download URL: GetTss-0.0.2.tar.gz
- Upload date:
- Size: 4.6 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 |
66cefc5da3263c82772a262549c617f3831e42e33ff0b0a7e846f60d19c05417
|
|
| MD5 |
22059f8e8687cff32a36cba6fbcda4bb
|
|
| BLAKE2b-256 |
72a0bcb9ee64d3b8648be55d52c1f551abcc2463748f4754566a6ed707b05c78
|
File details
Details for the file GetTss-0.0.2-py3-none-any.whl.
File metadata
- Download URL: GetTss-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.0 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 |
435e19b8a84d326a3f75a4fa8739498d3c3d4de094b3c87811ce5b83d1d03939
|
|
| MD5 |
8aabcf2b355ac535ddbddc0e12312066
|
|
| BLAKE2b-256 |
6d457c09ba55467357bf28e13586ae1270df08b1ff6b93a10de10a753b33b46d
|