Skip to content

Commit 412a1d7

Browse files
committed
add info on concatenating alignments
1 parent 7c6f829 commit 412a1d7

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

doc/Frequently-Asked-Questions.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,3 +294,24 @@ C A
294294
[Minh et al., 2013]: https://doi.org/10.1093/molbev/mst024
295295
[Ranwez et al., 2011]: https://doi.org/10.1371/journal.pone.0022594
296296

297+
Can I use IQ-TREE to concatenate alignments?
298+
--------------------------------------------
299+
300+
Yes! If you put all of your alignments you want to concatenate into a single folder, you can do this:
301+
302+
```
303+
iqtree2 -p FOLDER_NAME --out-aln OUTFILE_NAME
304+
```
305+
306+
This will produce:
307+
* OUTFILE_NAME: the concatenated alignment (default is fasta format)
308+
* OUTFILE_NAME.nex: the partition file in nexus format
309+
* OUTFILE_NAME.partitions: the partition file in RAxML format
310+
311+
Optionally, you can add `--out-format FASTA|NEXUS` option to specify concatenated alignment format, e.g.
312+
313+
```
314+
iqtree2 -p FOLDER_NAME --out-aln OUTFILE_NAME --out-format NEXUS
315+
```
316+
317+
would output the alignment in nexus format.

0 commit comments

Comments
 (0)