+ def to_hash
+ hash = {}
+ hash[:MID] = @tag
+ hash[:MID_NAME] = @name
+ hash[:MID_POS] = @pos
+ hash[:MID_LEN] = @len
+ hash[:MID_MISMATCHES] = @mismatches
+ hash
+ end
+
+ def start
+ @pos + @len
+ end
+ end
+end
+casts = []
+casts << {:long=>'pos', :short=>'p', :type=>'uint', :mandatory=>false, :default=>0, :allowed=>nil, :disallowed=>nil}
+casts << {:long=>'mismatches', :short=>'m', :type=>'uint', :mandatory=>false, :default=>0, :allowed=>"0,1,2", :disallowed=>nil}
+casts << {:long=>'gsmids', :short=>'g', :type=>'flag', :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}
+casts << {:long=>'rlmids', :short=>'r', :type=>'flag', :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}