@NyxMoiren Welcome! Glad to hear the tutorials worked fine, but sorry that you’re running into this problem.
From your logs, this line is indicative of the problem:
/usr/local/bin/mafft: line 2747: 1966 Killed …
It tells us that a subprocess (pid 1966) that mafft was running was terminated by the operating system. Usually this happens due to out-of-memory conditions, during which the OS will forcibly terminate processes using the most memory to reduce memory pressure.
How much memory does your computer have available?
Can you share more details about the size of the data you’re working with (number of sequences, typical sequence length, etc) or the data itself (data/genomes.fna, data/ref.fna)?
Ah, and because this is Docker on Windows, there will be a separate (and smaller, by default) memory limit than the rest of your computer (which is limited by physical memory installed). Docker’s limit can be adjusted upwards if necessary. Running nextstrain check-setup docker will output a quick diagnostic check of the memory limit.
yes: docker is installed
yes: docker run works
yes: containers have access to >2 GiB of memory (limit is 7.8 GiB)
yes: image is new enough for this CLI version
Supported Nextstrain runtimes: docker
All good! Default runtime (docker) is supported.
I am trying to build a world distribution of B. anthracis (bacteria, 5.2MB genome size, monophyletic ie highly clonal). I already discovered that i cant use the plasmid sequences and have to work just with the chromosome.
I actually tried to setup a .wslconfig file in %UserProfile% (used notepad.exe to open the thing) and I wrote that inside (as I have 16 GB RAM, 8 Processors á 3.80 GHz)
[wsl2]
memory=12GB
processors=6
swap=10GB
But this did not change anything.
For my data:
These are my meta_data files. structure of the .fna containing all the sequences and the ref.-file
Hmm. Did you wait long enough before testing, or manually stop and restart the WSL2 VM, per Microsoft’s documentation?
For a 5.8 Mbase genome with the 7.8 GiB of memory you have available, you may need to use MAFFT’s “memory save” mode, which unfortunately augur align unconditionally disables with the --nomemsave option. Disabling it improves alignment times, but requires more working memory. As an alternative to running augur align, at least until it’s imporved, you could try running mafft directly using a version of the command line invocation printed by Augur. You’re also welcome to use other alignment tools. Subsequent Augur commands that take an alignment as input don’t require that you used augur align specifically.