bio-ucsc-api 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +2 -0
- data/COPYING +58 -0
- data/COPYING.ja +51 -0
- data/Gemfile +19 -0
- data/Gemfile.lock +49 -0
- data/README.rdoc +57 -0
- data/Rakefile +72 -0
- data/VERSION +1 -0
- data/bio-ucsc-api.gemspec +212 -0
- data/lib/bio-ucsc.rb +20 -0
- data/lib/bio-ucsc/hg18.rb +27 -0
- data/lib/bio-ucsc/hg18/activerecord.rb +166 -0
- data/lib/bio-ucsc/hg18/cnpiafrate2.rb +31 -0
- data/lib/bio-ucsc/hg18/cnplocke.rb +31 -0
- data/lib/bio-ucsc/hg18/cnpredon.rb +32 -0
- data/lib/bio-ucsc/hg18/cnpsebat2.rb +35 -0
- data/lib/bio-ucsc/hg18/cnpsharp2.rb +32 -0
- data/lib/bio-ucsc/hg18/db_connection.rb +61 -0
- data/lib/bio-ucsc/hg18/dgv.rb +27 -0
- data/lib/bio-ucsc/hg18/refgene.rb +27 -0
- data/lib/bio-ucsc/hg18/rmsk.rb +51 -0
- data/lib/bio-ucsc/hg18/tables.rb +142 -0
- data/lib/bio-ucsc/hg19.rb +54 -0
- data/lib/bio-ucsc/hg19/activerecord.rb +217 -0
- data/lib/bio-ucsc/hg19/ccdsgene.rb +33 -0
- data/lib/bio-ucsc/hg19/cytoband.rb +33 -0
- data/lib/bio-ucsc/hg19/db_connection.rb +61 -0
- data/lib/bio-ucsc/hg19/dgv.rb +27 -0
- data/lib/bio-ucsc/hg19/ensgene.rb +21 -0
- data/lib/bio-ucsc/hg19/gwascatalog.rb +26 -0
- data/lib/bio-ucsc/hg19/hapmapalleleschimp.rb +35 -0
- data/lib/bio-ucsc/hg19/hapmapallelesmacaque.rb +35 -0
- data/lib/bio-ucsc/hg19/hapmapsnpsasw.rb +33 -0
- data/lib/bio-ucsc/hg19/hapmapsnpsceu.rb +33 -0
- data/lib/bio-ucsc/hg19/hapmapsnpschb.rb +33 -0
- data/lib/bio-ucsc/hg19/hapmapsnpschd.rb +33 -0
- data/lib/bio-ucsc/hg19/hapmapsnpsgih.rb +34 -0
- data/lib/bio-ucsc/hg19/hapmapsnpsjpt.rb +34 -0
- data/lib/bio-ucsc/hg19/hapmapsnpslwk.rb +35 -0
- data/lib/bio-ucsc/hg19/hapmapsnpsmex.rb +35 -0
- data/lib/bio-ucsc/hg19/hapmapsnpsmkk.rb +35 -0
- data/lib/bio-ucsc/hg19/hapmapsnpstsi.rb +35 -0
- data/lib/bio-ucsc/hg19/hapmapsnpsyri.rb +35 -0
- data/lib/bio-ucsc/hg19/knowngene.rb +34 -0
- data/lib/bio-ucsc/hg19/omimgene.rb +25 -0
- data/lib/bio-ucsc/hg19/phastconselements46wayprimates.rb +27 -0
- data/lib/bio-ucsc/hg19/phylop46wayprimates.rb +27 -0
- data/lib/bio-ucsc/hg19/refgene.rb +27 -0
- data/lib/bio-ucsc/hg19/rmsk.rb +32 -0
- data/lib/bio-ucsc/hg19/snp131.rb +30 -0
- data/lib/bio-ucsc/hg19/snp132.rb +31 -0
- data/lib/bio-ucsc/hg19/snp132codingdbsnp.rb +29 -0
- data/lib/bio-ucsc/hg19/snp132common.rb +32 -0
- data/lib/bio-ucsc/hg19/snp132flagged.rb +31 -0
- data/lib/bio-ucsc/hg19/snp132mult.rb +32 -0
- data/lib/bio-ucsc/hg19/wgrna.rb +29 -0
- data/lib/bio-ucsc/ucsc_bin.rb +148 -0
- data/samples/hg19-sample.rb +66 -0
- data/spec/hg18/cnpiafrate2_spec.rb +23 -0
- data/spec/hg18/cnplocke_spec.rb +23 -0
- data/spec/hg18/cnpredon_spec.rb +23 -0
- data/spec/hg18/cnpsebat2_spec.rb +23 -0
- data/spec/hg18/cnpsharp2_spec.rb +23 -0
- data/spec/hg18/db_connection_spec.rb +36 -0
- data/spec/hg18/dgv_spec.rb +23 -0
- data/spec/hg18/refgene_spec.rb +23 -0
- data/spec/hg18/rmsk_spec.rb +33 -0
- data/spec/hg19/ccdsgene_spec.rb +23 -0
- data/spec/hg19/cytoband_spec.rb +23 -0
- data/spec/hg19/db_connection_spec.rb +37 -0
- data/spec/hg19/dgv_spec.rb +23 -0
- data/spec/hg19/ensgene_spec.rb +23 -0
- data/spec/hg19/gwascatalog_spec.rb +23 -0
- data/spec/hg19/hapmapalleleschimp_spec.rb +23 -0
- data/spec/hg19/hapmapallelesmacaque_spec.rb +23 -0
- data/spec/hg19/hapmapsnpsasw_spec.rb +23 -0
- data/spec/hg19/hapmapsnpsceu_spec.rb +23 -0
- data/spec/hg19/hapmapsnpschb_spec.rb +23 -0
- data/spec/hg19/hapmapsnpschd_spec.rb +23 -0
- data/spec/hg19/hapmapsnpsgih_spec.rb +23 -0
- data/spec/hg19/hapmapsnpsjpt_spec.rb +23 -0
- data/spec/hg19/hapmapsnpslwk_spec.rb +23 -0
- data/spec/hg19/hapmapsnpsmex_spec.rb +23 -0
- data/spec/hg19/hapmapsnpsmkk_spec.rb +23 -0
- data/spec/hg19/hapmapsnpstsi_spec.rb +23 -0
- data/spec/hg19/hapmapsnpsyri_spec.rb +23 -0
- data/spec/hg19/knowngene_spec.rb +23 -0
- data/spec/hg19/omimGene_spec.rb +23 -0
- data/spec/hg19/phastconselements46wayprimates_spec.rb +23 -0
- data/spec/hg19/phyloP46wayPrimates_spec.rb +23 -0
- data/spec/hg19/refgene_spec.rb +23 -0
- data/spec/hg19/rmsk_spec.rb +23 -0
- data/spec/hg19/snp132Flagged_spec.rb +24 -0
- data/spec/hg19/snp132_spec.rb +23 -0
- data/spec/hg19/snp132codingdbsnp_spec.rb +23 -0
- data/spec/hg19/snp132common_spec.rb +24 -0
- data/spec/hg19/snp132mult_spec.rb +23 -0
- data/spec/hg19/wgrna_spec.rb +23 -0
- data/spec/spec_helper.rb +12 -0
- metadata +368 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# = hg19/ccdsgene.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# Copyright (C) 2008 Jan Aerts <jan.aerts@gmail.com>
|
6
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
7
|
+
#
|
8
|
+
# = DESCRIPTION
|
9
|
+
# From Structural Variants description page when clicking the "Describe
|
10
|
+
# table schema" in the table browser:
|
11
|
+
#
|
12
|
+
# = Table desfription in UCSC Table Browser
|
13
|
+
# This track shows human genome high-confidence gene annotations from
|
14
|
+
# the Consensus Coding Sequence (CCDS) project. This project is a
|
15
|
+
# collaborative effort to identify a core set of human protein-coding
|
16
|
+
# regions that are consistently annotated and of high quality. The
|
17
|
+
# long-term goal is to support convergence towards a standard set of
|
18
|
+
# gene annotations on the human genome.
|
19
|
+
#
|
20
|
+
# = ommitted dynamic method(s) due to the method name collision
|
21
|
+
# none
|
22
|
+
|
23
|
+
module Bio
|
24
|
+
module Ucsc
|
25
|
+
module Hg19
|
26
|
+
class CcdsGene < DBConnection
|
27
|
+
extend Bio::Ucsc::Hg19::QueryUsingCcdsBin
|
28
|
+
set_table_name 'ccdsGene'
|
29
|
+
set_primary_key nil
|
30
|
+
end # class CcdsGene
|
31
|
+
end # module Hg19
|
32
|
+
end # module Ucsc
|
33
|
+
end # Bio
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#
|
2
|
+
# = hg19/cytoband.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# Copyright (C) 2008 Jan Aerts <jan.aerts@gmail.com>
|
6
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
7
|
+
#
|
8
|
+
# = Table desfription in UCSC Table Browser
|
9
|
+
# The chromosome band track represents the approximate location of
|
10
|
+
# bands seen on Giemsa-stained chromosomes. Chromosomes are displayed
|
11
|
+
# in the browser with the short arm first. Cytologically identified
|
12
|
+
# bands on the chromosome are numbered outward from the centromere on
|
13
|
+
# the short (p) and long (q) arms. At low resolution, bands are
|
14
|
+
# classified using the nomenclature [chromosome][arm][band], where
|
15
|
+
# band is a single digit. Examples of bands on chromosome 3 include
|
16
|
+
# 3p2, 3p1, cen, 3q1, and 3q2. At a finer resolution, some of the
|
17
|
+
# bands are subdivided into sub-bands, adding a second digit to the
|
18
|
+
# band number, e.g. 3p26. This resolution produces about 500 bands. A
|
19
|
+
# final subdivision into a total of 862 sub-bands is made by adding a
|
20
|
+
# period and another digit to the band, resulting in 3p26.3, 3p26.2,
|
21
|
+
# etc.
|
22
|
+
|
23
|
+
module Bio
|
24
|
+
module Ucsc
|
25
|
+
module Hg19
|
26
|
+
class CytoBand < DBConnection
|
27
|
+
extend Bio::Ucsc::Hg19::QueryUsingChrom
|
28
|
+
set_table_name 'cytoBand'
|
29
|
+
set_primary_key nil
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
#
|
2
|
+
# = lib/ucsc/hg19/db_connection.rb - UCSC hg19 DB connection
|
3
|
+
#
|
4
|
+
# Copyright:: Cioyrught (C) 2011
|
5
|
+
# MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
6
|
+
# Copyright:: Copyright (C) 2008
|
7
|
+
# Jan Aerts <jan.aerts@gmail.com>
|
8
|
+
# License:: Ruby licence (Ryby's / GPLv2 dual)
|
9
|
+
|
10
|
+
require 'rubygems'
|
11
|
+
require 'active_record'
|
12
|
+
|
13
|
+
module Bio
|
14
|
+
module Ucsc
|
15
|
+
|
16
|
+
module Hg19
|
17
|
+
# = DESCRIPTION
|
18
|
+
# The Ucsc::Hg19::DBConnection is the actual connection established
|
19
|
+
# with the UCSC mysql server.
|
20
|
+
|
21
|
+
class DBConnection < ActiveRecord::Base
|
22
|
+
# = DESCRIPTION
|
23
|
+
# The Ucsc::Hg19::DBConnection#connect method makes the connection
|
24
|
+
# to the UCSC hg19 database.
|
25
|
+
#
|
26
|
+
# = USAGE
|
27
|
+
# # Connect to the hg19
|
28
|
+
# Ensembl::Core::DBConnection.connect
|
29
|
+
#
|
30
|
+
# ---
|
31
|
+
# *Arguments*: none
|
32
|
+
@@db_adapter = 'mysql'
|
33
|
+
@@db_host = 'genome-mysql.cse.ucsc.edu'
|
34
|
+
@@db_username = 'genome'
|
35
|
+
@@db_password = ''
|
36
|
+
|
37
|
+
cattr_accessor :db_host, :db_username, :db_password
|
38
|
+
|
39
|
+
self.abstract_class = true
|
40
|
+
|
41
|
+
def self.default
|
42
|
+
@@db_adapter = 'mysql'
|
43
|
+
@@db_host = 'genome-mysql.cse.ucsc.edu'
|
44
|
+
@@db_username = 'genome'
|
45
|
+
@@db_password = ''
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.connect
|
49
|
+
establish_connection(
|
50
|
+
:adapter => @@db_adapter,
|
51
|
+
:host => @@db_host,
|
52
|
+
:database => 'hg19',
|
53
|
+
:username => @@db_username,
|
54
|
+
:password => @@db_password
|
55
|
+
)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end # module Hg19
|
59
|
+
|
60
|
+
end # module Ucsc
|
61
|
+
end # module Bio
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#
|
2
|
+
# = hg19/dgv.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# Copyright (C) 2008 Jan Aerts <jan.aerts@gmail.com>
|
6
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
7
|
+
#
|
8
|
+
# = Table desfription in UCSC Table Browser
|
9
|
+
# This track displays copy number variants (CNVs),
|
10
|
+
# insertions/deletions (InDels), inversions and inversion breakpoints
|
11
|
+
# annotated by the Database of Genomic Variants (DGV), which contains
|
12
|
+
# genomic variations observed in healthy individuals. DGV focuses on
|
13
|
+
# structural variation, defined as genomic alterations that involve
|
14
|
+
# segments of DNA that are larger than 1000 bp. Insertions/deletions
|
15
|
+
# of 100 bp or larger are also included.
|
16
|
+
#
|
17
|
+
module Bio
|
18
|
+
module Ucsc
|
19
|
+
module Hg19
|
20
|
+
class Dgv < DBConnection
|
21
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
22
|
+
set_table_name 'dgv'
|
23
|
+
set_primary_key nil
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
#
|
2
|
+
# = hg19/ensgene.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# Copyright (C) 2008 Jan Aerts <jan.aerts@gmail.com>
|
6
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
7
|
+
#
|
8
|
+
# = Table desfription in UCSC Table Browser
|
9
|
+
# These gene predictions were generated by Ensembl.
|
10
|
+
|
11
|
+
module Bio
|
12
|
+
module Ucsc
|
13
|
+
module Hg19
|
14
|
+
class EnsGene < DBConnection
|
15
|
+
extend Bio::Ucsc::Hg19::QueryUsingTxBin
|
16
|
+
set_table_name 'ensGene'
|
17
|
+
set_primary_key nil
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
#
|
2
|
+
# = hg19/gwascatalog.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
6
|
+
#
|
7
|
+
# = Table desfription in UCSC Table Browser
|
8
|
+
# This track displays single nucleotide polymorphisms (SNPs)
|
9
|
+
# identified by published Genome-Wide Association Studies (GWAS),
|
10
|
+
# collected in the Catalog of Published Genome-Wide Association
|
11
|
+
# Studies (www.genome.gov/gwastudies) at the National Human Genome
|
12
|
+
# Research Institute (NHGRI). Some abbreviations are used above.
|
13
|
+
# From http://www.genome.gov/gwastudies
|
14
|
+
|
15
|
+
#
|
16
|
+
module Bio
|
17
|
+
module Ucsc
|
18
|
+
module Hg19
|
19
|
+
class GwasCatalog < DBConnection
|
20
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
21
|
+
set_table_name 'gwasCatalog'
|
22
|
+
set_primary_key nil
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# = hg19/hapmapallelschimp.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki
|
5
|
+
# <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
6
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
7
|
+
#
|
8
|
+
# = Table desfription in UCSC Table Browser
|
9
|
+
# The HapMap Project identified a set of approximately four million
|
10
|
+
# common SNPs, and genotyped these SNPs in four populations in Phase
|
11
|
+
# II of the project. In Phase III, it genotyped approximately 1.4 to
|
12
|
+
# 1.5 million SNPs in eleven populations. This track shows the
|
13
|
+
# combined data from Phases II and III. The intent is that this data
|
14
|
+
# can be used as a reference for future studies of human disease. This
|
15
|
+
# track displays the genotype counts and allele frequencies of those
|
16
|
+
# SNPs, and (when available) shows orthologous alleles from the chimp
|
17
|
+
# and macaque reference genome assemblies.
|
18
|
+
#
|
19
|
+
# Ortho alleles for HapMap SNPs: Chimp
|
20
|
+
#
|
21
|
+
# = ommitted dynamic method(s) due to the method name collision
|
22
|
+
# none
|
23
|
+
|
24
|
+
module Bio
|
25
|
+
module Ucsc
|
26
|
+
module Hg19
|
27
|
+
class HapMapAllelesChimp < DBConnection
|
28
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
29
|
+
|
30
|
+
set_table_name 'hapmapAllelesChimp'
|
31
|
+
set_primary_key nil
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# = hg19/hapmapallelsmacaque.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki
|
5
|
+
# <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
6
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
7
|
+
#
|
8
|
+
# = Table desfription in UCSC Table Browser
|
9
|
+
# The HapMap Project identified a set of approximately four million
|
10
|
+
# common SNPs, and genotyped these SNPs in four populations in Phase
|
11
|
+
# II of the project. In Phase III, it genotyped approximately 1.4 to
|
12
|
+
# 1.5 million SNPs in eleven populations. This track shows the
|
13
|
+
# combined data from Phases II and III. The intent is that this data
|
14
|
+
# can be used as a reference for future studies of human disease. This
|
15
|
+
# track displays the genotype counts and allele frequencies of those
|
16
|
+
# SNPs, and (when available) shows orthologous alleles from the chimp
|
17
|
+
# and macaque reference genome assemblies.
|
18
|
+
#
|
19
|
+
# Ortho alleles for HapMap SNPs: Macaque
|
20
|
+
#
|
21
|
+
# = ommitted dynamic method(s) due to the method name collision
|
22
|
+
# none
|
23
|
+
|
24
|
+
module Bio
|
25
|
+
module Ucsc
|
26
|
+
module Hg19
|
27
|
+
class HapMapAllelesMacaque < DBConnection
|
28
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
29
|
+
|
30
|
+
set_table_name 'hapmapAllelesMacaque'
|
31
|
+
set_primary_key nil
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# = hg19/hapmapsnpsasw.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
6
|
+
#
|
7
|
+
# = Table desfription in UCSC Table Browser
|
8
|
+
# The HapMap Project identified a set of approximately four million
|
9
|
+
# common SNPs, and genotyped these SNPs in four populations in Phase
|
10
|
+
# II of the project. In Phase III, it genotyped approximately 1.4 to
|
11
|
+
# 1.5 million SNPs in eleven populations. This track shows the
|
12
|
+
# combined data from Phases II and III. The intent is that this data
|
13
|
+
# can be used as a reference for future studies of human disease. This
|
14
|
+
# track displays the genotype counts and allele frequencies of those
|
15
|
+
# SNPs, and (when available) shows orthologous alleles from the chimp
|
16
|
+
# and macaque reference genome assemblies.
|
17
|
+
#
|
18
|
+
# African Ancestry in SouthWestern United States (ASW)
|
19
|
+
#
|
20
|
+
# = ommitted dynamic method(s) due to the method name collision
|
21
|
+
# none
|
22
|
+
|
23
|
+
module Bio
|
24
|
+
module Ucsc
|
25
|
+
module Hg19
|
26
|
+
class HapMapSnpsASW < DBConnection
|
27
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
28
|
+
set_table_name 'hapmapSnpsASW'
|
29
|
+
set_primary_key nil
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# = hg19/hapmapsnpsceu.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
6
|
+
#
|
7
|
+
# = Table desfription in UCSC Table Browser
|
8
|
+
# The HapMap Project identified a set of approximately four million
|
9
|
+
# common SNPs, and genotyped these SNPs in four populations in Phase
|
10
|
+
# II of the project. In Phase III, it genotyped approximately 1.4 to
|
11
|
+
# 1.5 million SNPs in eleven populations. This track shows the
|
12
|
+
# combined data from Phases II and III. The intent is that this data
|
13
|
+
# can be used as a reference for future studies of human disease. This
|
14
|
+
# track displays the genotype counts and allele frequencies of those
|
15
|
+
# SNPs, and (when available) shows orthologous alleles from the chimp
|
16
|
+
# and macaque reference genome assemblies.
|
17
|
+
#
|
18
|
+
# CEPH (Utah residents with ancestry from northern and western Europe) (CEU)
|
19
|
+
#
|
20
|
+
# = ommitted dynamic method(s) due to the method name collision
|
21
|
+
# none
|
22
|
+
|
23
|
+
module Bio
|
24
|
+
module Ucsc
|
25
|
+
module Hg19
|
26
|
+
class HapMapSnpsCEU < DBConnection
|
27
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
28
|
+
set_table_name 'hapmapSnpsCEU'
|
29
|
+
set_primary_key nil
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# = hg19/hapmapsnpschb.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
6
|
+
#
|
7
|
+
# = Table desfription in UCSC Table Browser
|
8
|
+
# The HapMap Project identified a set of approximately four million
|
9
|
+
# common SNPs, and genotyped these SNPs in four populations in Phase
|
10
|
+
# II of the project. In Phase III, it genotyped approximately 1.4 to
|
11
|
+
# 1.5 million SNPs in eleven populations. This track shows the
|
12
|
+
# combined data from Phases II and III. The intent is that this data
|
13
|
+
# can be used as a reference for future studies of human disease. This
|
14
|
+
# track displays the genotype counts and allele frequencies of those
|
15
|
+
# SNPs, and (when available) shows orthologous alleles from the chimp
|
16
|
+
# and macaque reference genome assemblies.
|
17
|
+
#
|
18
|
+
# Han Chinese in Beijing, China (CHB)
|
19
|
+
#
|
20
|
+
# = ommitted dynamic method(s) due to the method name collision
|
21
|
+
# none
|
22
|
+
|
23
|
+
module Bio
|
24
|
+
module Ucsc
|
25
|
+
module Hg19
|
26
|
+
class HapMapSnpsCHB < DBConnection
|
27
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
28
|
+
set_table_name 'hapmapSnpsCHB'
|
29
|
+
set_primary_key nil
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# = hg19/hapmapsnpschd.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
5
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
6
|
+
#
|
7
|
+
# = Table desfription in UCSC Table Browser
|
8
|
+
# The HapMap Project identified a set of approximately four million
|
9
|
+
# common SNPs, and genotyped these SNPs in four populations in Phase
|
10
|
+
# II of the project. In Phase III, it genotyped approximately 1.4 to
|
11
|
+
# 1.5 million SNPs in eleven populations. This track shows the
|
12
|
+
# combined data from Phases II and III. The intent is that this data
|
13
|
+
# can be used as a reference for future studies of human disease. This
|
14
|
+
# track displays the genotype counts and allele frequencies of those
|
15
|
+
# SNPs, and (when available) shows orthologous alleles from the chimp
|
16
|
+
# and macaque reference genome assemblies.
|
17
|
+
#
|
18
|
+
# Chinese Ancestry in Metropolitan Denver, CO, US (CHD)
|
19
|
+
#
|
20
|
+
# = ommitted dynamic method(s) due to the method name collision
|
21
|
+
# none
|
22
|
+
|
23
|
+
module Bio
|
24
|
+
module Ucsc
|
25
|
+
module Hg19
|
26
|
+
class HapMapSnpsCHD < DBConnection
|
27
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
28
|
+
set_table_name 'hapmapSnpsCHD'
|
29
|
+
set_primary_key nil
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# = hg19/hapmapsnpsgih.rb
|
3
|
+
# Copyright::
|
4
|
+
# Copyright (C) 2011 MISHIMA, Hiroyuki
|
5
|
+
# <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
6
|
+
# License:: The Ruby licence (Ryby's / GPLv2 dual)
|
7
|
+
#
|
8
|
+
# = Table desfription in UCSC Table Browser
|
9
|
+
# The HapMap Project identified a set of approximately four million
|
10
|
+
# common SNPs, and genotyped these SNPs in four populations in Phase
|
11
|
+
# II of the project. In Phase III, it genotyped approximately 1.4 to
|
12
|
+
# 1.5 million SNPs in eleven populations. This track shows the
|
13
|
+
# combined data from Phases II and III. The intent is that this data
|
14
|
+
# can be used as a reference for future studies of human disease. This
|
15
|
+
# track displays the genotype counts and allele frequencies of those
|
16
|
+
# SNPs, and (when available) shows orthologous alleles from the chimp
|
17
|
+
# and macaque reference genome assemblies.
|
18
|
+
#
|
19
|
+
# Gujarati Indians in Houston, TX (GIH)
|
20
|
+
#
|
21
|
+
# = ommitted dynamic method(s) due to the method name collision
|
22
|
+
# none
|
23
|
+
|
24
|
+
module Bio
|
25
|
+
module Ucsc
|
26
|
+
module Hg19
|
27
|
+
class HapMapSnpsGIH < DBConnection
|
28
|
+
extend Bio::Ucsc::Hg19::QueryUsingChromBin
|
29
|
+
set_table_name 'hapmapSnpsGIH'
|
30
|
+
set_primary_key nil
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|