lib/bio/PolyploidTools/Marker.rb in bio-polyploid-tools-0.1.0 vs lib/bio/PolyploidTools/Marker.rb in bio-polyploid-tools-0.2.3
- old
+ new
@@ -124,15 +124,15 @@
end
fasta.close
end
def global_reference(reference)
- @global_reference = Bio::DB::Fasta::FastaFile.new(reference)
+ @global_reference = Bio::DB::Fasta::FastaFile.new({:fasta=>reference})
@global_reference.load_fai_entries
end
def reference(reference)
- @reference = Bio::DB::Fasta::FastaFile.new(reference)
+ @reference = Bio::DB::Fasta::FastaFile.new({:fasta=>reference})
@reference.load_fai_entries
end
def print_fasta_contigs_from_reference(filename)
if File.exist?(filename)
\ No newline at end of file