Quantum computation from fermionic anyons on a one-dimensional lattice