-
-
Save audy/3427165 to your computer and use it in GitHub Desktop.
Paste left read and right read from Illumina into a single megaread
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'dna' # gem install dna | |
left, right = ARGV[0], ARGV[1] | |
left_handle = File.open(left) | |
right_handle = File.open(right) | |
left_records = Dna.new(left_handle) | |
right_records = Dna.new(right_handle) | |
left_records.zip(right_records).each do |l, r| | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you doing this before or after quality trimming?