python snippets for analyzing short reads