lib/bio/PolyploidTools/ChromosomeArm.rb in bio-polyploid-tools-0.1.0 vs lib/bio/PolyploidTools/ChromosomeArm.rb in bio-polyploid-tools-0.2.3
- old
+ new
@@ -6,10 +6,10 @@
attr_reader :loaded_entries
attr_reader :fasta_db
def initialize(name, path_to_fasta)
@name = name
- @fasta_db = Bio::DB::Fasta::FastaFile.new(path_to_fasta)
+ @fasta_db = Bio::DB::Fasta::FastaFile.new({:fasta=>path_to_fasta})
#$stderr.puts "Loading entries for #{name}"
@genes = Hash.new
end
\ No newline at end of file