Coder Social home page Coder Social logo

af_unmasked's People

Contributors

alexanderimanicowenrivers avatar andycowie avatar augustin-zidek avatar clami66 avatar hawkinsp avatar htomlinson14 avatar mfigurnov avatar rchen152 avatar rich12321 avatar saran-t avatar sbodenstein avatar tfgg avatar tomhennigan avatar tomwardio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

af_unmasked's Issues

Out of memory issue

I tried to do a 12-mer complex from 3 proteins (Total 4500 AA). Having the template of almost everything except 6x 170 amino acids domains. Limit all the xyz_max_hits to 1.
I ran on a 4090 RTX.
I got this error.

I0315 22:53:33.550827 140012347488064 run_alphafold.py:230] Running model model_1_multimer_v3_pred_1 on CpaFGH
I0315 22:53:33.551195 140012347488064 model.py:165] Running predict with shape(feat) = {'aatype': (4539,), 'residue_index': (4539,), 'seq_length': (), 'msa': (512, 4539), 'num_alignments': (), 'template_aatype': (4, 4539), 'template_all_atom_mask': (4, 4539, 37), 'template_all_atom_positions': (4, 4539, 37, 3), 'asym_id': (4539,), 'sym_id': (4539,), 'entity_id': (4539,), 'deletion_matrix': (512, 4539), 'deletion_mean': (4539,), 'all_atom_mask': (4539, 37), 'all_atom_positions': (4539, 37, 3), 'assembly_num_chains': (), 'entity_mask': (4539,), 'num_templates': (), 'cluster_bias_mask': (512,), 'bert_mask': (512, 4539), 'seq_mask': (4539,), 'msa_mask': (512, 4539)}
2024-03-15 22:54:07.499744: W external/org_tensorflow/tensorflow/tsl/framework/bfc_allocator.cc:290] Allocator (GPU_0_bfc) ran out of memory trying to allocate 9.84GiB with freed_by_count=0. The caller indicates that this is not a failure, but this may mean that there could be performance gains if more memory were available.
Traceback (most recent call last):
File "/storage/software/AF_unmasked/run_alphafold.py", line 504, in
app.run(main)
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/storage/software/AF_unmasked/run_alphafold.py", line 479, in main
predict_structure(
File "/storage/software/AF_unmasked/run_alphafold.py", line 238, in predict_structure
prediction_result = model_runner.predict(processed_feature_dict,
File "/storage/software/AF_unmasked/alphafold/model/model.py", line 167, in predict
result = self.apply(self.params, jax.random.PRNGKey(random_seed), feat)
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/traceback_util.py", line 162, in reraise_with_filtered_traceback
return fun(*args, **kwargs)
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/api.py", line 622, in cache_miss
execute = dispatch.xla_call_impl_lazy(fun, *tracers, **params)
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/dispatch.py", line 236, in _xla_call_impl_lazy
return xla_callable(fun, device, backend, name, donated_invars, keep_unused,
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/linear_util.py", line 303, in memoized_fun
ans = call(fun, *args)
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/dispatch.py", line 359, in _xla_callable_uncached
return lower_xla_callable(fun, device, backend, name, donated_invars, False,
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/dispatch.py", line 996, in compile
self._executable = XlaCompiledComputation.from_xla_computation(
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/dispatch.py", line 1194, in from_xla_computation
compiled = compile_or_get_cached(backend, xla_computation, options,
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/dispatch.py", line 1077, in compile_or_get_cached
return backend_compile(backend, serialized_computation, compile_options,
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/profiler.py", line 314, in wrapper
return func(*args, **kwargs)
File "/storage/software/anaconda3/envs/AF_unmasked/lib/python3.9/site-packages/jax/_src/dispatch.py", line 1012, in backend_compile
return backend.compile(built_c, compile_options=options)
jax._src.traceback_util.UnfilteredStackTrace: jaxlib.xla_extension.XlaRuntimeError: RESOURCE_EXHAUSTED: Out of memory while trying to allocate 10565271552 bytes.

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.


The strange thing is that it said it cannot allocate 10.6GB. What is the limit for 4090 (24GB card) when limiting MSA to 1?

option --superimpose seems failed

hi, thanks for your great jobs. Everything seems work well except I add the param --superimpose no matter run with tmalign and lddt-align.
image
image

wish for your help, Thank You.

Option to do AF_unmasked with monomer

I tried to use AF_unmasked for in-painting purposes. It should be a lot faster to run AF_unmasked on a single subunit, rather than running as an assembly of everything. Which options do I use when running for in-painting with a single chain?

Masking Template Sequence/CB?

I have some questions:
Is the template sequence masked or unmasked? How does this implementation differ from AF2Rank? If I input only the Template without a MSA, why will the final structure not be the exactly same? (An example is described in the paper, but not why)
After a recycling step, are the distances still unmasked or just for the embedding of the Template, the CB are unmasked?

Thanks :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.