Sha256: 59a83a1127f2825b2833ef3d9ae1ed7a00de86c21a5b23470a7d186c2dfdaaa7
Contents?: true
Size: 1.27 KB
Versions: 4
Compression:
Stored size: 1.27 KB
Contents
#!/usr/bin/ruby require 'rubygems' require 'optparse' require 'ms/msrun/search' opt = { :format => :mgf } opts = OptionParser.new do |op| op.banner = "usage: #{File.basename(__FILE__)} <file>.mzXML ..." op.separator "outputs: <file>.mgf" op.on("-f", "--format <mgf|ms2>", Symbol, "the format type") {|v| opt[:format] = v } end if ARGV.size == 0 puts opts exit end ARGV.each do |file| if File.exist?(file) Ms::Msrun::Search.convert(opt[:format], file) else puts "missing file: #{file} [skipping]" end end # extract_msn.exe -M0.2 -B85 -T4500 -S0 -G1 -I35 -C0 -P2 -D output smallraw.RAW #config :group_mass_tol, 1.4, :short => 'M', &c.float # prec. mass tolerance for grouping #config :bottom_mw, 0.0, :short => 'B', &c.float # bottom MW for data file creation #config :top_mw, 999999.0, :short => 'T', &c.float # top MW for data file creation #config :interm_scans, 0, :short => 'S', &c.integer # allowed num intermediate scans between groups #config :min_group, 1, :short => 'G', &c.integer # minimum # of related grouped scans needed for a .dta file #config :min_ions, 0, :short => 'I', &c.integer # minimum num of ions needed for a .dta file # What the heck is the -P option?? Not listed in the help! # Ahn lab sets this to: 2 # config : :short => 'P',
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ms-msrun-0.3.4 | bin/ms_to_search.rb |
ms-msrun-0.3.3 | bin/ms_to_search.rb |
ms-msrun-0.3.2 | bin/ms_to_search.rb |
ms-msrun-0.3.1 | bin/ms_to_search.rb |