Text this: The highly dynamic pangenome of basal chordates is enriched in defence and immunity genes and is inherited following the Mendelian law.