Sha256: 90540151e56ad6de9d3095332a02c229d0996e768ada48b407465b26664e6e11

Contents?: true

Size: 1.03 KB

Versions: 32

Compression:

Stored size: 1.03 KB

Contents

#{{{ FINDER
finder = Finder.new
if ENV['RBBT_FINDER']
  organism = Organism.default_code("Hsa")
  finder.add_instance(Organism.lexicon(organism), :persist => true, :namespace => organism, :grep => Organism.blacklist_genes(organism).list, :invert_grep => true) if defined? Organism

  mutation_hash = {"Genomic Mutation" => /\w+:\d+:[ACTG\-\+]+/}
  finder.add_instance(mutation_hash, :namespace => organism) 

  mi_hash = {"Mutated Isoform" => /ENSP\w+:.+/}
  finder.add_instance(mi_hash, :namespace => organism) 

  prot_hash = {"Ensembl Protein ID" => /ENSP\w+$/}
  finder.add_instance(prot_hash, :namespace => organism) 

  gene_hash = {"Ensembl Gene ID" => /ENSG\w+$/}
  finder.add_instance(gene_hash, :namespace => organism) 

  organism_hash = {"organism" => /[A-Z][a-z]{2}(?:\/[a-z]{3}20\d\d)?/}
  finder.add_instance(organism_hash, :namespace => organism) 

  snp_hash = {"SNP" => /^rs\d+$/}
  finder.add_instance(snp_hash, :namespace => organism) 
end
set :finder, finder
Log.debug("Finder started with: #{finder.instances.length} instances")


Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
rbbt-util-5.21.51 etc/app.d/finder.rb
rbbt-util-5.21.50 etc/app.d/finder.rb
rbbt-util-5.21.49 etc/app.d/finder.rb
rbbt-util-5.21.47 etc/app.d/finder.rb
rbbt-util-5.21.46 etc/app.d/finder.rb
rbbt-util-5.21.45 etc/app.d/finder.rb
rbbt-util-5.21.44 etc/app.d/finder.rb
rbbt-util-5.21.43 etc/app.d/finder.rb
rbbt-util-5.21.42 etc/app.d/finder.rb
rbbt-util-5.21.39 etc/app.d/finder.rb
rbbt-util-5.21.38 etc/app.d/finder.rb
rbbt-util-5.21.37 etc/app.d/finder.rb
rbbt-util-5.21.36 etc/app.d/finder.rb
rbbt-util-5.21.35 etc/app.d/finder.rb
rbbt-util-5.21.34 etc/app.d/finder.rb
rbbt-util-5.21.33 etc/app.d/finder.rb
rbbt-util-5.21.32 etc/app.d/finder.rb
rbbt-util-5.21.31 etc/app.d/finder.rb
rbbt-util-5.21.30 etc/app.d/finder.rb
rbbt-util-5.21.29 etc/app.d/finder.rb