Extracting DNA fragments