Sha256: 9934588078f725849e70d675a92b787bc08b5b690ad6cc858fd7c4cba536d121

Contents?: true

Size: 717 Bytes

Versions: 28

Compression:

Stored size: 717 Bytes

Contents

#================================================
# SCBI - dariogf <soporte@scbi.uma.es>
#------------------------------------------------
#
# Version: 0.1 - 04/2009
#
# Usage: require "utils/fasta_utils"
#
# Fasta utilities
#
# 
#
#================================================

require File.dirname(__FILE__) +"/qual_reader.rb"

	######################################
	# Define a subclass to override events
	######################################
class LoadQualInHash< QualReader

	attr_reader :quals

	#override begin processing
	def on_begin_process()
		@quals = {}
	end

	def on_process_sequence(seq_name,seq_qual)
		@quals[seq_name]=seq_qual
	end

	#override end processing
	def on_end_process()
	end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
seqtrimnext-2.0.38 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.36 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.35 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.33 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.32 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.31 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.30 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.29 lib/seqtrimnext/utils/load_qual_in_hash.rb