Giter Club home page Giter Club logo

deepdegron's People

Contributors

ctokheim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

deepdegron's Issues

ModuleNotFoundError: No module named 'pyensembl.biotypes'

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'

deepDegron test

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.