Coder Social home page Coder Social logo

AlphaFold Multimer about gget HOT 4 CLOSED

epkumpu avatar epkumpu commented on May 18, 2024
AlphaFold Multimer

from gget.

Comments (4)

lauraluebbert avatar lauraluebbert commented on May 18, 2024

Hi Esa-Pekka, gget alphafold already supports multimers. Simply pass multiple sequences as a list, or a fasta file containing more than one sequence, and it will automatically use the multimer model. Let me know if it works for you! :)

from gget.

epkumpu avatar epkumpu commented on May 18, 2024

from gget.

epkumpu avatar epkumpu commented on May 18, 2024

Hi again!

I have an issue for follow-up: I ran the prediction with one sequence and it worked alright, but when I tried with two sequences (now correctly input as a .fasta file!), I get a "No space left on device" error. I have set this up to run on a cluster in an area where I have plenty of quota left, so my guess is it is trying to write temporary files into another location.

Is there a way to set the location for any temporary files that gget is writing manually?

Here is the error log:

openmm  7.5.1  environment loaded 
2022-09-12 15:26:40.813182: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is
 optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in perfo
rmance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-09-12 15:26:44.994756: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may s
ee slightly different numerical results due to floating-point round-off errors from different computation 
orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
/scratch/project_2004941/gget/lib/python3.9/site-packages/haiku/_src/data_structures.py:37: FutureWarning:
 jax.tree_structure is deprecated, and will be removed in a future release. Use jax.tree_util.tree_structu
re instead.
  PyTreeDef = type(jax.tree_structure(None))
Mon Sep 12 15:28:46 2022 INFO Validating input sequence(s).
Mon Sep 12 15:28:46 2022 INFO Finding closest source for reference database.
Using the multimer model with 2 sequences.
Traceback (most recent call last):
  File "/opt/conda/envs/env/lib/python3.9/urllib/request.py", line 272, in urlretrieve
    tfp.write(block)
  File "/opt/conda/envs/env/lib/python3.9/tempfile.py", line 478, in func_wrapper
    return func(*args, **kwargs)
OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/scratch/project_2004941/gget/bin/gget", line 8, in <module>
    sys.exit(main())
  File "/scratch/project_2004941/gget/lib/python3.9/site-packages/gget/main.py", line 1518, in main
    alphafold(
  File "/scratch/project_2004941/gget/lib/python3.9/site-packages/gget/gget_alphafold.py", line 404, in al
phafold
    source = f.result()
  File "/opt/conda/envs/env/lib/python3.9/concurrent/futures/_base.py", line 439, in result
    return self.__get_result()
  File "/opt/conda/envs/env/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
    raise self._exception
  File "/opt/conda/envs/env/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/scratch/project_2004941/gget/lib/python3.9/site-packages/gget/gget_alphafold.py", line 116, in fe
tch
    request.urlretrieve(test_url_pattern.format(source))
  File "/opt/conda/envs/env/lib/python3.9/urllib/request.py", line 275, in urlretrieve
    reporthook(blocknum, bs, size)
  File "/opt/conda/envs/env/lib/python3.9/tempfile.py", line 496, in __exit__
    result = self.file.__exit__(exc, value, tb)
OSError: [Errno 28] No space left on device

from gget.

lauraluebbert avatar lauraluebbert commented on May 18, 2024

gget will currently create a "tmp" folder in your home directory ("~/tmp/jackhmmer/") for the Jackhmmer search. I think adding an option to change this path is a great idea for a future version. The temporary files will take up to ~2 GB (in case it is possible to free this space until I have implemented your request).

from gget.

Related Issues (20)

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.