The DNA sequence to replicate
Optional organism profile (default: E_COLI)
ValidationResult containing the two replicated DNA strands
import { DNA, replicateDNASimple } from 'ts-dna';
const dna = new DNA('ATGCGATCGTAGCTACGT');
const result = replicateDNASimple(dna);
if (result.success) {
const [strand1, strand2] = result.data;
console.log('Replication completed!');
}
Simple DNA replication that returns just the replicated strands.
This is a convenience function for when you only need the replicated DNA and don't care about replication statistics or events.