#!/usr/bin/env ruby # # enzymes.rb - cut input file using enzyme on command line # # Copyright (C) 2006 Pjotr Prins and Trevor Wennblom # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # $Id: enzymes.rb,v 1.1 2006/03/03 15:31:06 pjotr Exp $ # require 'bio/io/flatfile' require 'bio/util/restriction_enzyme' include Bio usage = < '+entry.definition+"\n" print frag.primary,"\n" end end end