Sha256: 815839656f251c5173d2304ed394e2490cc5cfddc7e0a69c043b6567d1110b38
Contents?: true
Size: 413 Bytes
Versions: 4
Compression:
Stored size: 413 Bytes
Contents
require 'rbbt' require 'rbbt/resource' module COSMIC extend Resource self.subdir = "share/databases/COSMIC" COSMIC.claim COSMIC.Mutations, :proc do url = "ftp://ftp.sanger.ac.uk/pub/CGP/cosmic/data_export/CosmicMutantExport_v54_120711.tsv" TSV.open(Open.open(url), :header_hash => "", :key_field => "Mutation GRCh37 genome position", :merge => true).to_s end end puts COSMIC.Mutations.produce
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rbbt-sources-1.2.0 | lib/rbbt/sources/COSMIC.rb |
rbbt-sources-1.1.0 | lib/rbbt/sources/COSMIC.rb |
rbbt-sources-1.0.1 | lib/rbbt/sources/COSMIC.rb |
rbbt-sources-1.0.0 | lib/rbbt/sources/COSMIC.rb |