ctokheim / deepdegron Goto Github PK
View Code? Open in Web Editor NEWDeep learning model to predict degron sequences
License: MIT License
Deep learning model to predict degron sequences
License: MIT License
I installed from source using the conda method and the install works without any errors
$ git clone https://github.com/ctokheim/deepDegron
$ cd deepDegron
$ conda env create -f environment.yml # install dependencies
$ conda activate deepDegron # activate environment
$ pyensembl install --release 75 --species human # download human hg19 reference data
$ pyensembl install --release 95 --species human # download human hg38 reference data
$ python setup.py install # install deepDegron
So far so good. But when you run the example from the tutorial in the documentation, I get the following error
Command:
$ deepdegron score -i tests/data/gata3_mutations.txt -c models/cterm/neural_network_pos_specific.pickle,models/cterm/neural_network_bag_of_amino_acids.pickle -o GATA3_delta_degron_potential.txt
Error:
Traceback (most recent call last):
File "/opt/conda/envs/deepDegron/bin/deepdegron", line 33, in <module>
sys.exit(load_entry_point('deepDegron==1.1.0', 'console_scripts', 'deepdegron')())
File "/opt/conda/envs/deepDegron/lib/python3.7/site-packages/deepDegron-1.1.0-py3.7.egg/deepDegron/deep_degron.py", line 170, in cli_main
main(opts)
File "/opt/conda/envs/deepDegron/lib/python3.7/site-packages/deepDegron-1.1.0-py3.7.egg/deepDegron/deep_degron.py", line 154, in main
import deepDegron.score_mutations as score
File "/opt/conda/envs/deepDegron/lib/python3.7/site-packages/deepDegron-1.1.0-py3.7.egg/deepDegron/score_mutations.py", line 18, in <module>
import varcode
File "/opt/conda/envs/deepDegron/lib/python3.7/site-packages/varcode/__init__.py", line 16, in <module>
from .variant import Variant
File "/opt/conda/envs/deepDegron/lib/python3.7/site-packages/varcode/variant.py", line 31, in <module>
from pyensembl.biotypes import is_coding_biotype
ModuleNotFoundError: No module named 'pyensembl.biotypes'
I am trying to run deepdegron test on a set of samples with hg38 variants. The command I am running is
deepdegron test --ensembl-release 95 -t <input_maf> -ns 10000 -c models/cterm/neural_network_pos_specific.pickle,models/cterm/neural_network_bag_of_amino_acids.pickle, -o <output_file>
However, when running it appears to be using Ensembl Release 75 instead.
INFO:pyensembl.sequence_data:Loaded sequence dictionary from pyensembl/GRCh37/ensembl75/Homo_sapiens.GRCh37.75.cdna.all.fa.gz.pickle
INFO:pyensembl.sequence_data:Loaded sequence dictionary from pyensembl/GRCh37/ensembl75/Homo_sapiens.GRCh37.75.ncrna.fa.gz.pickle
I have been able to run deepdegron score --ensembl-release 95 without the same issue appearing.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.