adding optional stream option to genome-string