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.68 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.66 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.62 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.61 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.60 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.59 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.57 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.56 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.55 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.54 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.52 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.51 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.50 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.49 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.48 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.46 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.45 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.42 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.41 lib/seqtrimnext/utils/load_qual_in_hash.rb
seqtrimnext-2.0.39 lib/seqtrimnext/utils/load_qual_in_hash.rb