Skip to main content

A package for training and applying neural networks aimed to deal with genomic data

Project description

DeepSHM

This repository implements the model from "Deep learning model of somatic hypermutation reveals importance of sequence context beyond targeting of AID and Polη hotspots" by Tang, Krantsevich & MacCarthy. Using DeepSHM you can simply use one of the provided models to make SHM-related predictions for your data, or you can train your own CNN model for any task that uses DNA/RNA one-hot encoded data as input.

Instalation

If you want to play with the model

DeepSHM is on pypi, so it can be installed using pip:

pip install deepshm

If you are not familiar with python

You can also just download the deepshm_predict.zip archive and 0nce you extract it you can call the file deepshm_predict.py from the command line. Note that you still will need python installed as wells as several packages: tensorflow, numpy, scipy. deepshm_predict.py can be called in the following way:

python deepshm_predict.py input.fasta -o output.csv -k 15

where the input fasta file is the required input and the path to the output file and the length of k-mer (5, 9, 15 and 21) are optional. Default value for the output file is output.csv and default k is 15.

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

deepshm-0.0.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

deepshm-0.0.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file deepshm-0.0.1.tar.gz.

File metadata

  • Download URL: deepshm-0.0.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for deepshm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1ca39ebad5576457bedce2a508d67f0cc64a313ae419f2222a710b258b40e189
MD5 cf729049fdce86014e5ea102e9849509
BLAKE2b-256 1abb8910b2fdfcf9fa33e37c9224275dcd4ea398e322b4619bd657e0ae08b8fd

See more details on using hashes here.

File details

Details for the file deepshm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: deepshm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for deepshm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 95995f39ac10c98829705b30fa492926a8cf70b78a1a6d7df3f35f953dd2eb2e
MD5 9773ffcf914f05a0a64605a3ec713787
BLAKE2b-256 b1363674197082f059ae2d560545d402933406d992173c3eca7862c100d1106d

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