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

Pre-computed model output as HDF5 #35

Closed
GabrielHoffman opened this issue Jul 20, 2017 · 1 comment
Closed

Pre-computed model output as HDF5 #35

GabrielHoffman opened this issue Jul 20, 2017 · 1 comment

Comments

@GabrielHoffman
Copy link

I am trying to run basset_motifs.py, but it tries to access a files that doesn't exist. If I don't specify the -d parameter:
-d | model_hdf5_file | Pre-computed model output as HDF5

then it tries to read a file: model_out.h5

Can you clarify what this file is, and what I should pass to the -d flag

Thanks,
Gabriel

@davek44
Copy link
Owner

davek44 commented Aug 8, 2017

basset_motifs.py runs basset_motifs_predict.lua on the sequences first to generate model_out.h5. The option allows the user to specify that the torch code has already run and the file will already be there.

If the file isn't there, the torch code must have crashed. Could you run the torch command by itself and report any error information it produces? basset_motifs.py should print the torch command before running it here: https://github.com/davek44/Basset/blob/master/src/basset_motifs.py#L98

@davek44 davek44 closed this as completed Oct 3, 2018
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