ENH: modified to support DNA or RNA by default