Skip to main content

A novel deep learning framework for transcription regulators prediction via integraing large-scale epigenomic data.

Project description

TRAPT

TRAPT is a novel deep learning framework for transcription regulators prediction via integraing large-scale epigenomic data.

Usage

First, download library:

TRAPT library

Second, install TRAPT:

pip install TRAPT

Run TRAPT using a case:

from TRAPT.TRAPT import Args, RP_Matrix, runTRAPT

# library path
library = 'library'
# input file path
input = 'ESR1@DataSet_01_111_down500.txt'
# output file path
output = 'output/ESR1@DataSet_01_111_down500'

rp_matrix = RP_Matrix(library)
args = Args(input, output)
os.system(f'mkdir -p {output}')
runTRAPT([rp_matrix, args])

Detail

# Constructing TR-RP matrix
python3 CalcTRRPMatrix.py library
# Constructing H3K27ac-RP matrix
python3 CalcSampleRPMatrix.py H3K27ac library
# Constructing ATAC-RP matrix
python3 CalcSampleRPMatrix.py ATAC library
# Reconstruct TR-H3K27ac adjacency matrix
python3 DLVGAE.py H3K27ac library
# Reconstruct TR-ATAC adjacency matrix
python3 DLVGAE.py ATAC library
# Prediction (TR-H3K27ac)-RP matrix
python3 CalcTRSampleRPMatrix.py H3K27ac library
# Prediction (TR-ATAC)-RP matrix
python3 CalcTRSampleRPMatrix.py ATAC library
# TRAPT predicts TR activity
python3 TRAPT.py library input output

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TRAPT-0.0.2.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TRAPT-0.0.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file TRAPT-0.0.2.tar.gz.

File metadata

  • Download URL: TRAPT-0.0.2.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for TRAPT-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1d78a090ca1d48aaa0a45c4dc05b7908a1660959af76e14632328f88cbdc32ea
MD5 df667f685c2c27081be2bbc566cbc9cc
BLAKE2b-256 610959ae0ad99a808f29b5da4a512b3f8615769ab242044fd4696f3faa93097f

See more details on using hashes here.

File details

Details for the file TRAPT-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: TRAPT-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for TRAPT-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c99a461aea361efe26926579ed2e04547249a42dcb3fccb00ddfca6d6ddd3776
MD5 d39313e71ee0fd1231463b8bf662d969
BLAKE2b-256 28ec77b2176d23f2c2016514992f01979a85c45cad224146b5ab5e18f31871e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page