fix various bugs for output format and reverse complement issues
allowing more flexible ends / hard code length threshold cut