Added ability to use lines instead of fasta file