Sha256: 1e73dfb726e89d73ce22e9768ba83e6c1c7b921aa3f2ffd671367c0382908247

Contents?: true

Size: 1.14 KB

Versions: 499

Compression:

Stored size: 1.14 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) 

  range_hash = {"Genomic Range" => /\w+:\d+:\d+/}
  finder.add_instance(range_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

499 entries across 499 versions & 1 rubygems

Version Path
rbbt-util-5.44.1 etc/app.d/finder.rb
rbbt-util-5.43.0 etc/app.d/finder.rb
rbbt-util-5.42.0 etc/app.d/finder.rb
rbbt-util-5.41.1 etc/app.d/finder.rb
rbbt-util-5.41.0 etc/app.d/finder.rb
rbbt-util-5.40.5 etc/app.d/finder.rb
rbbt-util-5.40.4 etc/app.d/finder.rb
rbbt-util-5.40.3 etc/app.d/finder.rb
rbbt-util-5.40.0 etc/app.d/finder.rb
rbbt-util-5.39.0 etc/app.d/finder.rb
rbbt-util-5.38.1 etc/app.d/finder.rb
rbbt-util-5.38.0 etc/app.d/finder.rb
rbbt-util-5.37.16 etc/app.d/finder.rb
rbbt-util-5.37.15 etc/app.d/finder.rb
rbbt-util-5.37.14 etc/app.d/finder.rb
rbbt-util-5.37.13 etc/app.d/finder.rb
rbbt-util-5.37.12 etc/app.d/finder.rb
rbbt-util-5.37.11 etc/app.d/finder.rb
rbbt-util-5.37.10 etc/app.d/finder.rb
rbbt-util-5.37.9 etc/app.d/finder.rb