added ability to use seqs as input