Sha256: 0c040430d60b89348082f2b052aa59cc686c2df19e74e3765e6314594fd5e2dd

Contents?: true

Size: 622 Bytes

Versions: 37

Compression:

Stored size: 622 Bytes

Contents

require 'rbbt-util'
require 'rbbt/resource'
require 'rbbt/sources/organism'

module MCLP
  extend Resource
  self.subdir = 'share/databases/MCLP'

  def self.organism(org="Hsa")
    Organism.default_code(org)
  end

  #self.search_paths = {}
  #self.search_paths[:default] = :lib


  MCLP.claim MCLP.RPPA, :proc do 
    url = "http://tcpaportal.org/mclp/download/MCLP-v1.1-Level4.zip"
    tsv = TSV.open(url, :header_hash => "", :fix => Proc.new{|l| l.gsub("NA", "")}, :cast => :to_f, :namespace => MCLP.organism, :type => :list)
    tsv.transpose("Antibody").to_s
  end
end

iif MCLP.RPPA.produce.find if __FILE__ == $0

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
rbbt-sources-3.4.2 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.4.1 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.3.0 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.16 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.15 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.14 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.13 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.12 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.11 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.10 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.9 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.8 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.6 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.4 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.3 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.2 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.1 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.2.0 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.1.52 lib/rbbt/sources/MCLP.rb
rbbt-sources-3.1.51 lib/rbbt/sources/MCLP.rb