-
Notifications
You must be signed in to change notification settings - Fork 31
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
Prank not compiling for a dataset (.ds) #7
Comments
Colud you attach or send the .ds on which it breaks? I will look into it... |
HEADER: prediction protein dir_test/1a52.pdb This is how my .ds file looks like. I used only 2 files for testing. I also tried including their whole path but it doesn't work like that. |
In your case the header should be I will add more halpful error message for this case. Thank you for reporting this. |
I tried it with HEADER: protein and it still gives me the error
|
Do all the pdb files exist? The paths should be relative to the location of *.ds file. If it doesn't help, could you attach the zip file with your working directory including ds file and pdb files? |
Yes all the pdb files exist. I used the paths relative to the .ds file only. I transferred my .ds file and the directory with pdb files to test_data folder in p2rank_2.0 and it works now. I still do not understand why. I can use this but would really like to know the reason behind it. Thanks ! |
It's probably a bug. Could you help me to reproduce it? I will need some more information. What is your operating system and shell (bash/cmd/...)? |
Yes I thought so too that it was a bug. |
Fixed in version 2.0.1 (https://github.com/rdk/p2rank/releases/tag/2.0.1). @purvi24, thank you for the bug report and provided details! |
@rdk I'm also experiencing the issue, even in 2.0.1 and 2.1. Running: while dataset.ds: |
I was not able to reproduce the problem with version 2.0.1. Could you provide more details? What is your operating system and what was the output the run? Could you also include <p2ank_dir>/log/prank.log? Version 2.1-dev.1 indeed has that problem but this is to be expected since it has been released before the bugfix. I will create new 2.1-dev.2 release with the bugfix, but first let's figure out what is the problem with the version 2.0.1 so I can include fix for that as well. |
I am trying to run prank predict on a dataset containing the list of pdb files with their path. But it doesn't compile. It gives the following error:
"""[INFO] ConsoleWriter -
[INFO] Main - loading default config from [/home/purvi/genome/p2rank-master/distro/config/default.groovy]
[INFO] Main - looking for dataset in dataset_base_dir [/home/purvi/genome/p2rank-master/test_swiss.ds]...
[INFO] Dataset - loading dataset [/home/purvi/genome/p2rank-master/test_swiss.ds]
[ERROR] Dataset - prediction file doesn't exist: null/dir_test/1a52.pdb
[ERROR] Dataset - protein file doesn't exist: null/null"""
I am not sure where the "null" comes from.
It runs on a single pdb file though.
Please let me know how to fix this.
The text was updated successfully, but these errors were encountered: