changed output filename to output path and name
fixed bug getSeqType()
Merge pull request #2 from vliedel/master

changed commandline args to specify output dir and name