bio-ucsc-api 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. data/.document +5 -0
  2. data/.rspec +2 -0
  3. data/COPYING +58 -0
  4. data/COPYING.ja +51 -0
  5. data/Gemfile +19 -0
  6. data/Gemfile.lock +49 -0
  7. data/README.rdoc +57 -0
  8. data/Rakefile +72 -0
  9. data/VERSION +1 -0
  10. data/bio-ucsc-api.gemspec +212 -0
  11. data/lib/bio-ucsc.rb +20 -0
  12. data/lib/bio-ucsc/hg18.rb +27 -0
  13. data/lib/bio-ucsc/hg18/activerecord.rb +166 -0
  14. data/lib/bio-ucsc/hg18/cnpiafrate2.rb +31 -0
  15. data/lib/bio-ucsc/hg18/cnplocke.rb +31 -0
  16. data/lib/bio-ucsc/hg18/cnpredon.rb +32 -0
  17. data/lib/bio-ucsc/hg18/cnpsebat2.rb +35 -0
  18. data/lib/bio-ucsc/hg18/cnpsharp2.rb +32 -0
  19. data/lib/bio-ucsc/hg18/db_connection.rb +61 -0
  20. data/lib/bio-ucsc/hg18/dgv.rb +27 -0
  21. data/lib/bio-ucsc/hg18/refgene.rb +27 -0
  22. data/lib/bio-ucsc/hg18/rmsk.rb +51 -0
  23. data/lib/bio-ucsc/hg18/tables.rb +142 -0
  24. data/lib/bio-ucsc/hg19.rb +54 -0
  25. data/lib/bio-ucsc/hg19/activerecord.rb +217 -0
  26. data/lib/bio-ucsc/hg19/ccdsgene.rb +33 -0
  27. data/lib/bio-ucsc/hg19/cytoband.rb +33 -0
  28. data/lib/bio-ucsc/hg19/db_connection.rb +61 -0
  29. data/lib/bio-ucsc/hg19/dgv.rb +27 -0
  30. data/lib/bio-ucsc/hg19/ensgene.rb +21 -0
  31. data/lib/bio-ucsc/hg19/gwascatalog.rb +26 -0
  32. data/lib/bio-ucsc/hg19/hapmapalleleschimp.rb +35 -0
  33. data/lib/bio-ucsc/hg19/hapmapallelesmacaque.rb +35 -0
  34. data/lib/bio-ucsc/hg19/hapmapsnpsasw.rb +33 -0
  35. data/lib/bio-ucsc/hg19/hapmapsnpsceu.rb +33 -0
  36. data/lib/bio-ucsc/hg19/hapmapsnpschb.rb +33 -0
  37. data/lib/bio-ucsc/hg19/hapmapsnpschd.rb +33 -0
  38. data/lib/bio-ucsc/hg19/hapmapsnpsgih.rb +34 -0
  39. data/lib/bio-ucsc/hg19/hapmapsnpsjpt.rb +34 -0
  40. data/lib/bio-ucsc/hg19/hapmapsnpslwk.rb +35 -0
  41. data/lib/bio-ucsc/hg19/hapmapsnpsmex.rb +35 -0
  42. data/lib/bio-ucsc/hg19/hapmapsnpsmkk.rb +35 -0
  43. data/lib/bio-ucsc/hg19/hapmapsnpstsi.rb +35 -0
  44. data/lib/bio-ucsc/hg19/hapmapsnpsyri.rb +35 -0
  45. data/lib/bio-ucsc/hg19/knowngene.rb +34 -0
  46. data/lib/bio-ucsc/hg19/omimgene.rb +25 -0
  47. data/lib/bio-ucsc/hg19/phastconselements46wayprimates.rb +27 -0
  48. data/lib/bio-ucsc/hg19/phylop46wayprimates.rb +27 -0
  49. data/lib/bio-ucsc/hg19/refgene.rb +27 -0
  50. data/lib/bio-ucsc/hg19/rmsk.rb +32 -0
  51. data/lib/bio-ucsc/hg19/snp131.rb +30 -0
  52. data/lib/bio-ucsc/hg19/snp132.rb +31 -0
  53. data/lib/bio-ucsc/hg19/snp132codingdbsnp.rb +29 -0
  54. data/lib/bio-ucsc/hg19/snp132common.rb +32 -0
  55. data/lib/bio-ucsc/hg19/snp132flagged.rb +31 -0
  56. data/lib/bio-ucsc/hg19/snp132mult.rb +32 -0
  57. data/lib/bio-ucsc/hg19/wgrna.rb +29 -0
  58. data/lib/bio-ucsc/ucsc_bin.rb +148 -0
  59. data/samples/hg19-sample.rb +66 -0
  60. data/spec/hg18/cnpiafrate2_spec.rb +23 -0
  61. data/spec/hg18/cnplocke_spec.rb +23 -0
  62. data/spec/hg18/cnpredon_spec.rb +23 -0
  63. data/spec/hg18/cnpsebat2_spec.rb +23 -0
  64. data/spec/hg18/cnpsharp2_spec.rb +23 -0
  65. data/spec/hg18/db_connection_spec.rb +36 -0
  66. data/spec/hg18/dgv_spec.rb +23 -0
  67. data/spec/hg18/refgene_spec.rb +23 -0
  68. data/spec/hg18/rmsk_spec.rb +33 -0
  69. data/spec/hg19/ccdsgene_spec.rb +23 -0
  70. data/spec/hg19/cytoband_spec.rb +23 -0
  71. data/spec/hg19/db_connection_spec.rb +37 -0
  72. data/spec/hg19/dgv_spec.rb +23 -0
  73. data/spec/hg19/ensgene_spec.rb +23 -0
  74. data/spec/hg19/gwascatalog_spec.rb +23 -0
  75. data/spec/hg19/hapmapalleleschimp_spec.rb +23 -0
  76. data/spec/hg19/hapmapallelesmacaque_spec.rb +23 -0
  77. data/spec/hg19/hapmapsnpsasw_spec.rb +23 -0
  78. data/spec/hg19/hapmapsnpsceu_spec.rb +23 -0
  79. data/spec/hg19/hapmapsnpschb_spec.rb +23 -0
  80. data/spec/hg19/hapmapsnpschd_spec.rb +23 -0
  81. data/spec/hg19/hapmapsnpsgih_spec.rb +23 -0
  82. data/spec/hg19/hapmapsnpsjpt_spec.rb +23 -0
  83. data/spec/hg19/hapmapsnpslwk_spec.rb +23 -0
  84. data/spec/hg19/hapmapsnpsmex_spec.rb +23 -0
  85. data/spec/hg19/hapmapsnpsmkk_spec.rb +23 -0
  86. data/spec/hg19/hapmapsnpstsi_spec.rb +23 -0
  87. data/spec/hg19/hapmapsnpsyri_spec.rb +23 -0
  88. data/spec/hg19/knowngene_spec.rb +23 -0
  89. data/spec/hg19/omimGene_spec.rb +23 -0
  90. data/spec/hg19/phastconselements46wayprimates_spec.rb +23 -0
  91. data/spec/hg19/phyloP46wayPrimates_spec.rb +23 -0
  92. data/spec/hg19/refgene_spec.rb +23 -0
  93. data/spec/hg19/rmsk_spec.rb +23 -0
  94. data/spec/hg19/snp132Flagged_spec.rb +24 -0
  95. data/spec/hg19/snp132_spec.rb +23 -0
  96. data/spec/hg19/snp132codingdbsnp_spec.rb +23 -0
  97. data/spec/hg19/snp132common_spec.rb +24 -0
  98. data/spec/hg19/snp132mult_spec.rb +23 -0
  99. data/spec/hg19/wgrna_spec.rb +23 -0
  100. data/spec/spec_helper.rb +12 -0
  101. metadata +368 -0
@@ -0,0 +1,34 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/hapmapsnpsjpt.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
+ # Japanese in Tokyo, Japan (JPT)
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 HapMapSnpsJPT < DBConnection
28
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
29
+ set_table_name 'hapmapSnpsJPT'
30
+ set_primary_key nil
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/hapmapsnpslwk.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
+ # Luhya in Webuye, Kenya (LWK)
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 HapMapSnpsLWK < DBConnection
28
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
29
+
30
+ set_table_name 'hapmapSnpsLWK'
31
+ set_primary_key nil
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/hapmapsnpsmex.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
+ # Mexican Ancestery in Los Angeles, CA, US (MEX)
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 HapMapSnpsMEX < DBConnection
28
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
29
+
30
+ set_table_name 'hapmapSnpsMEX'
31
+ set_primary_key nil
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/hapmapsnpsmkk.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
+ # Masai in Kinyawa, Kenya (MKK)
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 HapMapSnpsMKK < DBConnection
28
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
29
+
30
+ set_table_name 'hapmapSnpsMKK'
31
+ set_primary_key nil
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/hapmapsnpstsi.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
+ # Toscani in Italia (TSI)
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 HapMapSnpsTSI < DBConnection
28
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
29
+
30
+ set_table_name 'hapmapSnpsTSI'
31
+ set_primary_key nil
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/hapmapsnpsyari.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
+ # Yoruba in Ibadan, Nigeria (YRI)
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 HapMapSnpsYRI < DBConnection
28
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
29
+
30
+ set_table_name 'hapmapSnpsYRI'
31
+ set_primary_key nil
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,34 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/knowngene.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 UCSC Genes track shows gene predictions based on data from
9
+ # RefSeq, Genbank, CCDS and UniProt. This is a moderately
10
+ # conservative set of predictions, requiring the support of one
11
+ # GenBank RNA sequence plus at least one additional line of
12
+ # evidence. The RefSeq RNAs are an exception to this, requiring no
13
+ # additional evidence. The track includes both protein-coding and
14
+ # putative non-coding transcripts. Some of these non-coding
15
+ # transcripts may actually code for protein, but the evidence for the
16
+ # associated protein is weak at best. Compared to RefSeq, this gene
17
+ # set has generally about 10% more protein-coding genes,
18
+ # approximately five times as many putative non-coding genes, and
19
+ # about twice as many splice variants.
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 KnownGene < DBConnection
28
+ extend Bio::Ucsc::Hg19::QueryUsingTx
29
+ set_table_name 'knownGene'
30
+ set_primary_key nil
31
+ end # class KnownGene
32
+ end # module Hg19
33
+ end # module Ucsc
34
+ end # Bio
@@ -0,0 +1,25 @@
1
+ #
2
+ # = hg19/omimgene.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 shows the positions of canonical UCSC genes that have
9
+ # been associated with identifiers in the Online Mendelian Inheritance
10
+ # in Man (OMIM) database. The associations were obtained from RefSeq
11
+ # and UniProt annotations. To simplify the track, annotations on
12
+ # splice variants have been collapsed so that only canonical UCSC
13
+ # splice variants are displayed.
14
+
15
+ module Bio
16
+ module Ucsc
17
+ module Hg19
18
+ class OmimGene < DBConnection
19
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
20
+ set_table_name 'omimGene'
21
+ set_primary_key nil
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,27 @@
1
+ #
2
+ # = hg19/phastconelements46wayprimates.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 description in UCSC Table Browser This track shows multiple
8
+ # alignments of 46 vertebrate species and measurements of evolutionary
9
+ # conservation using two methods (phastCons and phyloP) from the PHAST
10
+ # package, for all species (vertebrate) and two subsets (primate and
11
+ # placental mammal). The multiple alignments were generated using
12
+ # multiz and other tools in the UCSC/Penn State Bioinformatics
13
+ # comparative genomics alignment pipeline. Conserved elements
14
+ # identified by phastCons are also displayed in this track.
15
+ #
16
+
17
+ module Bio
18
+ module Ucsc
19
+ module Hg19
20
+ class PhastConsElements46wayPrimates < DBConnection
21
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
22
+ set_table_name 'phastConsElements46wayPrimates'
23
+ set_primary_key nil
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ #
2
+ # = hg19/phylop46wayprimate.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 description in UCSC Table Browser This track shows multiple
8
+ # alignments of 46 vertebrate species and measurements of evolutionary
9
+ # conservation using two methods (phastCons and phyloP) from the PHAST
10
+ # package, for all species (vertebrate) and two subsets (primate and
11
+ # placental mammal). The multiple alignments were generated using
12
+ # multiz and other tools in the UCSC/Penn State Bioinformatics
13
+ # comparative genomics alignment pipeline. Conserved elements
14
+ # identified by phastCons are also displayed in this track.
15
+ #
16
+
17
+ module Bio
18
+ module Ucsc
19
+ module Hg19
20
+ class PhyloP46wayPrimates < DBConnection
21
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
22
+ set_table_name 'phyloP46wayPrimates'
23
+ set_primary_key nil
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,27 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/refgene.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 RefSeq Genes track shows known human protein-coding and
10
+ # non-protein-coding genes taken from the NCBI RNA reference sequences
11
+ # collection (RefSeq). The data underlying this track are updated
12
+ # daily.
13
+ #
14
+ # = ommitted dynamic method(s) due to the method name collision
15
+ # none
16
+
17
+ module Bio
18
+ module Ucsc
19
+ module Hg19
20
+ class RefGene < DBConnection
21
+ extend Bio::Ucsc::Hg19::QueryUsingTxBin
22
+ set_table_name 'refGene'
23
+ set_primary_key nil
24
+ end # class RefGene
25
+ end # module Hg19
26
+ end # module Ucsc
27
+ end # Bio
@@ -0,0 +1,32 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/rmsk.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 was created by using Arian Smit's RepeatMasker program,
9
+ # which screens DNA sequences for interspersed repeats and low
10
+ # complexity DNA sequences. The program outputs a detailed annotation
11
+ # of the repeats that are present in the query sequence (represented
12
+ # by this track), as well as a modified version of the query sequence
13
+ # in which all the annotated repeats have been masked (generally
14
+ # available on the Downloads page). RepeatMasker uses the RepBase
15
+ # library of repeats from the Genetic Information Research Institute
16
+ # (GIRI). RepBase is described in Jurka, J. (2000) in the References
17
+ # section below.
18
+ #
19
+ # = ommitted dynamic method(s) due to the method name collision
20
+ # none
21
+
22
+ module Bio
23
+ module Ucsc
24
+ module Hg19
25
+ class Rmsk < DBConnection
26
+ extend Bio::Ucsc::Hg19::QueryUsingGenoBin
27
+ set_table_name 'rmsk'
28
+ set_primary_key nil
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,30 @@
1
+ # -*- coding: utf-8 -*-
2
+ # = hg19/snp131.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 contains information about single nucleotide
10
+ # polymorphisms and small insertions and deletions (indels) —
11
+ # collectively Simple Nucleotide Polymorphisms — from dbSNP build
12
+ # 131, available from ftp.ncbi.nih.gov/snp.
13
+ #
14
+ # = ommitted dynamic method(s) due to the method name collision
15
+ # use results[:valid] instead of results.valid
16
+ # use results[:class] instead of results.class
17
+
18
+ module Bio
19
+ module Ucsc
20
+ module Hg19
21
+ class Snp131 < DBConnection
22
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
23
+ set_table_name 'snp131'
24
+ set_primary_key nil
25
+ columns_hash.delete("valid")
26
+ columns_hash.delete("class")
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,31 @@
1
+ #
2
+ # = hg19/snp132.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 description in UCSC Table Browser
8
+ # This track contains information about a subset of the single
9
+ # nucleotide polymorphisms and small insertions and deletions (indels)
10
+ # -- collectively Simple Nucleotide Polymorphisms -- from dbSNP
11
+ # build 132, available from ftp.ncbi.nih.gov/snp. Only SNPs that have a
12
+ # minor allele frequency of at least 1% and are mapped to a single
13
+ # location in the reference genome assembly are included in this
14
+ # subset. Frequency data are not available for all SNPs, so this subset
15
+ # is incomplete.
16
+ #
17
+ # SNPs(132): all dbSNP build 132
18
+
19
+ module Bio
20
+ module Ucsc
21
+ module Hg19
22
+ class Snp132 < DBConnection
23
+ extend Bio::Ucsc::Hg19::QueryUsingChromBin
24
+ set_table_name 'snp132'
25
+ set_primary_key nil
26
+ columns_hash.delete("valid")
27
+ columns_hash.delete("class")
28
+ end
29
+ end
30
+ end
31
+ end