Methods for inferring nucleosome positioning and transcription factor binding