Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the code in github still doesn't solve the problem #89

Closed
zshu-alt opened this issue Jul 10, 2023 · 2 comments
Closed

Using the code in github still doesn't solve the problem #89

zshu-alt opened this issue Jul 10, 2023 · 2 comments

Comments

@zshu-alt
Copy link

I have downloaded the code on github, but the same error still occurs. Please tell me in detail that this software is very important to my research, and I would be very grateful if you could solve my problem
I changed the integration script file to run sentence by sentence, replaced by the absolute path, and still got an error in this sentence
python /home/dell/ZSY/software/xTea/xtea/x_TEA_main.py --gntp_classify -i /home/dell/ZSY/project/muscle/Alu/21C354141/Alu/candidate_disc_filtered_cns.txt.high_confident.post_filtering_with_gene. txt -n 1 --model /home/dell/ZSY/software/xTea/xtea/genotyping/genotyping/trained_model_ssc_py2_random_forest_two_category.pkl -o /home/dell/ZSY/project/muscle/Alu/21C354141/Alu/candidate_disc_filtered_cns.txt.high_confident.post_filtering_with_gene_ gntp.txt
Traceback (most recent call last):
File "/home/dell/ZSY/software/xTea/xtea/x_TEA_main.py", line 932, in
gc.predict_for_site(sf_model, sf_xTEA, sf_new)
File "/home/dell/ZSY/software/xTea/xtea/x_genotype_classify.py", line 137, in predict_for_site
rf_model_df21.load(sf_model)
The File "/ home/dell/miniconda3 / envs/xtea/lib/python3.7 / site - packages/deepforest/cascade. Py", line 1292, in the load
d = _io.model_loadobj(dirname, "param")
The File "/ home/dell/miniconda3 / envs/xtea/lib/python3.7 / site - packages/deepforest _io. Py", line 300, in model_loadobj
raise RuntimeError(msg.format(dirname))
RuntimeError: Cannot find the target directory: /home/dell/ZSY/software/xTea/xtea/genotyping/genotyping/trained_model_ssc_py2_random_forest_two_category.pkl.

@simoncchu
Copy link
Collaborator

It seems you are using old code or wrong settings. If the correct one, it should use https://github.com/parklab/xTea/tree/master/xtea/genotyping/DF21_model_1_2 this model for genotyping calling.

@zshu-alt
Copy link
Author

Thank you very much. My problem has been solved.!!!!! I misunderstood the meaning, and I successfully ran the generated script without the version downloaded by conda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants