lib/quanto/records/summary-merge.rb
#
# Merge single read summary file to one tsv
#
Merge single read summary file to one tsv
Merge single read summary file to one tsv
def merge_reads
        @reads_fpath = output_fpath("quanto.reads.tsv")
        if !output_exist?(@reads_fpath)
          File.open(@reads_fpath, 'w') do |file|
            file.puts(reads_header.join("\t"))
            @objects.each do |obj|
              file.puts(open(obj[:summary_path]).read.chomp)
            end
          end
        end
      end
def merge_reads @reads_fpath = output_fpath ( "quanto.reads.tsv" ) if ! output_exist? ( @reads_fpath ) File . open ( @reads_fpath , 'w' ) do | file | file . puts ( reads_header . join ( "\t" ) ) @objects . each do | obj | file . puts ( open ( obj [ :summary_path ] ) . read . chomp ) end end end end
Merge single read summary file to one tsv
Merge single read summary file to one tsv