Code Monkey home page Code Monkey logo

tada's People

Contributors

jakob-he avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tada's Issues

Problems running TADA

Hi! I installed tadacnv via pip successfully however I can´t run it.
Screenshot 2022-11-18 at 12 56 10

I hope you can help me.

Problem with the pathogenicity scores prediction

Dear TADA team,

I'm having some problems with the use of the function: "predict variants"

I followed two different approaches:

A) I used data available from the folder "tests" and I ran the code below:

predict_variants -c tests/test_config_pred.yml -o .

I got the following error:

Traceback (most recent call last):
  File "/home/frequena/.conda/envs/py3.6/bin/predict_variants", line 11, in <module>
    load_entry_point('tada==0.2', 'console_scripts', 'predict_variants')()
  File "/home/frequena/.conda/envs/py3.6/lib/python3.6/site-packages/tada-0.2-py3.6.egg/tada/predict_variants.py", line 79, in main
    predict(cfg, output)
  File "/home/frequena/.conda/envs/py3.6/lib/python3.6/site-packages/tada-0.2-py3.6.egg/tada/predict_variants.py", line 53, in predict
    for label, annotated_cnvs in labeled_cnv_dicts:
UnboundLocalError: local variable 'labeled_cnv_dicts' referenced before assignment

B) I created a .bed file with a single CNV:

1 126439621 135430043

....I annotated it correctly and I got a file with the name: Annotated_PATHOGENIC.csv

Next, I ran predict_variants

predict_variants -c config_del_default.yml -o .

...and I got the following error:

  File "/home/frequena/.conda/envs/py3.6/bin/predict_variants", line 11, in <module>
    load_entry_point('tada==0.2', 'console_scripts', 'predict_variants')()
  File "/home/frequena/.conda/envs/py3.6/lib/python3.6/site-packages/tada-0.2-py3.6.egg/tada/predict_variants.py", line 79, in main
    predict(cfg, output)
  File "/home/frequena/.conda/envs/py3.6/lib/python3.6/site-packages/tada-0.2-py3.6.egg/tada/predict_variants.py", line 34, in predict
    cnv_dicts.append(pickle.load(cnv_dict))
_pickle.UnpicklingError: unpickling stack underflow

This is the config file used:

TADS:
  RAW: "data/Dixon_2015_stability_formatted_TADs.bed"
  ANNOTATED: "data/Annotated_Default_TADs.p"

ANNOTATIONS:
  GENES: "data/gnomad_genes_pli_loeuf_HI.bed"
  EXONS: "data/HAVANA_exon.merged.bed.gz"
  ENHANCERS: "data/fantom5_enhancer_phastcon_average.bed"
  CTCF: "data/H1_hESC_CTCF_peaks_idr_optimal.bed"
  DDG2P: "data/DDG2P_genes.bed"
  POINT: "data/extracted_po_pairs.bed"

CNVS:
  RAW:
    NON_PATHOGENIC: "./cnv_test.bed"
    PATHOGENIC: "./cnv_test.bed"
  ANNOTATED:
    NON_PATHOGENIC: "Annotated_PATHOGENIC.csv"
    PATHOGENIC:  "Annotated_PATHOGENIC.csv"

FEATURES: "extended"

CLASSIFIER: "rf"

KWARGS:
  max_depth:  None
  max_features: 'auto'
  min_samples_leaf: 5
  min_samples_split: 4
  n_estimators: 500
  oob_score: True

PRETRAINED_MODEL:

Please let me know if you need any further detail!

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.