Code Monkey home page Code Monkey logo

Comments (2)

ivan-aksamentov avatar ivan-aksamentov commented on May 28, 2024 1

There is no hard limit, but Nextclade Web is running all computations on your local computer and uses 32-bit WebAssembly underneath, which is limited to ~3.5 GBytes of memory (RAM). 64-bit WebAssembly exists, but is not yet supported in any browsers yet, so it is not currently feasible to use it.

Another soft limit is that Auspice cannot render this many nodes on the tree anyways, and the tree JSON representation becomes too huge to be manageable.

In the end, it depends on what sequences you analyze - larger genomes and lower quality sequences require more memory. As well as how much memory you have available on your computer. Closing unused browser tabs (especially other Nextclade tabs) and other programs might help to free up the memory (up to the maximum of 3.5 GBytes). In Nextclade's settings you can reduce number of parallel threads and turn off extra markers in sequence views to reduce memory consumption. You can use Chrome's task manager (Menu -> More tools -> Task manager) as well as system memory monitoring tools to keep track of memory and CPU usage.

Additionally, you can split your inputs into chunks and analyze them separately.

If you need large-scale analysis, our recommended solution is to run Nextclade CLI, which can analyze virtually unlimited number of sequences (especially if the Auspice tree JSON is not requested in the outputs). It uses less memory and is much faster. It is not as convenient though, does not have any visualization (but you can use Excel on the TSV output file) and requires some command-line skills.

from nextclade.

ryhisner avatar ryhisner commented on May 28, 2024

Thanks. I always have a million tabs open, so maybe I need to change that. Despite reading about 200 pages on the topic, I have zero command-line skills, so using the CLI isn't really an option.

from nextclade.

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.