Comments (7)
That's interesting, I never tried to run it on google colab.
But please, could you be more specific about which error did you have ? I cannot do anything without your code and your error messages.
Kind regards,
Thibault Tubiana.
from ttclust.
I attached the errors, and the colab notebook I was trying in. Execuse my I'm a biggener in Google colab, but I just wanted to get advantage of higher computational power than I have, which I discovered that I need when I had a long simulation with such a large size that my laptop crashed, not the same case as it was with shorter and smaller simulations.
https://colab.research.google.com/drive/1rEOfmEDhOrYD7gpnledx7JVqKPrrn7Jz?usp=sharing
Thanks again for your help and for your valuable contributed tools,
Marwa
from ttclust.
ipykernel
is missing, you can maybe try to install it with !pip install ipykernel
?
from ttclust.
I tried this, and it looks like it worked, however another error is thrown:
tcmalloc: large alloc 6885105664 bytes == 0x55bde4d2a000 @ 0x7f54eb8681e7 0x7f54e990db6e 0x7f54e990dc04 0x7f54e994e8c1 0x7f54e994f307 0x7f54e99e2b48 0x55bde1c49d5f 0x7f54e4448939 0x7f54e445236a 0x55bde1c49d5f 0x7f54e4423947 0x7f54e442f327 0x7f54e4434b65 0x55bde1c49d5f 0x7f54e443d7e2 0x55bde1c49d5f 0x7f54e4437813 0x55bde1c49d5f 0x55bde1d04734 0x55bde1c46af2 0x55bde1c75030 0x55bde1cd89c8 0x55bde1d001d9 0x55bde1c74e94 0x55bde1cd89c8 0x55bde1cff4ac 0x55bde1c74e94 0x55bde1cd89c8 0x55bde1cff4ac 0x55bde1c46af2 0x55bde1c47d09 tcmalloc: large alloc 5733122048 bytes == 0x55bf7f5fa000 @ 0x7f54eb8681e7 0x7f54e990db6e 0x7f54e990dc04 0x7f54e994e8c1 0x7f54e99e8289 0x7f54e99e89df 0x7f54e99e8b52 0x55bde1c49d5f 0x7f54e993d47c 0x55bde1cd73eb 0x55bde1cd8ad8 0x55bde1cff4ac 0x55bde1c46af2 0x55bde1c47d09 0x7f54e44250bc 0x7f54e442981f 0x7f54e44329ca 0x7f54e4434b65 0x55bde1c49d5f 0x7f54e443d7e2 0x55bde1c49d5f 0x7f54e4437813 0x55bde1c49d5f 0x55bde1d04734 0x55bde1c46af2 0x55bde1c75030 0x55bde1cd89c8 0x55bde1d001d9 0x55bde1c74e94 0x55bde1cd89c8 0x55bde1cff4ac tcmalloc: large alloc 10000400384 bytes == 0x55c0d5d94000 @ 0x7f54eb86a001 0x7f54e990dc96 0x7f54e990dd27 0x7f54e994e6f1 0x7f54e9952c1b 0x7f54e99e2cc8 0x55bde1cd74d9 0x55bde1cd8ad8 0x55bde1d001d9 0x55bde1c74e94 0x55bde1cd89c8 0x55bde1cff4ac 0x55bde1c74e94 0x55bde1cd89c8 0x55bde1cff4ac 0x55bde1c74e94 0x55bde1cd89c8 0x55bde1cff4ac 0x55bde1c74e94 0x55bde1cd89c8 0x55bde1cff4ac 0x55bde1c46af2 0x55bde1c47d09 0x55bde1d228ab 0x55bde1d86f53 0x55bde1d90fd7 0x55bde1d911ac 0x55bde1d91709 0x55bde1d9185c 0x7f54ea899bf7 0x55bde1d0e901 bash: line 1: 1350 Killed ttclust -f /content/drive/MyDrive/MD-fit-nopbc_noh2o.xtc -t /content/drive/MyDrive/conf.pdb -sa "resname MA4" -sr "resname MA4"
I think that is related to the size of the trajectory which is about 1.69 GB, I don't know how can I use TTClust on a trajectory of that size, any suggestions?
Thanks in advance,
Marwa
from ttclust.
I'm not sure if it is linked to collab or not, but it should not require so much memory. I know that I have to work on memory optimisation, but unfortunately I will not have time to do that before a few weeks....
In the meantime, If you have the water in your trajectory you can first remove it, or if you have a lot of frames, you can skip some frames.
For example if you have 100000 Frames and between your frames you only have 1ps or 10 ps, the difference will not be super high between 2 frames. So you can reduce the number of frame with the option -s
(-s 5
will read every 5th frames)
from ttclust.
Thanks so much, it eventually worked :). It's now running on colab.
And really it would be a great addition if you enhanced the memory optimization, will be waiting eagerly for it!
Thanks again,
Marwa
from ttclust.
Good to know :-)
I will tag you when I will finally do it :-)
Thibault.
from ttclust.
Related Issues (20)
- File name size HOT 4
- problem in clustering MDS when the protein moves out from one edge of water box while applying periodic boundary conditions HOT 2
- Which version? HOT 1
- Clustering with only .pdb file (without .xtc file) HOT 1
- Ligand poses clustering HOT 3
- what is the unit of RMSD in the log file ? HOT 1
- The representative frame HOT 4
- ttclust.py:726: ClusterWarning: scipy.cluster: The symmetric non-negative hollow observation matrix looks suspiciously like an uncondensed distance matrix HOT 1
- ValueError: xyz must be shape (Any, 2108, 3) I need a help for this HOT 1
- ValueError: 'c' argument HOT 4
- selection of heavy atoms of a ligand HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: 'D:\\CLOUDS\\GoogleDrive\\WORK\\Perso\\DEV\\ttclust\\examples' HOT 2
- can i use a trajectory and align it to the same protein structure saved in another pdb file?
- Handling PBC
- Clustering of host guest systems HOT 2
- Saving all frames belonging to a cluster HOT 2
- RMSD as an input
- ValueError: invalid literal for int() with base 10: 'auto'
- Replotting the graphs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttclust.