I am attempting to build a tree using align-to-tree-mafft-fasttree, but keep getting the same error. Being a novice I created my code using a script editor:
Error: Got unexpected extra argument ( )
/tmp/slurmd/job1847581/slurm_script: line 13: --o-alignment: command not found
/tmp/slurmd/job1847581/slurm_script: line 14: --o-masked-alignment: command not found
/tmp/slurmd/job1847581/slurm_script: line 15: --o-tree: command not found
/tmp/slurmd/job1847581/slurm_script: line 16: --o-rooted-tree: command not found
As far as I can tell the commands fit with what is listed on the help page. Any help would be most appreciated!
Hi there @gondry2! You appear to be missing a trailing slash (\) at the end of the first line of your command:
Should be : qiime phylogeny align-to-tree-mafft-fasttree \
Please note, this isn't a QIIME 2 requirement, but rather, a requirement of your shell (it signals to the shell to keep looking at the next line for more instructions for the current statement).
@thermokarst Sorry for the multiple messages. I tried manually retyping all the commands and it appears to be running. Perhaps some kind of error when copying and pasting which is visually showing \ when not actually present. Thanks again!