This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%% File : ahocorasik.erl | |
%%% Author : Fyodor Ustinov <ufm@ufm.su> | |
%%% Descrip.: Multiple search based on Aho-Corasick string matching algorithm | |
%%% | |
%%% License : GPL | |
%%% | |
%%% Usage: | |
%%% ahocorasik:match(["pat1", "pat2"], "pat1 pat2 pat1") | |
%%% or | |
%%% Tree = ahocorasick:tree(["pat1", "pat2"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bio' | |
reg= Bio::Registry.new | |
genbank = reg.get_database('genbank') | |
entry = genbank.get_by_id('AA2CG') | |
print entry | |
ff = Bio::FlatFile.new(Bio::GenBank, File.open("/home/etsvigun/devenv/biotech/seq/gbhtg86.seq", 'r')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="ffi.gem" value="ffi-0.6.0-java.gem"/> | |
<property name="ffi-java.gem" value="ffi-0.6.0-java.gem"/> | |
<property name="nice-ffi.gem" value="nice-ffi-0.3.gem"/> | |
<property name="chipmunk-ffi.gem" value="chipmunk-ffi-1.0.0.gem"/> | |
<arg value="${build.lib.dir}/${ffi.gem}"/> | |
<arg value="${build.lib.dir}/${ffi-java.gem}"/> | |
<arg value="${build.lib.dir}/${nice-ffi.gem}"/> | |
<arg value="${build.lib.dir}/${chipmunk-ffi.gem}"/> |
NewerOlder