bin/count_variations.rb in bio-polyploid-tools-0.1.0 vs bin/count_variations.rb in bio-polyploid-tools-0.2.3
- old
+ new
@@ -12,10 +12,10 @@
path= File.expand_path(File.dirname(__FILE__) + '/../lib/bioruby-polyploid-tools.rb')
require path
puts ARGV[0]
-fasta_db = Bio::DB::Fasta::FastaFile.new( ARGV[0])
+fasta_db = Bio::DB::Fasta::FastaFile.new( {:fasta=>ARGV[0]})
fasta_db.load_fai_entries
bam1 = Bio::DB::Sam.new({:fasta=>ARGV[0], :bam=>ARGV[1]})
fasta_db.index.entries.each do | r |
#Np r.get_full_region
\ No newline at end of file