Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val String.reverseComplement11: String get(){
- val thisLength = length - 1
- return String( CharArray(thisLength + 1) {
- val complementedChar = this[thisLength - it].complement1
- if (complementedChar != '-') complementedChar else throw InvalidAlgorithmParameterException("Shit")
- })
- }
Advertisement
Add Comment
Please, Sign In to add comment