The Target-selection Pipeline for the Dark Energy Spectroscopic Instrument — arXiv2