Sha256: ec7688c316c1d782cccfed558ba5d6e9a0b9a6e3ac6588ba0a7d1e6deba1860a

Contents?: true

Size: 411 Bytes

Versions: 7

Compression:

Stored size: 411 Bytes

Contents

#!/usr/bin/env ruby
require 'bio'
$: << File.expand_path(File.dirname(__FILE__) + '/../lib')
$: << File.expand_path('.')
path= File.expand_path(File.dirname(__FILE__) + '/../lib/bioruby-polyploid-tools.rb')
require path

blat_file=ARGV[0]

blat_aln = Bio::Blat::Report.new(Bio::FlatFile.open(blat_file).to_io)
blat_aln.each_hit() do |hit|
  if hit.percentage_covered >= 50
    puts hit.data.join("\t")
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bio-polyploid-tools-0.4.2 bin/filter_blat_by_target_coverage.rb
bio-polyploid-tools-0.4.1 bin/filter_blat_by_target_coverage.rb
bio-polyploid-tools-0.4.0 bin/filter_blat_by_target_coverage.rb
bio-polyploid-tools-0.3.3 bin/filter_blat_by_target_coverage.rb
bio-polyploid-tools-0.3.1 bin/filter_blat_by_target_coverage.rb
bio-polyploid-tools-0.2.3 bin/filter_blat_by_target_coverage.rb
bio-polyploid-tools-0.1.0 bin/filter_blat_by_target_coverage.rb