Phylogeny of cestodes demonstrating the relationship of S. erinaceieuropaei to the Cyclophyllidea species. Phylogenetic tree of all platyhelminth ComparaEnsembl GeneTree species outrooted by Capitella teleta and Crassostrea gigas. All orthologues of gene families (protein fasta files) from Compara were filtered to include representatives from at least seven species, and these were aligned with multiple alignment program for amino acid or nucleotide sequences (MAFFT). Poor alignments were filtered out using GBlocks and the remaining concatenated to PHYLIP multiple alignment format for passing to raxmlHPC along with the partition model. raxmlHPC was run with random seed 2131. Scale bar represents length of horizontal branch corresponding to a rate of genetic change per base of 0.2.