Single or double stranded nucleic acid binding proteins