Fixed-parameter algorithms for the consensus analysis of genomic data