create csv.writers in action()
pep8
- Fix error resulting in loss of clusters of size 1
- Include mapping of centroid name to itself so that readmap has one row
for each sequence in the input
more readable