Skip to content
Discussion options

You must be logged in to vote

You can keep the DNA alignment untouched, and pull all 3rd codon positions to another file with 0/1 recoding, say bin.phy. Then prepare a partition file (e.g. partition.nex):

#nexus
begin sets;
  charset part1 = dna.phy: 1-300\3; [ replace 300 with the actual alignment length ]
  charset part2 = dna.phy: 2-300\3;
  charset part3 = bin.phy;
end;

Then run something like:

iqtree2 -p partition.nex

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@strewick
Comment options

@bqminh
Comment options

Answer selected by roblanf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants