beast2
beast2 copied to clipboard
recognize ranges of taxa in taxon sets in NexusParser
From: Ingi Agnarsson
I'm trying to get taxon sets into Beauti. I have 563 taxa so defining sets within beauti is painstaking, as is listing taxon names in each set in the nexus file. Does beauti not recognize ranges of taxa, as per:
BEGIN SETS; CHARSET Cytb = 1-1140; TAXSET Afro = 3-29; TAXSET Carn =30-256; TAXSET Ceta = 257-520; TAXSET toot= toot=448-520; TAXSET Ingr=3-563;
end;
We have the method "parseSetsBlock" starting from line 1008 in NexusParser to parse TAXSET, but it does not take ranges:
BEGIN Sets; TAXSET 'con' = 'con_SL_Gert2' 'con_SL_Tran6' 'con_SL_Tran7' 'con_SL_Gert6'; TAXSET 'spa' = 'spa_138a_Cerb' 'spa_JB_Eyre1' 'spa_JB_Eyre2'; END;