The sequence to get the reverse complement of
The type of nucleic acid of the given sequence
The reverse complement sequence, or undefined if the input sequence was undefined
//Get DNA reverse complement
getReverseComplementSequence('ATCG', NucleicAcidType.DNA); //returns 'CGAT'
//Get RNA reverse complement
getReverseComplementSequence('AUCG', NucleicAcidType.RNA); //returns 'CGAU'
Given a string sequence and a nucleic acid type, get the reverse complement sequence This represents the opposite strand of double-stranded nucleic acids