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

Too many proteins in one interaction ? #337

Open
Qrouger opened this issue May 13, 2024 · 2 comments
Open

Too many proteins in one interaction ? #337

Qrouger opened this issue May 13, 2024 · 2 comments
Milestone

Comments

@Qrouger
Copy link
Contributor

Qrouger commented May 13, 2024

Hi, recently I buy lot of memory to do bigger structure interactions, and I have the impression Alpha Pulldown cannot take more than 10 proteins (here 20). Maybe it's cause the name is too long ?

Traceback (most recent call last):
File "/home/emmanuel/anaconda3/envs/Alpha_multimer2/bin/run_structure_prediction.py", line 354, in
main()
File "/home/emmanuel/anaconda3/envs/Alpha_multimer2/bin/run_structure_prediction.py", line 342, in main
object_to_model, flags_dict, postprocess_flags, output_dir= pre_modelling_setup(interactors, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emmanuel/anaconda3/envs/Alpha_multimer2/bin/run_structure_prediction.py", line 332, in pre_modelling_setup
makedirs(output_dir, exist_ok=True)
File "", line 225, in makedirs
OSError: [Errno 36] File name too long: '/data/emmanuel/alphapulldown_result/construction_R388/VirB6_TrwI_and_VirB6_TrwI_and_VirB6_TrwI_and_VirB6_TrwI_and_VirB6_TrwI_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL_and_VirB2_TrwL'
Traceback (most recent call last):
File "/home/emmanuel/anaconda3/envs/Alpha_multimer2/bin/run_multimer_jobs.py", line 273, in
app.run(main)
File "/home/emmanuel/anaconda3/envs/Alpha_multimer2/lib/python3.11/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/emmanuel/anaconda3/envs/Alpha_multimer2/lib/python3.11/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
^^^^^^^^^^
File "/home/emmanuel/anaconda3/envs/Alpha_multimer2/bin/run_multimer_jobs.py", line 269, in main
subprocess.run(" ".join(command), check=True, shell=True)
File "/home/emmanuel/anaconda3/envs/Alpha_multimer2/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'python3 /home/emmanuel/anaconda3/envs/Alpha_multimer2/bin/run_structure_prediction.py --output_directory /data/emmanuel/alphapulldown_result/construction_R388 --num_cycle 3 --num_predictions_per_model 1 --data_directory /data/emmanuel/alphadata_v3 --features_directory /data/emmanuel/alphapulldown_result/R388_feature_data --fold_backend alphafold --use_ap_style --protein_delimiter + --input VirB6_TrwI+VirB6_TrwI+VirB6_TrwI+VirB6_TrwI+VirB6_TrwI+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL+VirB2_TrwL' returned non-zero exit status 1.

It's not an error out of memory.

Thanks.
Quentin

@yummy-hat
Copy link

Try giving the proteins shorter names? Your output is showing that the directory name is just too long: OSError: [Errno 36] File name too long:.

@Qrouger
Copy link
Contributor Author

Qrouger commented Jun 12, 2024

Hey @yummy-hat, Yes that's what I finally did, but it's not easy to read
But it's maybe interesting to detected same proteins in custom mode, and write a name like : "5_prot1_and_7_prot2"

Quentin.

@jkosinski jkosinski added this to the Version2 milestone Jul 29, 2024
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

3 participants