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

predict short fragment ERROR #61

Open
pfreezer opened this issue Aug 10, 2021 · 1 comment
Open

predict short fragment ERROR #61

pfreezer opened this issue Aug 10, 2021 · 1 comment

Comments

@pfreezer
Copy link

Hello,

I want to use the codes to predict some short fragment (length 8), but the code cannot run with errors for both e2e
and pyrosetta, the error came out at structure prediction stage with the message:

Using backend: pytorch
Traceback (most recent call last):
File "/home/fpan/local/RoseTTAFold/network/predict_pyRosetta.py", line 200, in
pred.predict(args.a3m_fn, args.out_prefix, args.hhr, args.atab)
File "/home/fpan/local/RoseTTAFold/network/predict_pyRosetta.py", line 86, in predict
xyz_t, t1d, t0d = read_templates(L, ffdb, hhr_fn, atab_fn, n_templ=25)
File "/home/fpan/local/RoseTTAFold/network/parsers.py", line 241, in read_templates
xyz_t, qmap, t0d, t1d, ids = parse_templates(ffdb, hhr_fn, atab_fn)
File "/home/fpan/local/RoseTTAFold/network/parsers.py", line 231, in parse_templates
xyz = np.vstack(xyz).astype(np.float32)
File "<array_function internals>", line 5, in vstack
File "/home/fpan/local/anaconda3/envs/RoseTTAFold/lib/python3.8/site-packages/numpy/core/shape_base.py", line 283, in vstack
return _nx.concatenate(arrs, 0)
File "<array_function internals>", line 5, in concatenate
ValueError: need at least one array to concatenate

Can anyone help me to deal with this problem?

@maymoona100
Copy link

You must have messed up the e2e .sh script.just give route to folders as / weight, /pdb100, so on .and it will work well I faced the same error I resolved it this way

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