Sha256: 88f071310479f70c3e4e5580f10efadb56a70a54b0675110e66047d9a12cd2d3

Contents?: true

Size: 478 Bytes

Versions: 12

Compression:

Stored size: 478 Bytes

Contents

#!/usr/bin/ruby -w

require 'spec_id/proph'

if ARGV.size < 1
  puts "usage: #{File.basename(__FILE__)} <prob_cutoff> <pepproph.xml> ..."
  puts "     For each file outputs 'pepproph_min<prob_cutoff>.xml'"
  puts "     deleting all search_hits with peptides less than prob_cutoff"
end

files = ARGV.to_a
cutoff = files.shift
files.each do |file|
  outfile = file.gsub(/\.xml/, "_min#{cutoff}.xml")
  Proph::Pep::Parser.new.filter_by_min_pep_prob(file, outfile, cutoff.to_f)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mspire-0.4.9 bin/pepproph_filter.rb
mspire-0.2.1 bin/pepproph_filter.rb
mspire-0.2.2 bin/pepproph_filter.rb
mspire-0.2.4 bin/pepproph_filter.rb
mspire-0.3.0 bin/pepproph_filter.rb
mspire-0.2.0 bin/pepproph_filter.rb
mspire-0.3.9 bin/pepproph_filter.rb
mspire-0.3.1 bin/pepproph_filter.rb
mspire-0.4.2 bin/pepproph_filter.rb
mspire-0.4.4 bin/pepproph_filter.rb
mspire-0.4.5 bin/pepproph_filter.rb
mspire-0.4.7 bin/pepproph_filter.rb