bio-ucsc-api 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (534) hide show
  1. data/README.rdoc +79 -47
  2. data/Rakefile +4 -2
  3. data/VERSION +1 -1
  4. data/bio-ucsc-api.gemspec +408 -3
  5. data/lib/bio-ucsc.rb +162 -8
  6. data/lib/bio-ucsc/ailmel1.rb +21 -0
  7. data/lib/bio-ucsc/ailmel1/db_connection.rb +57 -0
  8. data/lib/bio-ucsc/anocar2.rb +22 -0
  9. data/lib/bio-ucsc/anocar2/db_connection.rb +57 -0
  10. data/lib/bio-ucsc/anogam1.rb +30 -0
  11. data/lib/bio-ucsc/anogam1/chaindm3.rb +81 -0
  12. data/lib/bio-ucsc/anogam1/chaindm3link.rb +81 -0
  13. data/lib/bio-ucsc/anogam1/db_connection.rb +57 -0
  14. data/lib/bio-ucsc/anogam1/est.rb +81 -0
  15. data/lib/bio-ucsc/anogam1/gap.rb +81 -0
  16. data/lib/bio-ucsc/anogam1/gold.rb +81 -0
  17. data/lib/bio-ucsc/anogam1/intronest.rb +81 -0
  18. data/lib/bio-ucsc/anogam1/mrna.rb +81 -0
  19. data/lib/bio-ucsc/anogam1/rmsk.rb +78 -0
  20. data/lib/bio-ucsc/apimel2.rb +26 -0
  21. data/lib/bio-ucsc/apimel2/chaindm2.rb +81 -0
  22. data/lib/bio-ucsc/apimel2/chaindm2link.rb +81 -0
  23. data/lib/bio-ucsc/apimel2/db_connection.rb +57 -0
  24. data/lib/bio-ucsc/aplcal1.rb +33 -0
  25. data/lib/bio-ucsc/aplcal1/chaincaepb1.rb +81 -0
  26. data/lib/bio-ucsc/aplcal1/chaincaepb1link.rb +81 -0
  27. data/lib/bio-ucsc/aplcal1/chaincaerem2.rb +81 -0
  28. data/lib/bio-ucsc/aplcal1/chaincaerem2link.rb +81 -0
  29. data/lib/bio-ucsc/aplcal1/chaincb3.rb +81 -0
  30. data/lib/bio-ucsc/aplcal1/chaincb3link.rb +81 -0
  31. data/lib/bio-ucsc/aplcal1/chaince6.rb +81 -0
  32. data/lib/bio-ucsc/aplcal1/chaince6link.rb +81 -0
  33. data/lib/bio-ucsc/aplcal1/db_connection.rb +57 -0
  34. data/lib/bio-ucsc/aplcal1/gap.rb +81 -0
  35. data/lib/bio-ucsc/aplcal1/gold.rb +81 -0
  36. data/lib/bio-ucsc/aplcal1/rmsk.rb +78 -0
  37. data/lib/bio-ucsc/bostau4.rb +24 -0
  38. data/lib/bio-ucsc/bostau4/db_connection.rb +57 -0
  39. data/lib/bio-ucsc/braflo1.rb +32 -0
  40. data/lib/bio-ucsc/braflo1/chaingalgal3.rb +81 -0
  41. data/lib/bio-ucsc/braflo1/chaingalgal3link.rb +81 -0
  42. data/lib/bio-ucsc/braflo1/chainhg18.rb +81 -0
  43. data/lib/bio-ucsc/braflo1/chainhg18link.rb +81 -0
  44. data/lib/bio-ucsc/braflo1/chainmm9.rb +81 -0
  45. data/lib/bio-ucsc/braflo1/chainmm9link.rb +81 -0
  46. data/lib/bio-ucsc/braflo1/chainpetmar1.rb +81 -0
  47. data/lib/bio-ucsc/braflo1/chainpetmar1link.rb +81 -0
  48. data/lib/bio-ucsc/braflo1/db_connection.rb +57 -0
  49. data/lib/bio-ucsc/braflo1/gap.rb +81 -0
  50. data/lib/bio-ucsc/braflo1/gold.rb +81 -0
  51. data/lib/bio-ucsc/caejap1.rb +26 -0
  52. data/lib/bio-ucsc/caejap1/chaince6.rb +81 -0
  53. data/lib/bio-ucsc/caejap1/chaince6link.rb +81 -0
  54. data/lib/bio-ucsc/caejap1/db_connection.rb +57 -0
  55. data/lib/bio-ucsc/caejap1/gap.rb +81 -0
  56. data/lib/bio-ucsc/caejap1/gold.rb +81 -0
  57. data/lib/bio-ucsc/caepb2.rb +26 -0
  58. data/lib/bio-ucsc/caepb2/chaince6.rb +81 -0
  59. data/lib/bio-ucsc/caepb2/chaince6link.rb +81 -0
  60. data/lib/bio-ucsc/caepb2/db_connection.rb +57 -0
  61. data/lib/bio-ucsc/caepb2/gap.rb +81 -0
  62. data/lib/bio-ucsc/caepb2/gold.rb +81 -0
  63. data/lib/bio-ucsc/caerem3.rb +26 -0
  64. data/lib/bio-ucsc/caerem3/chaince6.rb +81 -0
  65. data/lib/bio-ucsc/caerem3/chaince6link.rb +81 -0
  66. data/lib/bio-ucsc/caerem3/db_connection.rb +57 -0
  67. data/lib/bio-ucsc/caerem3/gap.rb +81 -0
  68. data/lib/bio-ucsc/caerem3/gold.rb +81 -0
  69. data/lib/bio-ucsc/caljac3.rb +24 -0
  70. data/lib/bio-ucsc/caljac3/db_connection.rb +55 -0
  71. data/lib/bio-ucsc/canfam2.rb +39 -0
  72. data/lib/bio-ucsc/canfam2/chainbostau4.rb +81 -0
  73. data/lib/bio-ucsc/canfam2/chainbostau4link.rb +81 -0
  74. data/lib/bio-ucsc/canfam2/chainmm9.rb +81 -0
  75. data/lib/bio-ucsc/canfam2/chainmm9link.rb +81 -0
  76. data/lib/bio-ucsc/canfam2/chainrn4.rb +81 -0
  77. data/lib/bio-ucsc/canfam2/chainrn4link.rb +81 -0
  78. data/lib/bio-ucsc/canfam2/chainself.rb +81 -0
  79. data/lib/bio-ucsc/canfam2/chainselflink.rb +81 -0
  80. data/lib/bio-ucsc/canfam2/db_connection.rb +57 -0
  81. data/lib/bio-ucsc/canfam2/est.rb +81 -0
  82. data/lib/bio-ucsc/canfam2/gap.rb +81 -0
  83. data/lib/bio-ucsc/canfam2/gold.rb +81 -0
  84. data/lib/bio-ucsc/canfam2/intronest.rb +81 -0
  85. data/lib/bio-ucsc/canfam2/mrna.rb +81 -0
  86. data/lib/bio-ucsc/canfam2/rmsk.rb +78 -0
  87. data/lib/bio-ucsc/cavpor3.rb +21 -0
  88. data/lib/bio-ucsc/cavpor3/db_connection.rb +57 -0
  89. data/lib/bio-ucsc/cb3.rb +36 -0
  90. data/lib/bio-ucsc/cb3/chaincaepb1.rb +81 -0
  91. data/lib/bio-ucsc/cb3/chaincaepb1link.rb +81 -0
  92. data/lib/bio-ucsc/cb3/chaincaerem2.rb +81 -0
  93. data/lib/bio-ucsc/cb3/chaincaerem2link.rb +81 -0
  94. data/lib/bio-ucsc/cb3/chaince6.rb +81 -0
  95. data/lib/bio-ucsc/cb3/chaince6link.rb +81 -0
  96. data/lib/bio-ucsc/cb3/chainpripac1.rb +81 -0
  97. data/lib/bio-ucsc/cb3/chainpripac1link.rb +81 -0
  98. data/lib/bio-ucsc/cb3/db_connection.rb +57 -0
  99. data/lib/bio-ucsc/cb3/est.rb +81 -0
  100. data/lib/bio-ucsc/cb3/gap.rb +81 -0
  101. data/lib/bio-ucsc/cb3/gold.rb +81 -0
  102. data/lib/bio-ucsc/cb3/intronest.rb +81 -0
  103. data/lib/bio-ucsc/cb3/mrna.rb +81 -0
  104. data/lib/bio-ucsc/cb3/rmsk.rb +78 -0
  105. data/lib/bio-ucsc/ce6/chaincaejap1.rb +2 -2
  106. data/lib/bio-ucsc/ce6/chaincaejap1link.rb +2 -2
  107. data/lib/bio-ucsc/ce6/chaincaepb2.rb +2 -2
  108. data/lib/bio-ucsc/ce6/chaincaepb2link.rb +2 -2
  109. data/lib/bio-ucsc/ce6/chaincaerem3.rb +2 -2
  110. data/lib/bio-ucsc/ce6/chaincaerem3link.rb +2 -2
  111. data/lib/bio-ucsc/ce6/chaincb3.rb +2 -2
  112. data/lib/bio-ucsc/ce6/chaincb3link.rb +2 -2
  113. data/lib/bio-ucsc/ce6/chainpripac1.rb +2 -2
  114. data/lib/bio-ucsc/ce6/chainpripac1link.rb +2 -2
  115. data/lib/bio-ucsc/ce6/chainself.rb +2 -2
  116. data/lib/bio-ucsc/ce6/chainselflink.rb +2 -2
  117. data/lib/bio-ucsc/ce6/db_connection.rb +5 -6
  118. data/lib/bio-ucsc/ce6/est.rb +2 -2
  119. data/lib/bio-ucsc/ce6/gap.rb +2 -2
  120. data/lib/bio-ucsc/ce6/gold.rb +2 -2
  121. data/lib/bio-ucsc/ce6/intronest.rb +2 -2
  122. data/lib/bio-ucsc/ce6/mrna.rb +2 -2
  123. data/lib/bio-ucsc/ce6/rmsk.rb +2 -2
  124. data/lib/bio-ucsc/ce6/t25mersrepeats.rb +2 -2
  125. data/lib/bio-ucsc/ci2.rb +23 -0
  126. data/lib/bio-ucsc/ci2/db_connection.rb +55 -0
  127. data/lib/bio-ucsc/danrer7.rb +24 -0
  128. data/lib/bio-ucsc/danrer7/db_connection.rb +57 -0
  129. data/lib/bio-ucsc/dm3/chainanogam1.rb +2 -2
  130. data/lib/bio-ucsc/dm3/chainanogam1link.rb +2 -2
  131. data/lib/bio-ucsc/dm3/chainapimel3.rb +2 -2
  132. data/lib/bio-ucsc/dm3/chainapimel3link.rb +2 -2
  133. data/lib/bio-ucsc/dm3/chaindp3.rb +2 -2
  134. data/lib/bio-ucsc/dm3/chaindp3link.rb +2 -2
  135. data/lib/bio-ucsc/dm3/chaindroana2.rb +2 -2
  136. data/lib/bio-ucsc/dm3/chaindroana2link.rb +2 -2
  137. data/lib/bio-ucsc/dm3/chaindroere1.rb +2 -2
  138. data/lib/bio-ucsc/dm3/chaindroere1link.rb +2 -2
  139. data/lib/bio-ucsc/dm3/chaindroper1.rb +2 -2
  140. data/lib/bio-ucsc/dm3/chaindroper1link.rb +2 -2
  141. data/lib/bio-ucsc/dm3/chaindrosec1.rb +2 -2
  142. data/lib/bio-ucsc/dm3/chaindrosec1link.rb +2 -2
  143. data/lib/bio-ucsc/dm3/chaindrosim1.rb +2 -2
  144. data/lib/bio-ucsc/dm3/chaindrosim1link.rb +2 -2
  145. data/lib/bio-ucsc/dm3/chaindroyak2.rb +2 -2
  146. data/lib/bio-ucsc/dm3/chaindroyak2link.rb +2 -2
  147. data/lib/bio-ucsc/dm3/db_connection.rb +5 -6
  148. data/lib/bio-ucsc/dm3/est.rb +2 -2
  149. data/lib/bio-ucsc/dm3/gap.rb +2 -2
  150. data/lib/bio-ucsc/dm3/gold.rb +2 -2
  151. data/lib/bio-ucsc/dm3/intronest.rb +2 -2
  152. data/lib/bio-ucsc/dm3/mrna.rb +2 -2
  153. data/lib/bio-ucsc/dm3/rmsk.rb +2 -2
  154. data/lib/bio-ucsc/dp3.rb +33 -0
  155. data/lib/bio-ucsc/dp3/chaindm3.rb +81 -0
  156. data/lib/bio-ucsc/dp3/chaindm3link.rb +81 -0
  157. data/lib/bio-ucsc/dp3/db_connection.rb +57 -0
  158. data/lib/bio-ucsc/dp3/est.rb +81 -0
  159. data/lib/bio-ucsc/dp3/gap.rb +81 -0
  160. data/lib/bio-ucsc/dp3/gold.rb +81 -0
  161. data/lib/bio-ucsc/dp3/intronest.rb +81 -0
  162. data/lib/bio-ucsc/dp3/mrna.rb +81 -0
  163. data/lib/bio-ucsc/dp3/rmsk.rb +78 -0
  164. data/lib/bio-ucsc/droana2.rb +22 -0
  165. data/lib/bio-ucsc/droana2/db_connection.rb +57 -0
  166. data/lib/bio-ucsc/droere1.rb +22 -0
  167. data/lib/bio-ucsc/droere1/db_connection.rb +57 -0
  168. data/lib/bio-ucsc/drogri1.rb +22 -0
  169. data/lib/bio-ucsc/drogri1/db_connection.rb +57 -0
  170. data/lib/bio-ucsc/dromoj2.rb +22 -0
  171. data/lib/bio-ucsc/dromoj2/db_connection.rb +57 -0
  172. data/lib/bio-ucsc/droper1.rb +22 -0
  173. data/lib/bio-ucsc/droper1/db_connection.rb +57 -0
  174. data/lib/bio-ucsc/drosec1.rb +22 -0
  175. data/lib/bio-ucsc/drosec1/db_connection.rb +57 -0
  176. data/lib/bio-ucsc/drosim1.rb +30 -0
  177. data/lib/bio-ucsc/drosim1/chaindm3.rb +81 -0
  178. data/lib/bio-ucsc/drosim1/chaindm3link.rb +81 -0
  179. data/lib/bio-ucsc/drosim1/db_connection.rb +57 -0
  180. data/lib/bio-ucsc/drosim1/est.rb +81 -0
  181. data/lib/bio-ucsc/drosim1/gap.rb +81 -0
  182. data/lib/bio-ucsc/drosim1/gold.rb +81 -0
  183. data/lib/bio-ucsc/drosim1/intronest.rb +81 -0
  184. data/lib/bio-ucsc/drosim1/mrna.rb +81 -0
  185. data/lib/bio-ucsc/drosim1/rmsk.rb +78 -0
  186. data/lib/bio-ucsc/drovir2.rb +22 -0
  187. data/lib/bio-ucsc/drovir2/db_connection.rb +57 -0
  188. data/lib/bio-ucsc/droyak2.rb +32 -0
  189. data/lib/bio-ucsc/droyak2/chaindm3.rb +81 -0
  190. data/lib/bio-ucsc/droyak2/chaindm3link.rb +81 -0
  191. data/lib/bio-ucsc/droyak2/db_connection.rb +57 -0
  192. data/lib/bio-ucsc/droyak2/est.rb +81 -0
  193. data/lib/bio-ucsc/droyak2/gap.rb +81 -0
  194. data/lib/bio-ucsc/droyak2/gold.rb +81 -0
  195. data/lib/bio-ucsc/droyak2/intronest.rb +81 -0
  196. data/lib/bio-ucsc/droyak2/mrna.rb +81 -0
  197. data/lib/bio-ucsc/droyak2/rmsk.rb +78 -0
  198. data/lib/bio-ucsc/equcab2.rb +31 -0
  199. data/lib/bio-ucsc/equcab2/db_connection.rb +57 -0
  200. data/lib/bio-ucsc/equcab2/est.rb +81 -0
  201. data/lib/bio-ucsc/equcab2/gap.rb +81 -0
  202. data/lib/bio-ucsc/equcab2/gold.rb +81 -0
  203. data/lib/bio-ucsc/equcab2/intronest.rb +81 -0
  204. data/lib/bio-ucsc/equcab2/mrna.rb +81 -0
  205. data/lib/bio-ucsc/equcab2/rmsk.rb +78 -0
  206. data/lib/bio-ucsc/felcat4.rb +23 -0
  207. data/lib/bio-ucsc/felcat4/db_connection.rb +57 -0
  208. data/lib/bio-ucsc/fr2.rb +35 -0
  209. data/lib/bio-ucsc/fr2/chaingalgal3.rb +81 -0
  210. data/lib/bio-ucsc/fr2/chaingalgal3link.rb +81 -0
  211. data/lib/bio-ucsc/fr2/chaingasacu1.rb +81 -0
  212. data/lib/bio-ucsc/fr2/chaingasacu1link.rb +81 -0
  213. data/lib/bio-ucsc/fr2/chainmm9.rb +81 -0
  214. data/lib/bio-ucsc/fr2/chainmm9link.rb +81 -0
  215. data/lib/bio-ucsc/fr2/chainorylat2.rb +81 -0
  216. data/lib/bio-ucsc/fr2/chainorylat2link.rb +81 -0
  217. data/lib/bio-ucsc/fr2/db_connection.rb +57 -0
  218. data/lib/bio-ucsc/fr2/est.rb +81 -0
  219. data/lib/bio-ucsc/fr2/gap.rb +81 -0
  220. data/lib/bio-ucsc/fr2/gold.rb +81 -0
  221. data/lib/bio-ucsc/fr2/intronest.rb +81 -0
  222. data/lib/bio-ucsc/fr2/mrna.rb +81 -0
  223. data/lib/bio-ucsc/fr2/rmsk.rb +78 -0
  224. data/lib/bio-ucsc/galgal3.rb +54 -0
  225. data/lib/bio-ucsc/galgal3/chainanocar1.rb +81 -0
  226. data/lib/bio-ucsc/galgal3/chainanocar1link.rb +81 -0
  227. data/lib/bio-ucsc/galgal3/chainbraflo1.rb +81 -0
  228. data/lib/bio-ucsc/galgal3/chainbraflo1link.rb +81 -0
  229. data/lib/bio-ucsc/galgal3/chaincavpor3.rb +81 -0
  230. data/lib/bio-ucsc/galgal3/chaincavpor3link.rb +81 -0
  231. data/lib/bio-ucsc/galgal3/chaindanrer4.rb +81 -0
  232. data/lib/bio-ucsc/galgal3/chaindanrer4link.rb +81 -0
  233. data/lib/bio-ucsc/galgal3/chainfr2.rb +81 -0
  234. data/lib/bio-ucsc/galgal3/chainfr2link.rb +81 -0
  235. data/lib/bio-ucsc/galgal3/chaingasacu1.rb +81 -0
  236. data/lib/bio-ucsc/galgal3/chaingasacu1link.rb +81 -0
  237. data/lib/bio-ucsc/galgal3/chainmm9.rb +81 -0
  238. data/lib/bio-ucsc/galgal3/chainmm9link.rb +81 -0
  239. data/lib/bio-ucsc/galgal3/chainornana1.rb +81 -0
  240. data/lib/bio-ucsc/galgal3/chainornana1link.rb +81 -0
  241. data/lib/bio-ucsc/galgal3/chainpetmar1.rb +81 -0
  242. data/lib/bio-ucsc/galgal3/chainpetmar1link.rb +81 -0
  243. data/lib/bio-ucsc/galgal3/chainrn4.rb +81 -0
  244. data/lib/bio-ucsc/galgal3/chainrn4link.rb +81 -0
  245. data/lib/bio-ucsc/galgal3/chaintaegut1.rb +81 -0
  246. data/lib/bio-ucsc/galgal3/chaintaegut1link.rb +81 -0
  247. data/lib/bio-ucsc/galgal3/chainxentro2.rb +81 -0
  248. data/lib/bio-ucsc/galgal3/chainxentro2link.rb +81 -0
  249. data/lib/bio-ucsc/galgal3/db_connection.rb +57 -0
  250. data/lib/bio-ucsc/galgal3/est.rb +81 -0
  251. data/lib/bio-ucsc/galgal3/gap.rb +81 -0
  252. data/lib/bio-ucsc/galgal3/gold.rb +81 -0
  253. data/lib/bio-ucsc/galgal3/intronest.rb +81 -0
  254. data/lib/bio-ucsc/galgal3/mrna.rb +81 -0
  255. data/lib/bio-ucsc/galgal3/rmsk.rb +78 -0
  256. data/lib/bio-ucsc/gasacu1.rb +39 -0
  257. data/lib/bio-ucsc/gasacu1/chainanocar1.rb +81 -0
  258. data/lib/bio-ucsc/gasacu1/chainanocar1link.rb +81 -0
  259. data/lib/bio-ucsc/gasacu1/chainfr2.rb +81 -0
  260. data/lib/bio-ucsc/gasacu1/chainfr2link.rb +81 -0
  261. data/lib/bio-ucsc/gasacu1/chaingalgal3.rb +81 -0
  262. data/lib/bio-ucsc/gasacu1/chaingalgal3link.rb +81 -0
  263. data/lib/bio-ucsc/gasacu1/chainmm9.rb +81 -0
  264. data/lib/bio-ucsc/gasacu1/chainmm9link.rb +81 -0
  265. data/lib/bio-ucsc/gasacu1/chainorylat2.rb +81 -0
  266. data/lib/bio-ucsc/gasacu1/chainorylat2link.rb +81 -0
  267. data/lib/bio-ucsc/gasacu1/db_connection.rb +57 -0
  268. data/lib/bio-ucsc/gasacu1/est.rb +81 -0
  269. data/lib/bio-ucsc/gasacu1/intronest.rb +81 -0
  270. data/lib/bio-ucsc/gasacu1/mrna.rb +81 -0
  271. data/lib/bio-ucsc/gasacu1/rmsk.rb +78 -0
  272. data/lib/bio-ucsc/go/db_connection.rb +5 -6
  273. data/lib/bio-ucsc/hg18/chainanocar1.rb +2 -2
  274. data/lib/bio-ucsc/hg18/chainbostau4.rb +2 -2
  275. data/lib/bio-ucsc/hg18/chainbraflo1.rb +2 -2
  276. data/lib/bio-ucsc/hg18/chaincaljac1.rb +2 -2
  277. data/lib/bio-ucsc/hg18/chaincanfam2.rb +2 -2
  278. data/lib/bio-ucsc/hg18/chaincavpor3.rb +2 -2
  279. data/lib/bio-ucsc/hg18/chaindanrer5.rb +2 -2
  280. data/lib/bio-ucsc/hg18/chainequcab1.rb +2 -2
  281. data/lib/bio-ucsc/hg18/chainfelcat3.rb +2 -2
  282. data/lib/bio-ucsc/hg18/chainfr2.rb +2 -2
  283. data/lib/bio-ucsc/hg18/chaingalgal3.rb +2 -2
  284. data/lib/bio-ucsc/hg18/chaingasacu1.rb +2 -2
  285. data/lib/bio-ucsc/hg18/chainmm9.rb +2 -2
  286. data/lib/bio-ucsc/hg18/chainmondom4.rb +2 -2
  287. data/lib/bio-ucsc/hg18/chainornana1.rb +2 -2
  288. data/lib/bio-ucsc/hg18/chainorylat2.rb +2 -2
  289. data/lib/bio-ucsc/hg18/chainpantro2.rb +2 -2
  290. data/lib/bio-ucsc/hg18/chainpetmar1.rb +2 -2
  291. data/lib/bio-ucsc/hg18/chainponabe2.rb +2 -2
  292. data/lib/bio-ucsc/hg18/chainrhemac2.rb +2 -2
  293. data/lib/bio-ucsc/hg18/chainrn4.rb +2 -2
  294. data/lib/bio-ucsc/hg18/chainself.rb +2 -2
  295. data/lib/bio-ucsc/hg18/chainstrpur2.rb +2 -2
  296. data/lib/bio-ucsc/hg18/chaintaegut1.rb +2 -2
  297. data/lib/bio-ucsc/hg18/chaintetnig2.rb +2 -2
  298. data/lib/bio-ucsc/hg18/chainxentro2.rb +2 -2
  299. data/lib/bio-ucsc/hg18/db_connection.rb +5 -7
  300. data/lib/bio-ucsc/hg18/gap.rb +2 -2
  301. data/lib/bio-ucsc/hg18/gold.rb +2 -2
  302. data/lib/bio-ucsc/hg18/intronest.rb +2 -2
  303. data/lib/bio-ucsc/hg18/rmsk.rb +2 -2
  304. data/lib/bio-ucsc/hg18/rmskrm327.rb +2 -2
  305. data/lib/bio-ucsc/hgfixed/db_connection.rb +5 -6
  306. data/lib/bio-ucsc/loxafr3.rb +20 -0
  307. data/lib/bio-ucsc/loxafr3/db_connection.rb +57 -0
  308. data/lib/bio-ucsc/mm9/chainanocar1.rb +2 -2
  309. data/lib/bio-ucsc/mm9/chainanocar1link.rb +2 -2
  310. data/lib/bio-ucsc/mm9/chainbostau4.rb +2 -2
  311. data/lib/bio-ucsc/mm9/chainbostau4link.rb +3 -3
  312. data/lib/bio-ucsc/mm9/chainbraflo1.rb +2 -2
  313. data/lib/bio-ucsc/mm9/chainbraflo1link.rb +2 -2
  314. data/lib/bio-ucsc/mm9/chaincanfam2.rb +2 -2
  315. data/lib/bio-ucsc/mm9/chaincanfam2link.rb +2 -2
  316. data/lib/bio-ucsc/mm9/chaincavpor3.rb +2 -2
  317. data/lib/bio-ucsc/mm9/chaincavpor3link.rb +2 -2
  318. data/lib/bio-ucsc/mm9/chainfr2.rb +2 -2
  319. data/lib/bio-ucsc/mm9/chainfr2link.rb +2 -2
  320. data/lib/bio-ucsc/mm9/chaingalgal3.rb +2 -2
  321. data/lib/bio-ucsc/mm9/chaingalgal3link.rb +2 -2
  322. data/lib/bio-ucsc/mm9/chaingasacu1.rb +2 -2
  323. data/lib/bio-ucsc/mm9/chaingasacu1link.rb +2 -2
  324. data/lib/bio-ucsc/mm9/chainornana1.rb +2 -2
  325. data/lib/bio-ucsc/mm9/chainornana1link.rb +2 -2
  326. data/lib/bio-ucsc/mm9/chainorylat2.rb +2 -2
  327. data/lib/bio-ucsc/mm9/chainorylat2link.rb +2 -2
  328. data/lib/bio-ucsc/mm9/chainpantro2.rb +2 -2
  329. data/lib/bio-ucsc/mm9/chainpantro2link.rb +2 -2
  330. data/lib/bio-ucsc/mm9/chainpetmar1.rb +2 -2
  331. data/lib/bio-ucsc/mm9/chainpetmar1link.rb +2 -2
  332. data/lib/bio-ucsc/mm9/chainponabe2.rb +2 -2
  333. data/lib/bio-ucsc/mm9/chainponabe2link.rb +2 -2
  334. data/lib/bio-ucsc/mm9/chainrhemac2.rb +2 -2
  335. data/lib/bio-ucsc/mm9/chainrhemac2link.rb +2 -2
  336. data/lib/bio-ucsc/mm9/chainrn4.rb +2 -2
  337. data/lib/bio-ucsc/mm9/chainrn4link.rb +2 -2
  338. data/lib/bio-ucsc/mm9/chainxentro2.rb +2 -2
  339. data/lib/bio-ucsc/mm9/chainxentro2link.rb +2 -2
  340. data/lib/bio-ucsc/mm9/db_connection.rb +6 -7
  341. data/lib/bio-ucsc/mm9/est.rb +2 -2
  342. data/lib/bio-ucsc/mm9/gap.rb +2 -2
  343. data/lib/bio-ucsc/mm9/gold.rb +2 -2
  344. data/lib/bio-ucsc/mm9/intronest.rb +2 -2
  345. data/lib/bio-ucsc/mm9/mrna.rb +2 -2
  346. data/lib/bio-ucsc/mm9/rmsk.rb +2 -2
  347. data/lib/bio-ucsc/mondom5.rb +21 -0
  348. data/lib/bio-ucsc/mondom5/db_connection.rb +57 -0
  349. data/lib/bio-ucsc/ornana1.rb +20 -0
  350. data/lib/bio-ucsc/ornana1/db_connection.rb +57 -0
  351. data/lib/bio-ucsc/orycun2.rb +24 -0
  352. data/lib/bio-ucsc/orycun2/db_connection.rb +57 -0
  353. data/lib/bio-ucsc/orylat2.rb +24 -0
  354. data/lib/bio-ucsc/orylat2/db_connection.rb +55 -0
  355. data/lib/bio-ucsc/oviari1.rb +24 -0
  356. data/lib/bio-ucsc/oviari1/db_connection.rb +57 -0
  357. data/lib/bio-ucsc/pantro3.rb +24 -0
  358. data/lib/bio-ucsc/pantro3/db_connection.rb +55 -0
  359. data/lib/bio-ucsc/petmar1.rb +22 -0
  360. data/lib/bio-ucsc/petmar1/db_connection.rb +57 -0
  361. data/lib/bio-ucsc/ponabe2.rb +36 -0
  362. data/lib/bio-ucsc/ponabe2/chainmm9.rb +81 -0
  363. data/lib/bio-ucsc/ponabe2/chainmm9link.rb +81 -0
  364. data/lib/bio-ucsc/ponabe2/chainornana1.rb +81 -0
  365. data/lib/bio-ucsc/ponabe2/chainornana1link.rb +81 -0
  366. data/lib/bio-ucsc/ponabe2/chainrhemac2.rb +81 -0
  367. data/lib/bio-ucsc/ponabe2/chainrhemac2link.rb +81 -0
  368. data/lib/bio-ucsc/ponabe2/db_connection.rb +55 -0
  369. data/lib/bio-ucsc/ponabe2/est.rb +81 -0
  370. data/lib/bio-ucsc/ponabe2/gap.rb +81 -0
  371. data/lib/bio-ucsc/ponabe2/gold.rb +81 -0
  372. data/lib/bio-ucsc/ponabe2/intronest.rb +81 -0
  373. data/lib/bio-ucsc/ponabe2/mrna.rb +81 -0
  374. data/lib/bio-ucsc/ponabe2/rmsk.rb +78 -0
  375. data/lib/bio-ucsc/pripac1.rb +33 -0
  376. data/lib/bio-ucsc/pripac1/chaincaepb1.rb +81 -0
  377. data/lib/bio-ucsc/pripac1/chaincaepb1link.rb +81 -0
  378. data/lib/bio-ucsc/pripac1/chaincaerem2.rb +81 -0
  379. data/lib/bio-ucsc/pripac1/chaincaerem2link.rb +81 -0
  380. data/lib/bio-ucsc/pripac1/chaincb3.rb +81 -0
  381. data/lib/bio-ucsc/pripac1/chaincb3link.rb +81 -0
  382. data/lib/bio-ucsc/pripac1/chaince6.rb +81 -0
  383. data/lib/bio-ucsc/pripac1/chaince6link.rb +81 -0
  384. data/lib/bio-ucsc/pripac1/db_connection.rb +57 -0
  385. data/lib/bio-ucsc/pripac1/gap.rb +81 -0
  386. data/lib/bio-ucsc/pripac1/gold.rb +81 -0
  387. data/lib/bio-ucsc/pripac1/rmsk.rb +78 -0
  388. data/lib/bio-ucsc/proteome/db_connection.rb +5 -7
  389. data/lib/bio-ucsc/rhemac2.rb +32 -0
  390. data/lib/bio-ucsc/rhemac2/chainmm9.rb +81 -0
  391. data/lib/bio-ucsc/rhemac2/chainmm9link.rb +81 -0
  392. data/lib/bio-ucsc/rhemac2/chainpantro2.rb +81 -0
  393. data/lib/bio-ucsc/rhemac2/chainpantro2link.rb +81 -0
  394. data/lib/bio-ucsc/rhemac2/chainponabe2.rb +81 -0
  395. data/lib/bio-ucsc/rhemac2/chainponabe2link.rb +81 -0
  396. data/lib/bio-ucsc/rhemac2/chainrn4.rb +81 -0
  397. data/lib/bio-ucsc/rhemac2/chainrn4link.rb +81 -0
  398. data/lib/bio-ucsc/rhemac2/db_connection.rb +55 -0
  399. data/lib/bio-ucsc/rn4.rb +52 -0
  400. data/lib/bio-ucsc/rn4/chainbostau3.rb +79 -0
  401. data/lib/bio-ucsc/rn4/chainbostau3link.rb +79 -0
  402. data/lib/bio-ucsc/rn4/chaincanfam2.rb +82 -0
  403. data/lib/bio-ucsc/rn4/chaincanfam2link.rb +82 -0
  404. data/lib/bio-ucsc/rn4/chaincavpor3.rb +81 -0
  405. data/lib/bio-ucsc/rn4/chaincavpor3link.rb +81 -0
  406. data/lib/bio-ucsc/rn4/chaindanrer4.rb +81 -0
  407. data/lib/bio-ucsc/rn4/chaindanrer4link.rb +81 -0
  408. data/lib/bio-ucsc/rn4/chainequcab1.rb +81 -0
  409. data/lib/bio-ucsc/rn4/chainequcab1link.rb +81 -0
  410. data/lib/bio-ucsc/rn4/chaingalgal3.rb +81 -0
  411. data/lib/bio-ucsc/rn4/chaingalgal3link.rb +81 -0
  412. data/lib/bio-ucsc/rn4/chainmm9.rb +81 -0
  413. data/lib/bio-ucsc/rn4/chainmm9link.rb +81 -0
  414. data/lib/bio-ucsc/rn4/chainmondom4.rb +81 -0
  415. data/lib/bio-ucsc/rn4/chainmondom4link.rb +81 -0
  416. data/lib/bio-ucsc/rn4/chainpantro2.rb +81 -0
  417. data/lib/bio-ucsc/rn4/chainpantro2link.rb +82 -0
  418. data/lib/bio-ucsc/rn4/chainrhemac2.rb +81 -0
  419. data/lib/bio-ucsc/rn4/chainrhemac2link.rb +81 -0
  420. data/lib/bio-ucsc/rn4/chainxentro2.rb +81 -0
  421. data/lib/bio-ucsc/rn4/chainxentro2link.rb +81 -0
  422. data/lib/bio-ucsc/rn4/db_connection.rb +55 -0
  423. data/lib/bio-ucsc/rn4/est.rb +81 -0
  424. data/lib/bio-ucsc/rn4/gap.rb +81 -0
  425. data/lib/bio-ucsc/rn4/gold.rb +81 -0
  426. data/lib/bio-ucsc/rn4/intronest.rb +81 -0
  427. data/lib/bio-ucsc/rn4/mrna.rb +81 -0
  428. data/lib/bio-ucsc/rn4/rmsk.rb +78 -0
  429. data/lib/bio-ucsc/saccer2.rb +33 -0
  430. data/lib/bio-ucsc/saccer2/db_connection.rb +55 -0
  431. data/lib/bio-ucsc/saccer2/est.rb +83 -0
  432. data/lib/bio-ucsc/saccer2/gap.rb +83 -0
  433. data/lib/bio-ucsc/saccer2/gold.rb +83 -0
  434. data/lib/bio-ucsc/saccer2/intronest.rb +83 -0
  435. data/lib/bio-ucsc/saccer2/mrna.rb +83 -0
  436. data/lib/bio-ucsc/saccer2/t2micron_est.rb +57 -0
  437. data/lib/bio-ucsc/saccer2/t2micron_gap.rb +57 -0
  438. data/lib/bio-ucsc/saccer2/t2micron_gold.rb +58 -0
  439. data/lib/bio-ucsc/saccer2/t2micron_intronEst.rb +57 -0
  440. data/lib/bio-ucsc/saccer2/t2micron_mrna.rb +57 -0
  441. data/lib/bio-ucsc/strpur2.rb +32 -0
  442. data/lib/bio-ucsc/strpur2/chaingalgal3.rb +81 -0
  443. data/lib/bio-ucsc/strpur2/chaingalgal3link.rb +81 -0
  444. data/lib/bio-ucsc/strpur2/chainhg18.rb +81 -0
  445. data/lib/bio-ucsc/strpur2/chainhg18link.rb +81 -0
  446. data/lib/bio-ucsc/strpur2/chainmm9.rb +81 -0
  447. data/lib/bio-ucsc/strpur2/chainmm9link.rb +81 -0
  448. data/lib/bio-ucsc/strpur2/chainpetmar1.rb +81 -0
  449. data/lib/bio-ucsc/strpur2/chainpetmar1link.rb +81 -0
  450. data/lib/bio-ucsc/strpur2/db_connection.rb +57 -0
  451. data/lib/bio-ucsc/strpur2/gap.rb +81 -0
  452. data/lib/bio-ucsc/strpur2/gold.rb +81 -0
  453. data/lib/bio-ucsc/susscr2.rb +26 -0
  454. data/lib/bio-ucsc/susscr2/db_connection.rb +57 -0
  455. data/lib/bio-ucsc/susscr2/est.rb +81 -0
  456. data/lib/bio-ucsc/susscr2/intronest.rb +81 -0
  457. data/lib/bio-ucsc/susscr2/mrna.rb +81 -0
  458. data/lib/bio-ucsc/table_class_detector.rb +18 -22
  459. data/lib/bio-ucsc/taegut1.rb +33 -0
  460. data/lib/bio-ucsc/taegut1/chaingalgal3.rb +81 -0
  461. data/lib/bio-ucsc/taegut1/chaingalgal3link.rb +81 -0
  462. data/lib/bio-ucsc/taegut1/db_connection.rb +57 -0
  463. data/lib/bio-ucsc/taegut1/est.rb +81 -0
  464. data/lib/bio-ucsc/taegut1/gap.rb +81 -0
  465. data/lib/bio-ucsc/taegut1/gold.rb +81 -0
  466. data/lib/bio-ucsc/taegut1/intronest.rb +81 -0
  467. data/lib/bio-ucsc/taegut1/mrna.rb +81 -0
  468. data/lib/bio-ucsc/taegut1/rmsk.rb +78 -0
  469. data/lib/bio-ucsc/tetnig2.rb +25 -0
  470. data/lib/bio-ucsc/tetnig2/db_connection.rb +57 -0
  471. data/lib/bio-ucsc/tetnig2/mrna.rb +81 -0
  472. data/lib/bio-ucsc/uniprot/db_connection.rb +5 -7
  473. data/lib/bio-ucsc/visigene/db_connection.rb +5 -6
  474. data/lib/bio-ucsc/xentro2.rb +30 -0
  475. data/lib/bio-ucsc/xentro2/chaingalgal3.rb +81 -0
  476. data/lib/bio-ucsc/xentro2/chaingalgal3link.rb +81 -0
  477. data/lib/bio-ucsc/xentro2/db_connection.rb +57 -0
  478. data/lib/bio-ucsc/xentro2/est.rb +81 -0
  479. data/lib/bio-ucsc/xentro2/gap.rb +81 -0
  480. data/lib/bio-ucsc/xentro2/gold.rb +81 -0
  481. data/lib/bio-ucsc/xentro2/intronest.rb +81 -0
  482. data/lib/bio-ucsc/xentro2/mrna.rb +81 -0
  483. data/lib/bio-ucsc/xentro2/rmsk.rb +78 -0
  484. data/samples/hg19-2bit-retrieve.rb +5 -2
  485. data/spec/ailmel1_spec.rb +770 -0
  486. data/spec/anocar2_spec.rb +750 -0
  487. data/spec/anogam1_spec.rb +568 -0
  488. data/spec/apimel2_spec.rb +542 -0
  489. data/spec/aplcal1_spec.rb +530 -0
  490. data/spec/bostau4_spec.rb +920 -0
  491. data/spec/braflo1_spec.rb +660 -0
  492. data/spec/caejap1_spec.rb +524 -0
  493. data/spec/caepb2_spec.rb +515 -0
  494. data/spec/caerem3_spec.rb +524 -0
  495. data/spec/caljac3_spec.rb +860 -0
  496. data/spec/canfam2_spec.rb +1145 -0
  497. data/spec/cavpor3_spec.rb +880 -0
  498. data/spec/cb3_spec.rb +634 -0
  499. data/spec/ci2_spec.rb +520 -0
  500. data/spec/danrer7_spec.rb +810 -0
  501. data/spec/dp3_spec.rb +617 -0
  502. data/spec/droana2_spec.rb +500 -0
  503. data/spec/droere1_spec.rb +510 -0
  504. data/spec/drogri1_spec.rb +470 -0
  505. data/spec/dromoj2_spec.rb +510 -0
  506. data/spec/droper1_spec.rb +470 -0
  507. data/spec/drosec1_spec.rb +470 -0
  508. data/spec/drosim1_spec.rb +588 -0
  509. data/spec/drovir2_spec.rb +540 -0
  510. data/spec/droyak2_spec.rb +558 -0
  511. data/spec/equcab2_spec.rb +936 -0
  512. data/spec/felcat4_spec.rb +770 -0
  513. data/spec/fr2_spec.rb +835 -0
  514. data/spec/galgal3_spec.rb +1351 -0
  515. data/spec/gasacu1_spec.rb +924 -0
  516. data/spec/loxafr3_spec.rb +550 -0
  517. data/spec/mondom5_spec.rb +1230 -0
  518. data/spec/ornana1_spec.rb +980 -0
  519. data/spec/orycun2_spec.rb +770 -0
  520. data/spec/orylat2_spec.rb +930 -0
  521. data/spec/oviari1_spec.rb +670 -0
  522. data/spec/pantro3_spec.rb +810 -0
  523. data/spec/petmar1_spec.rb +770 -0
  524. data/spec/ponabe2_spec.rb +962 -0
  525. data/spec/pripac1_spec.rb +621 -0
  526. data/spec/rhemac2_spec.rb +958 -0
  527. data/spec/rn4_spec.rb +2038 -0
  528. data/spec/saccer2_spec.rb +925 -0
  529. data/spec/strpur2_spec.rb +600 -0
  530. data/spec/susscr2_spec.rb +623 -0
  531. data/spec/taegut1_spec.rb +768 -0
  532. data/spec/tetnig2_spec.rb +721 -0
  533. data/spec/xentro2_spec.rb +900 -0
  534. metadata +477 -23
@@ -2,54 +2,68 @@
2
2
 
3
3
  The Ruby UCSC API: accessing the UCSC Genome Database using Ruby.
4
4
 
5
+ Your comments, suggestions and requests are welcome. Documentation and
6
+ feedback are available at the UserEcho site at
7
+ http://rubyucscapi.userecho.com/.
8
+
9
+ == Features
10
+
11
+ * Supporting all organisms in the UCSC genome database.
12
+ * Using ActiveRecord as an O/R mapping framework. Basically, each tables can access using ActiveRecord methods.
13
+ * Using the Bin index system to improve query performance. This is one of the reason why you use Ruby UCSC API instead of submitting SQL queries directly.
14
+ * Supporting genomic sequence query using locally downloaded "2bit" files. Genomic sequences are not stored in UCSC's official MySQL database.
15
+ * Automatic conversion of "1-based full-closed intervals" to internal "0-based left-closed right-open intervals" (see also bioruby-genomic-interval)
16
+ * Supporting non-official MySql hosts (e.g. local servers)
17
+ * Using Rspec for the testing framework
18
+ * Designed as a BioRuby plugin
19
+ * Current version does not support tables linking to bigWIG or bigBED files.
20
+
21
+ == Supported databases (genome assemblies)
22
+ [human] Hg19, Hg18
23
+ [mammals] chimp (PanTro3), orangutan (PonAbe2), rhesus (RheMac2), marmoset (CalJac3), mouse (Mm9), rat (Rn4), guinea pig (CavPor3), rabbit (OryCun2), cat (FelCat4), panda (AilMel1), dog (CanFam2), horse (EquCab2), pig (SusScr2), sheep (OviAri1), cow (BosTau4), elephant (LoxAfr3), opossum (MonDom5), platypus (OrnAna1)
24
+ [vertebrates] chicken (GalGal3), zebra finch (TaeGut1), lizard (AnoCar2), X. tropicalis (XenTro2), zebrafish (DanRer7), tetraodon (TetNig2), fugu (Fr2), stickleback (GasAcu1), medaka (OryLat2), lamprey (PetMar1)
25
+ [deuterostomes] lancelet (BraFlo1), sea squirt (Ci2), sea urchin (StrPur2)
26
+ [insects] D.melanogaster (Dm3), D.simulans (DroSim1), D.sechellia (DroSec1), D.yakuba (DroYak2), D.erecta (DroEre1), D.ananassae (DroAna2), D.pseudoobscura (Dp3), D.persimilis (DroPer1), D.virilis (DroVir2), D.mojavensis (DroMoj2), D.grimshawi (DroGri1), Anopheles mosquito (AnoGam1), honey bee (ApiMel2)
27
+ [nematodes] C.elegans (Ce6), C.brenneri (CaePb3), C.briggsae (Cb3), C.remanei (CaeRem3), C.japonica (CarJap1), P.pacificus (PriPac1)
28
+ [others] sea hare (AplCal1), yeast (SacCer2)
29
+ [genome assembly independent] Go, HgFixed, Proteome, UniProt, VisiGene
30
+
31
+ == Implementation
5
32
  This package is based on the followings:
33
+
6
34
  * original ruby-ucsc-api: https://github.com/jandot/ruby-ucsc-api
7
35
  * ruby-ensembl-api: https://github.com/jandot/ruby-ensembl-api
8
36
 
9
37
  Major dependent gems:
38
+
10
39
  * active_record http://api.rubyonrails.org/classes/ActiveRecord/Base.html
11
40
  * bioruby-genomic-interval https://github.com/misshie/bioruby-genomic-interval
12
41
 
13
42
  Requirement:
43
+
14
44
  * Ruby version 1.9.2 or later
15
- * (To Do: supporting Ruby version 1.8.7)
45
+ * Ruby version 1.8.7 or later
46
+ * (To-Do: JRuby support)
16
47
 
17
- See also a paper:
48
+ See also:
18
49
 
19
- Strozzi F, Aerts J: A Ruby API to query the Ensembl database for genomic features.
50
+ * Strozzi F, Aerts J: A Ruby API to query the Ensembl database for genomic features.
20
51
  Bioinformatics 2011, 27:1013-1014.
21
-
22
- Your comments, suggestions and requests are welcome. Documentation and
23
- feedback are available at the UserEcho site at
24
- http://rubyucscapi.userecho.com/.
25
-
26
- == Features
27
-
28
- * Designed as a BioRuby plugin
29
- * Using ActiveRecord as an O/R mapping framework
30
- * Using the Bin index system to improve query performance (see https://github.com/misshie/UCSCBin )
31
- * Automatic conversion of "1-based full-closed intervals" to internal "0-based left-closed right-open intervals" (see also bioruby-genomic-interval)
32
- * Supporting non-official MySql hosts (e.g. local servers)
33
- * Using Rspec for the testing framework
34
- * Support hg19 and hg18 databases. Current version does not support tables containing only single records of the fileName columns linking to bigWIG or bigBED files.
35
-
36
- == Supporting Databases
37
- [human] Hg19, Hg18
38
- [mouse] Mm9
39
- [fruitfly] Dm3
40
- [C.Elegans] Ce6
41
- [genome assembly independent] Go, HgFixed, Proteome, UniProt, VisiGene,
42
-
52
+ * UCSCBin library - https://github.com/misshie/UCSCBin
53
+
43
54
  == Change Log
44
- * *UPDATE* (v0.2.0): Now table structures are automatically detected and dynamically defined as classes.
45
- * *UPDATE* (v0.2.0): Bio::Ucsc::Reference changed to more object-oriented.
55
+ * *NEW* (v.0.2.1): New genome assemblies are supported: [chimp] PanTro3, [orangutan] PonAbe2, [rhesus] RheMac2, [marmoset] CalJac3, [rat] Rn4, [guinea pig] CavPor3, [rabbit] OryCun2, [cat] FelCat4, [panda] AilMel1, [Dog] CanFam2, [horse] EquCab2, [pig] SusScr2, [sheep] OviAri1, [cow] BosTau4, [elephant] LoxAfr3, [opossum] MonDom5, [platypus] OrnAna1, [chicken] GalGal3, [zebra finch] TaeGut1, [lizard] AnoCar2, [X. tropicalis] XenTro2, [zebrafish] DanRer7, [tetraodon] TetNig2, [fugu] Fr2, [stickleback] GasAcu1, [medaka] OryLat2, [lamprey] PerMar1, [lancelet] BraFlo1, [sea squirt] Ci2, [sea urchin] StrPur2, [D.simulans] DroSim1, [D.sechellia] DroSec1, [D.yakuba] DroYak2, [D.electa] DroEre1, [D.ananassae] DroAna2, [D.pseudoobscura] Dp3, [D.persimilis] DroPer1, [D. virilis] DroVir2, [D.mojavensis] DroMoj2, [D.grimshawi] DroGri1, [Anopheles mosquito] AnoGam1, [honey bee] ApiMel2, [C.brenneri] CaePb3, [C.briggsae] Cb3, [C.remanei] CaeRem3, [P.pacificus] PriPac1, [sea hare] AplCal1, [yeast] SacCer2
56
+ * *NEW* (v.0.2.1): Supporting Ruby 1.8.7 or later
57
+ * *NEW* Adding to human Hg19 and Hg18, the following genome assemblies are supported: [mouse] Mm9, [fruitfly] Dm3, [C. elegans] Ce6, [genome assembly independent] Go, HgFixed, Proteome, UniProt, VisiGene
58
+ * *UPDATE* (v0.2.0): Internal table class mapping algorithm are changed. Now table types are automatically detected and dynamically defined as classes. Previous versions used static class definition for all tables.
59
+ * *MODIFIED* (v0.2.0): Bio::Ucsc::[Hg18|Hg19]::ReferenceSequence are removed. Use Bio::Ucsc::Reference instead. This class is more object-oriented.
46
60
  * *MODIFIED* (v0.1.0): The name of this library is now "Ruby UCSC API". The RubyGem name and the GitHub account and the library name are not changed.
47
61
  * *MODIFIED* (v0.1.0): Bio::Ucsc::[Hg18|Hg19]::Reference is replaced by Bio::Ucsc::[Hg18|Hg19]::ReferenceSequence.
48
62
  * *UPDATE* (v0.0.5): Almost all hg18 tables are supported.
49
63
  * *UPDATE* (v0.0.5): find_by_interval and find_all_by_interval class methods accept the "partial" option. Default is true. When "partial: false" is opted, return value will be only fully-included (non-partially-included) records.
50
64
  * *UPDATE* (v0.0.4): Almost all hg19 tables are supported. "filename" tables in ENCODE dataset are omitted. Each of them contains only single record of a path to the raw data file. Definitions of table relations are incomplete.
51
- * *NEW* (v0.0.3): Supporting locally-stored '2bit' files, which can be downloaded from the UCSC site, to retrieve referencial sequence. Now supporting unknown "N" nucleotide blocks, however, "mask-blocks", which are shown in lower-case in UCSC's DNA function, are not supported yet.
52
- * *MODIFIED* (v0.0.3): For the "TABLE" class and the "column" column, TABLE.find_by_column retrives a first record, and TABLE.find_all_by_column retrieves all the records as an Array.
65
+ * *NEW* (v0.0.3): Supporting locally-stored '2bit' files, which can be downloaded from the UCSC site, to retrieve referential sequence. Now supporting unknown "N" nucleotide blocks, however, "mask-blocks", which are shown in lower-case in UCSC's DNA function, are not supported yet.
66
+ * *MODIFIED* (v0.0.3): For the "TABLE" class and the "column" column, TABLE.find_by_column retrieves a first record, and TABLE.find_all_by_column retrieves all the records as an Array.
53
67
  * *NEW* (v0.0.3-0.0.4): Supporting tables divided into each chromosome, such as "*_RmsK" and "*_gold". Actual names of them are like "chr1_Rmsk", "chr2_Rmsk"... They can be accessed without chromosome names; but with just like "Rmsk" and "Gold".
54
68
 
55
69
  == Install
@@ -59,27 +73,35 @@ http://rubyucscapi.userecho.com/.
59
73
  You may need to be root or use "sudo". "--no-ri" and "--no-rdoc" options are recommended because generation of ri/rdoc files takes considerable time.
60
74
 
61
75
  == How to Use
62
-
76
+ === Basics
77
+ * A database of a genome assembly is represented as a module in the Bio::Ucsc module. For example, human hg19 database is referred by "Bio::Ucsc::Hg19".
78
+ * Before using a database, establish a connection to the database. For example, "Bio::Ucsc::Hg19::DBConnection.connect".
79
+ * A table in a database is represented as a class in the database module. For example, the snp132 table in the hg19 database is referred by "Bio::Ucsc::Hg19::Snp132".
80
+ * Queries to a field (column) in a table are represented by class methods of the table class. For example, finding the first record (row) of the snp132 table in the hg19 database is "Bio::Ucsc::Hg19::Snp132.first".
81
+ * Queries using genomic intervals are supported by .find_by_intervals (returns the first hit record) and .find_all_by (returns all the hit records) class methods. Each method accepts a Bio::GenomicInterval object containing a genomic interval such as "chr1:1233-5678". If a table to query has the "bin"column, the bin index system is automatically used to speed-up the query.
82
+ * Fields in a retrieved record can be acccessed by using instance methods of a record object. For example, the name field of a table record stored in the "result" variable is "result.name".
83
+
84
+ === Sample Codes
63
85
  require 'bio-ucsc'
64
86
 
65
87
  include Bio::Ucsc::Hg19
66
88
  DBConnection.connect
67
89
 
68
90
  # When using a table-class first time, refer the class using full-path.
69
- # If not, the API will fail to prefetch the table and define the appropreate class.
91
+ # If not, the API will fail to prefetch the table and define the appropriate class.
70
92
  # After that, you can refer the table class with a short name enabled by
71
- # top level "include" funtion
93
+ # top level "include" function
72
94
  Bio::Ucsc::Hg19::Snp131 # This line just refer the table class
73
95
 
74
- itv = Bio::GenomicInterval.parse("chr1:1-11,000")
75
- Snp131.find_all_by_interval(itv).each do |e|
96
+ gi = Bio::GenomicInterval.parse("chr1:1-11,000")
97
+ Snp131.find_all_by_interval(gi).each do |e|
76
98
  i = Bio::GenomicInterval.zero_based(e.chrom, e.chromStart, e.chromEnd)
77
99
  puts "#{i.chrom}\t#{i.chr_start}\t#{e.name}\t#{e[:class]}"
78
100
  end
79
101
 
80
- itv = Bio::GenomicInterval.parse("chr17:7,579,614-7,579,700")
81
- p Snp131.find_all_by_interval(itv)
82
- p Snp131.find_all_by_interval(itv, partial:false)
102
+ gi = Bio::GenomicInterval.parse("chr17:7,579,614-7,579,700")
103
+ p Snp131.find_all_by_interval(gi)
104
+ p Snp131.find_all_by_interval(gi, partial:false)
83
105
 
84
106
  p Snp131.find_by_name("rs56289060")
85
107
 
@@ -93,14 +115,9 @@ You may need to be root or use "sudo". "--no-ri" and "--no-rdoc" options are rec
93
115
  p Snp131.find_by_sql(sql)
94
116
 
95
117
  # retrieve reference sequence from a locally-stored 2bit file
96
-
97
- # Obsolete
98
- # ReferenceSequence.load("hg19.2bit")
99
- # itv = Bio::GenomicInterval.parse("chr1:9,500-10,999")
100
- # p ReferenceSequence.find_by_interval(itv)
101
- hg19ref = Bio::Ucsc:Reference.load("hg19.2bit")
102
- itv = Bio::GenomicInterval.parse("chr1:9,500-10,999")
103
- hg19ref.find_by_interval(itv)
118
+ hg19ref = Bio::Ucsc::Reference.load("hg19.2bit")
119
+ gi = Bio::GenomicInterval.parse("chr1:9,500-10,999")
120
+ hg19ref.find_by_interval(gi)
104
121
 
105
122
  # Connetcting to non-official or local mirror MySQL servers
106
123
  DBConnection.db_host = 'foo.example.edu'
@@ -111,9 +128,24 @@ You may need to be root or use "sudo". "--no-ri" and "--no-rdoc" options are rec
111
128
  DBConnection.default # reset to connect UCSC's public MySQL sever
112
129
  DBConnection.connect
113
130
 
131
+ === Notes of Exceptions in Table Support
132
+ * Table names starting with a number: Because Ruby class names cannot start with number, use the table class name starting with "T" (T for Table). Thus, the "2micron_est" table is supported by the "T2micron_est" class.
133
+ * Table names starting with uppercase character: Classes for "HInv" and "NIAGene" tables are "HInv" and "NIAGene", respectively
134
+ * Tables separated into each chromosome, like 'chr1_rmsk', 'chr2_rmsk'... are supported by a representative class ('Rmsk'). When using the find(_all)_by_interval class method, the API invoke required separated tables automatically.
135
+ * For honey bee ApiMel2 database, Group*_chainDm2 and Group*_chainDm2Link tables are accessible using find(_all)_by_interval class methods of the ChainDm2 and ChainDm2Link classes.
136
+ * Special field (column) names: Field names such as 'attribute', 'valid', 'validate', 'class', 'method', 'methods', and 'type' cannot be accessed using instance methods. This restriction is because of the collision of method names that are internally used by ActiveRecord. Instead, use hash to access the field like "result[:type]".
137
+
138
+ === details in "find_(all_)by_intervals"
139
+ * When a table class is referred first time, the API prefetches the table to get a list of fields and dynamically defines a class using following algorithm.
140
+ * If chrom/chromStart/chromEnd fields exist (BED table), the API uses them for interval queries.
141
+ * When tName/tStart/tEnd fields exist (PSL table), the API uses them for interval queries.
142
+ * When chrom/txStart/txEnd fields exist (genePred table), the API uses them for interval queries.
143
+ * When genoName/genoStart/genoEnd fields exist (RMSK table), the API uses them for interval queries.
144
+ * If the table has the "bin" column, the API calculate bin index to build a query.
145
+ * Otherwise, the API does not support interval queries but support only ActiveRecord's standard methods such as "find_(all_)by_[field name]".
146
+
114
147
  == Copyright
115
148
  Copyright:: (c) 2011 MISHIMA, Hiroyuki (missy at be.to / hmishima at nagasaki-u.ac.jp / @mishimahryk in Twitter)
116
149
  Copyright:: (c) 2010 Jan Aerts
117
150
 
118
- License:: Ruby license (Ruby's / GPLv2 dual). See COPYING and COPYING.ja for further details.
119
-
151
+ License:: Ruby license (Ruby's / GPLv2 dual). See COPYING and COPYING.ja for further details.
data/Rakefile CHANGED
@@ -47,8 +47,10 @@ end
47
47
 
48
48
  task :default => :spec
49
49
 
50
- require 'rake/rdoctask'
51
- Rake::RDocTask.new do |rdoc|
50
+ # require 'rake/rdoctask'
51
+ require 'rdoc/task'
52
+ # Rake::RDocTask.new do |rdoc|
53
+ RDoc::Task.new do |rdoc|
52
54
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
53
55
 
54
56
  rdoc.rdoc_dir = 'rdoc'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bio-ucsc-api}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Hiroyuki Mishima}, %q{Jan Aerts}]
12
- s.date = %q{2011-08-08}
12
+ s.date = %q{2011-08-14}
13
13
  s.description = %q{Ruby UCSC API: accessing the UCSC Genome Database using Ruby}
14
14
  s.email = %q{missy@be.to}
15
15
  s.extra_rdoc_files = [
@@ -26,6 +26,105 @@ Gem::Specification.new do |s|
26
26
  "bio-ucsc-api.gemspec",
27
27
  "lib/bio-ucsc-api.rb",
28
28
  "lib/bio-ucsc.rb",
29
+ "lib/bio-ucsc/ailmel1.rb",
30
+ "lib/bio-ucsc/ailmel1/db_connection.rb",
31
+ "lib/bio-ucsc/anocar2.rb",
32
+ "lib/bio-ucsc/anocar2/db_connection.rb",
33
+ "lib/bio-ucsc/anogam1.rb",
34
+ "lib/bio-ucsc/anogam1/chaindm3.rb",
35
+ "lib/bio-ucsc/anogam1/chaindm3link.rb",
36
+ "lib/bio-ucsc/anogam1/db_connection.rb",
37
+ "lib/bio-ucsc/anogam1/est.rb",
38
+ "lib/bio-ucsc/anogam1/gap.rb",
39
+ "lib/bio-ucsc/anogam1/gold.rb",
40
+ "lib/bio-ucsc/anogam1/intronest.rb",
41
+ "lib/bio-ucsc/anogam1/mrna.rb",
42
+ "lib/bio-ucsc/anogam1/rmsk.rb",
43
+ "lib/bio-ucsc/apimel2.rb",
44
+ "lib/bio-ucsc/apimel2/chaindm2.rb",
45
+ "lib/bio-ucsc/apimel2/chaindm2link.rb",
46
+ "lib/bio-ucsc/apimel2/db_connection.rb",
47
+ "lib/bio-ucsc/aplcal1.rb",
48
+ "lib/bio-ucsc/aplcal1/chaincaepb1.rb",
49
+ "lib/bio-ucsc/aplcal1/chaincaepb1link.rb",
50
+ "lib/bio-ucsc/aplcal1/chaincaerem2.rb",
51
+ "lib/bio-ucsc/aplcal1/chaincaerem2link.rb",
52
+ "lib/bio-ucsc/aplcal1/chaincb3.rb",
53
+ "lib/bio-ucsc/aplcal1/chaincb3link.rb",
54
+ "lib/bio-ucsc/aplcal1/chaince6.rb",
55
+ "lib/bio-ucsc/aplcal1/chaince6link.rb",
56
+ "lib/bio-ucsc/aplcal1/db_connection.rb",
57
+ "lib/bio-ucsc/aplcal1/gap.rb",
58
+ "lib/bio-ucsc/aplcal1/gold.rb",
59
+ "lib/bio-ucsc/aplcal1/rmsk.rb",
60
+ "lib/bio-ucsc/bostau4.rb",
61
+ "lib/bio-ucsc/bostau4/db_connection.rb",
62
+ "lib/bio-ucsc/braflo1.rb",
63
+ "lib/bio-ucsc/braflo1/chaingalgal3.rb",
64
+ "lib/bio-ucsc/braflo1/chaingalgal3link.rb",
65
+ "lib/bio-ucsc/braflo1/chainhg18.rb",
66
+ "lib/bio-ucsc/braflo1/chainhg18link.rb",
67
+ "lib/bio-ucsc/braflo1/chainmm9.rb",
68
+ "lib/bio-ucsc/braflo1/chainmm9link.rb",
69
+ "lib/bio-ucsc/braflo1/chainpetmar1.rb",
70
+ "lib/bio-ucsc/braflo1/chainpetmar1link.rb",
71
+ "lib/bio-ucsc/braflo1/db_connection.rb",
72
+ "lib/bio-ucsc/braflo1/gap.rb",
73
+ "lib/bio-ucsc/braflo1/gold.rb",
74
+ "lib/bio-ucsc/caejap1.rb",
75
+ "lib/bio-ucsc/caejap1/chaince6.rb",
76
+ "lib/bio-ucsc/caejap1/chaince6link.rb",
77
+ "lib/bio-ucsc/caejap1/db_connection.rb",
78
+ "lib/bio-ucsc/caejap1/gap.rb",
79
+ "lib/bio-ucsc/caejap1/gold.rb",
80
+ "lib/bio-ucsc/caepb2.rb",
81
+ "lib/bio-ucsc/caepb2/chaince6.rb",
82
+ "lib/bio-ucsc/caepb2/chaince6link.rb",
83
+ "lib/bio-ucsc/caepb2/db_connection.rb",
84
+ "lib/bio-ucsc/caepb2/gap.rb",
85
+ "lib/bio-ucsc/caepb2/gold.rb",
86
+ "lib/bio-ucsc/caerem3.rb",
87
+ "lib/bio-ucsc/caerem3/chaince6.rb",
88
+ "lib/bio-ucsc/caerem3/chaince6link.rb",
89
+ "lib/bio-ucsc/caerem3/db_connection.rb",
90
+ "lib/bio-ucsc/caerem3/gap.rb",
91
+ "lib/bio-ucsc/caerem3/gold.rb",
92
+ "lib/bio-ucsc/caljac3.rb",
93
+ "lib/bio-ucsc/caljac3/db_connection.rb",
94
+ "lib/bio-ucsc/canfam2.rb",
95
+ "lib/bio-ucsc/canfam2/chainbostau4.rb",
96
+ "lib/bio-ucsc/canfam2/chainbostau4link.rb",
97
+ "lib/bio-ucsc/canfam2/chainmm9.rb",
98
+ "lib/bio-ucsc/canfam2/chainmm9link.rb",
99
+ "lib/bio-ucsc/canfam2/chainrn4.rb",
100
+ "lib/bio-ucsc/canfam2/chainrn4link.rb",
101
+ "lib/bio-ucsc/canfam2/chainself.rb",
102
+ "lib/bio-ucsc/canfam2/chainselflink.rb",
103
+ "lib/bio-ucsc/canfam2/db_connection.rb",
104
+ "lib/bio-ucsc/canfam2/est.rb",
105
+ "lib/bio-ucsc/canfam2/gap.rb",
106
+ "lib/bio-ucsc/canfam2/gold.rb",
107
+ "lib/bio-ucsc/canfam2/intronest.rb",
108
+ "lib/bio-ucsc/canfam2/mrna.rb",
109
+ "lib/bio-ucsc/canfam2/rmsk.rb",
110
+ "lib/bio-ucsc/cavpor3.rb",
111
+ "lib/bio-ucsc/cavpor3/db_connection.rb",
112
+ "lib/bio-ucsc/cb3.rb",
113
+ "lib/bio-ucsc/cb3/chaincaepb1.rb",
114
+ "lib/bio-ucsc/cb3/chaincaepb1link.rb",
115
+ "lib/bio-ucsc/cb3/chaincaerem2.rb",
116
+ "lib/bio-ucsc/cb3/chaincaerem2link.rb",
117
+ "lib/bio-ucsc/cb3/chaince6.rb",
118
+ "lib/bio-ucsc/cb3/chaince6link.rb",
119
+ "lib/bio-ucsc/cb3/chainpripac1.rb",
120
+ "lib/bio-ucsc/cb3/chainpripac1link.rb",
121
+ "lib/bio-ucsc/cb3/db_connection.rb",
122
+ "lib/bio-ucsc/cb3/est.rb",
123
+ "lib/bio-ucsc/cb3/gap.rb",
124
+ "lib/bio-ucsc/cb3/gold.rb",
125
+ "lib/bio-ucsc/cb3/intronest.rb",
126
+ "lib/bio-ucsc/cb3/mrna.rb",
127
+ "lib/bio-ucsc/cb3/rmsk.rb",
29
128
  "lib/bio-ucsc/ce6.rb",
30
129
  "lib/bio-ucsc/ce6/chaincaejap1.rb",
31
130
  "lib/bio-ucsc/ce6/chaincaejap1link.rb",
@@ -47,6 +146,10 @@ Gem::Specification.new do |s|
47
146
  "lib/bio-ucsc/ce6/mrna.rb",
48
147
  "lib/bio-ucsc/ce6/rmsk.rb",
49
148
  "lib/bio-ucsc/ce6/t25mersrepeats.rb",
149
+ "lib/bio-ucsc/ci2.rb",
150
+ "lib/bio-ucsc/ci2/db_connection.rb",
151
+ "lib/bio-ucsc/danrer7.rb",
152
+ "lib/bio-ucsc/danrer7/db_connection.rb",
50
153
  "lib/bio-ucsc/dm3.rb",
51
154
  "lib/bio-ucsc/dm3/chainanogam1.rb",
52
155
  "lib/bio-ucsc/dm3/chainanogam1link.rb",
@@ -73,6 +176,124 @@ Gem::Specification.new do |s|
73
176
  "lib/bio-ucsc/dm3/intronest.rb",
74
177
  "lib/bio-ucsc/dm3/mrna.rb",
75
178
  "lib/bio-ucsc/dm3/rmsk.rb",
179
+ "lib/bio-ucsc/dp3.rb",
180
+ "lib/bio-ucsc/dp3/chaindm3.rb",
181
+ "lib/bio-ucsc/dp3/chaindm3link.rb",
182
+ "lib/bio-ucsc/dp3/db_connection.rb",
183
+ "lib/bio-ucsc/dp3/est.rb",
184
+ "lib/bio-ucsc/dp3/gap.rb",
185
+ "lib/bio-ucsc/dp3/gold.rb",
186
+ "lib/bio-ucsc/dp3/intronest.rb",
187
+ "lib/bio-ucsc/dp3/mrna.rb",
188
+ "lib/bio-ucsc/dp3/rmsk.rb",
189
+ "lib/bio-ucsc/droana2.rb",
190
+ "lib/bio-ucsc/droana2/db_connection.rb",
191
+ "lib/bio-ucsc/droere1.rb",
192
+ "lib/bio-ucsc/droere1/db_connection.rb",
193
+ "lib/bio-ucsc/drogri1.rb",
194
+ "lib/bio-ucsc/drogri1/db_connection.rb",
195
+ "lib/bio-ucsc/dromoj2.rb",
196
+ "lib/bio-ucsc/dromoj2/db_connection.rb",
197
+ "lib/bio-ucsc/droper1.rb",
198
+ "lib/bio-ucsc/droper1/db_connection.rb",
199
+ "lib/bio-ucsc/drosec1.rb",
200
+ "lib/bio-ucsc/drosec1/db_connection.rb",
201
+ "lib/bio-ucsc/drosim1.rb",
202
+ "lib/bio-ucsc/drosim1/chaindm3.rb",
203
+ "lib/bio-ucsc/drosim1/chaindm3link.rb",
204
+ "lib/bio-ucsc/drosim1/db_connection.rb",
205
+ "lib/bio-ucsc/drosim1/est.rb",
206
+ "lib/bio-ucsc/drosim1/gap.rb",
207
+ "lib/bio-ucsc/drosim1/gold.rb",
208
+ "lib/bio-ucsc/drosim1/intronest.rb",
209
+ "lib/bio-ucsc/drosim1/mrna.rb",
210
+ "lib/bio-ucsc/drosim1/rmsk.rb",
211
+ "lib/bio-ucsc/drovir2.rb",
212
+ "lib/bio-ucsc/drovir2/db_connection.rb",
213
+ "lib/bio-ucsc/droyak2.rb",
214
+ "lib/bio-ucsc/droyak2/chaindm3.rb",
215
+ "lib/bio-ucsc/droyak2/chaindm3link.rb",
216
+ "lib/bio-ucsc/droyak2/db_connection.rb",
217
+ "lib/bio-ucsc/droyak2/est.rb",
218
+ "lib/bio-ucsc/droyak2/gap.rb",
219
+ "lib/bio-ucsc/droyak2/gold.rb",
220
+ "lib/bio-ucsc/droyak2/intronest.rb",
221
+ "lib/bio-ucsc/droyak2/mrna.rb",
222
+ "lib/bio-ucsc/droyak2/rmsk.rb",
223
+ "lib/bio-ucsc/equcab2.rb",
224
+ "lib/bio-ucsc/equcab2/db_connection.rb",
225
+ "lib/bio-ucsc/equcab2/est.rb",
226
+ "lib/bio-ucsc/equcab2/gap.rb",
227
+ "lib/bio-ucsc/equcab2/gold.rb",
228
+ "lib/bio-ucsc/equcab2/intronest.rb",
229
+ "lib/bio-ucsc/equcab2/mrna.rb",
230
+ "lib/bio-ucsc/equcab2/rmsk.rb",
231
+ "lib/bio-ucsc/felcat4.rb",
232
+ "lib/bio-ucsc/felcat4/db_connection.rb",
233
+ "lib/bio-ucsc/fr2.rb",
234
+ "lib/bio-ucsc/fr2/chaingalgal3.rb",
235
+ "lib/bio-ucsc/fr2/chaingalgal3link.rb",
236
+ "lib/bio-ucsc/fr2/chaingasacu1.rb",
237
+ "lib/bio-ucsc/fr2/chaingasacu1link.rb",
238
+ "lib/bio-ucsc/fr2/chainmm9.rb",
239
+ "lib/bio-ucsc/fr2/chainmm9link.rb",
240
+ "lib/bio-ucsc/fr2/chainorylat2.rb",
241
+ "lib/bio-ucsc/fr2/chainorylat2link.rb",
242
+ "lib/bio-ucsc/fr2/db_connection.rb",
243
+ "lib/bio-ucsc/fr2/est.rb",
244
+ "lib/bio-ucsc/fr2/gap.rb",
245
+ "lib/bio-ucsc/fr2/gold.rb",
246
+ "lib/bio-ucsc/fr2/intronest.rb",
247
+ "lib/bio-ucsc/fr2/mrna.rb",
248
+ "lib/bio-ucsc/fr2/rmsk.rb",
249
+ "lib/bio-ucsc/galgal3.rb",
250
+ "lib/bio-ucsc/galgal3/chainanocar1.rb",
251
+ "lib/bio-ucsc/galgal3/chainanocar1link.rb",
252
+ "lib/bio-ucsc/galgal3/chainbraflo1.rb",
253
+ "lib/bio-ucsc/galgal3/chainbraflo1link.rb",
254
+ "lib/bio-ucsc/galgal3/chaincavpor3.rb",
255
+ "lib/bio-ucsc/galgal3/chaincavpor3link.rb",
256
+ "lib/bio-ucsc/galgal3/chaindanrer4.rb",
257
+ "lib/bio-ucsc/galgal3/chaindanrer4link.rb",
258
+ "lib/bio-ucsc/galgal3/chainfr2.rb",
259
+ "lib/bio-ucsc/galgal3/chainfr2link.rb",
260
+ "lib/bio-ucsc/galgal3/chaingasacu1.rb",
261
+ "lib/bio-ucsc/galgal3/chaingasacu1link.rb",
262
+ "lib/bio-ucsc/galgal3/chainmm9.rb",
263
+ "lib/bio-ucsc/galgal3/chainmm9link.rb",
264
+ "lib/bio-ucsc/galgal3/chainornana1.rb",
265
+ "lib/bio-ucsc/galgal3/chainornana1link.rb",
266
+ "lib/bio-ucsc/galgal3/chainpetmar1.rb",
267
+ "lib/bio-ucsc/galgal3/chainpetmar1link.rb",
268
+ "lib/bio-ucsc/galgal3/chainrn4.rb",
269
+ "lib/bio-ucsc/galgal3/chainrn4link.rb",
270
+ "lib/bio-ucsc/galgal3/chaintaegut1.rb",
271
+ "lib/bio-ucsc/galgal3/chaintaegut1link.rb",
272
+ "lib/bio-ucsc/galgal3/chainxentro2.rb",
273
+ "lib/bio-ucsc/galgal3/chainxentro2link.rb",
274
+ "lib/bio-ucsc/galgal3/db_connection.rb",
275
+ "lib/bio-ucsc/galgal3/est.rb",
276
+ "lib/bio-ucsc/galgal3/gap.rb",
277
+ "lib/bio-ucsc/galgal3/gold.rb",
278
+ "lib/bio-ucsc/galgal3/intronest.rb",
279
+ "lib/bio-ucsc/galgal3/mrna.rb",
280
+ "lib/bio-ucsc/galgal3/rmsk.rb",
281
+ "lib/bio-ucsc/gasacu1.rb",
282
+ "lib/bio-ucsc/gasacu1/chainanocar1.rb",
283
+ "lib/bio-ucsc/gasacu1/chainanocar1link.rb",
284
+ "lib/bio-ucsc/gasacu1/chainfr2.rb",
285
+ "lib/bio-ucsc/gasacu1/chainfr2link.rb",
286
+ "lib/bio-ucsc/gasacu1/chaingalgal3.rb",
287
+ "lib/bio-ucsc/gasacu1/chaingalgal3link.rb",
288
+ "lib/bio-ucsc/gasacu1/chainmm9.rb",
289
+ "lib/bio-ucsc/gasacu1/chainmm9link.rb",
290
+ "lib/bio-ucsc/gasacu1/chainorylat2.rb",
291
+ "lib/bio-ucsc/gasacu1/chainorylat2link.rb",
292
+ "lib/bio-ucsc/gasacu1/db_connection.rb",
293
+ "lib/bio-ucsc/gasacu1/est.rb",
294
+ "lib/bio-ucsc/gasacu1/intronest.rb",
295
+ "lib/bio-ucsc/gasacu1/mrna.rb",
296
+ "lib/bio-ucsc/gasacu1/rmsk.rb",
76
297
  "lib/bio-ucsc/go.rb",
77
298
  "lib/bio-ucsc/go/db_connection.rb",
78
299
  "lib/bio-ucsc/hg18.rb",
@@ -114,6 +335,8 @@ Gem::Specification.new do |s|
114
335
  "lib/bio-ucsc/hg19/gbcdnainfo.rb",
115
336
  "lib/bio-ucsc/hgfixed.rb",
116
337
  "lib/bio-ucsc/hgfixed/db_connection.rb",
338
+ "lib/bio-ucsc/loxafr3.rb",
339
+ "lib/bio-ucsc/loxafr3/db_connection.rb",
117
340
  "lib/bio-ucsc/mm9.rb",
118
341
  "lib/bio-ucsc/mm9/chainanocar1.rb",
119
342
  "lib/bio-ucsc/mm9/chainanocar1link.rb",
@@ -154,15 +377,148 @@ Gem::Specification.new do |s|
154
377
  "lib/bio-ucsc/mm9/intronest.rb",
155
378
  "lib/bio-ucsc/mm9/mrna.rb",
156
379
  "lib/bio-ucsc/mm9/rmsk.rb",
380
+ "lib/bio-ucsc/mondom5.rb",
381
+ "lib/bio-ucsc/mondom5/db_connection.rb",
382
+ "lib/bio-ucsc/ornana1.rb",
383
+ "lib/bio-ucsc/ornana1/db_connection.rb",
384
+ "lib/bio-ucsc/orycun2.rb",
385
+ "lib/bio-ucsc/orycun2/db_connection.rb",
386
+ "lib/bio-ucsc/orylat2.rb",
387
+ "lib/bio-ucsc/orylat2/db_connection.rb",
388
+ "lib/bio-ucsc/oviari1.rb",
389
+ "lib/bio-ucsc/oviari1/db_connection.rb",
390
+ "lib/bio-ucsc/pantro3.rb",
391
+ "lib/bio-ucsc/pantro3/db_connection.rb",
392
+ "lib/bio-ucsc/petmar1.rb",
393
+ "lib/bio-ucsc/petmar1/db_connection.rb",
394
+ "lib/bio-ucsc/ponabe2.rb",
395
+ "lib/bio-ucsc/ponabe2/chainmm9.rb",
396
+ "lib/bio-ucsc/ponabe2/chainmm9link.rb",
397
+ "lib/bio-ucsc/ponabe2/chainornana1.rb",
398
+ "lib/bio-ucsc/ponabe2/chainornana1link.rb",
399
+ "lib/bio-ucsc/ponabe2/chainrhemac2.rb",
400
+ "lib/bio-ucsc/ponabe2/chainrhemac2link.rb",
401
+ "lib/bio-ucsc/ponabe2/db_connection.rb",
402
+ "lib/bio-ucsc/ponabe2/est.rb",
403
+ "lib/bio-ucsc/ponabe2/gap.rb",
404
+ "lib/bio-ucsc/ponabe2/gold.rb",
405
+ "lib/bio-ucsc/ponabe2/intronest.rb",
406
+ "lib/bio-ucsc/ponabe2/mrna.rb",
407
+ "lib/bio-ucsc/ponabe2/rmsk.rb",
408
+ "lib/bio-ucsc/pripac1.rb",
409
+ "lib/bio-ucsc/pripac1/chaincaepb1.rb",
410
+ "lib/bio-ucsc/pripac1/chaincaepb1link.rb",
411
+ "lib/bio-ucsc/pripac1/chaincaerem2.rb",
412
+ "lib/bio-ucsc/pripac1/chaincaerem2link.rb",
413
+ "lib/bio-ucsc/pripac1/chaincb3.rb",
414
+ "lib/bio-ucsc/pripac1/chaincb3link.rb",
415
+ "lib/bio-ucsc/pripac1/chaince6.rb",
416
+ "lib/bio-ucsc/pripac1/chaince6link.rb",
417
+ "lib/bio-ucsc/pripac1/db_connection.rb",
418
+ "lib/bio-ucsc/pripac1/gap.rb",
419
+ "lib/bio-ucsc/pripac1/gold.rb",
420
+ "lib/bio-ucsc/pripac1/rmsk.rb",
157
421
  "lib/bio-ucsc/proteome.rb",
158
422
  "lib/bio-ucsc/proteome/db_connection.rb",
159
423
  "lib/bio-ucsc/reference.rb",
424
+ "lib/bio-ucsc/rhemac2.rb",
425
+ "lib/bio-ucsc/rhemac2/chainmm9.rb",
426
+ "lib/bio-ucsc/rhemac2/chainmm9link.rb",
427
+ "lib/bio-ucsc/rhemac2/chainpantro2.rb",
428
+ "lib/bio-ucsc/rhemac2/chainpantro2link.rb",
429
+ "lib/bio-ucsc/rhemac2/chainponabe2.rb",
430
+ "lib/bio-ucsc/rhemac2/chainponabe2link.rb",
431
+ "lib/bio-ucsc/rhemac2/chainrn4.rb",
432
+ "lib/bio-ucsc/rhemac2/chainrn4link.rb",
433
+ "lib/bio-ucsc/rhemac2/db_connection.rb",
434
+ "lib/bio-ucsc/rn4.rb",
435
+ "lib/bio-ucsc/rn4/chainbostau3.rb",
436
+ "lib/bio-ucsc/rn4/chainbostau3link.rb",
437
+ "lib/bio-ucsc/rn4/chaincanfam2.rb",
438
+ "lib/bio-ucsc/rn4/chaincanfam2link.rb",
439
+ "lib/bio-ucsc/rn4/chaincavpor3.rb",
440
+ "lib/bio-ucsc/rn4/chaincavpor3link.rb",
441
+ "lib/bio-ucsc/rn4/chaindanrer4.rb",
442
+ "lib/bio-ucsc/rn4/chaindanrer4link.rb",
443
+ "lib/bio-ucsc/rn4/chainequcab1.rb",
444
+ "lib/bio-ucsc/rn4/chainequcab1link.rb",
445
+ "lib/bio-ucsc/rn4/chaingalgal3.rb",
446
+ "lib/bio-ucsc/rn4/chaingalgal3link.rb",
447
+ "lib/bio-ucsc/rn4/chainmm9.rb",
448
+ "lib/bio-ucsc/rn4/chainmm9link.rb",
449
+ "lib/bio-ucsc/rn4/chainmondom4.rb",
450
+ "lib/bio-ucsc/rn4/chainmondom4link.rb",
451
+ "lib/bio-ucsc/rn4/chainpantro2.rb",
452
+ "lib/bio-ucsc/rn4/chainpantro2link.rb",
453
+ "lib/bio-ucsc/rn4/chainrhemac2.rb",
454
+ "lib/bio-ucsc/rn4/chainrhemac2link.rb",
455
+ "lib/bio-ucsc/rn4/chainxentro2.rb",
456
+ "lib/bio-ucsc/rn4/chainxentro2link.rb",
457
+ "lib/bio-ucsc/rn4/db_connection.rb",
458
+ "lib/bio-ucsc/rn4/est.rb",
459
+ "lib/bio-ucsc/rn4/gap.rb",
460
+ "lib/bio-ucsc/rn4/gold.rb",
461
+ "lib/bio-ucsc/rn4/intronest.rb",
462
+ "lib/bio-ucsc/rn4/mrna.rb",
463
+ "lib/bio-ucsc/rn4/rmsk.rb",
464
+ "lib/bio-ucsc/saccer2.rb",
465
+ "lib/bio-ucsc/saccer2/db_connection.rb",
466
+ "lib/bio-ucsc/saccer2/est.rb",
467
+ "lib/bio-ucsc/saccer2/gap.rb",
468
+ "lib/bio-ucsc/saccer2/gold.rb",
469
+ "lib/bio-ucsc/saccer2/intronest.rb",
470
+ "lib/bio-ucsc/saccer2/mrna.rb",
471
+ "lib/bio-ucsc/saccer2/t2micron_est.rb",
472
+ "lib/bio-ucsc/saccer2/t2micron_gap.rb",
473
+ "lib/bio-ucsc/saccer2/t2micron_gold.rb",
474
+ "lib/bio-ucsc/saccer2/t2micron_intronEst.rb",
475
+ "lib/bio-ucsc/saccer2/t2micron_mrna.rb",
476
+ "lib/bio-ucsc/strpur2.rb",
477
+ "lib/bio-ucsc/strpur2/chaingalgal3.rb",
478
+ "lib/bio-ucsc/strpur2/chaingalgal3link.rb",
479
+ "lib/bio-ucsc/strpur2/chainhg18.rb",
480
+ "lib/bio-ucsc/strpur2/chainhg18link.rb",
481
+ "lib/bio-ucsc/strpur2/chainmm9.rb",
482
+ "lib/bio-ucsc/strpur2/chainmm9link.rb",
483
+ "lib/bio-ucsc/strpur2/chainpetmar1.rb",
484
+ "lib/bio-ucsc/strpur2/chainpetmar1link.rb",
485
+ "lib/bio-ucsc/strpur2/db_connection.rb",
486
+ "lib/bio-ucsc/strpur2/gap.rb",
487
+ "lib/bio-ucsc/strpur2/gold.rb",
488
+ "lib/bio-ucsc/susscr2.rb",
489
+ "lib/bio-ucsc/susscr2/db_connection.rb",
490
+ "lib/bio-ucsc/susscr2/est.rb",
491
+ "lib/bio-ucsc/susscr2/intronest.rb",
492
+ "lib/bio-ucsc/susscr2/mrna.rb",
160
493
  "lib/bio-ucsc/table_class_detector.rb",
494
+ "lib/bio-ucsc/taegut1.rb",
495
+ "lib/bio-ucsc/taegut1/chaingalgal3.rb",
496
+ "lib/bio-ucsc/taegut1/chaingalgal3link.rb",
497
+ "lib/bio-ucsc/taegut1/db_connection.rb",
498
+ "lib/bio-ucsc/taegut1/est.rb",
499
+ "lib/bio-ucsc/taegut1/gap.rb",
500
+ "lib/bio-ucsc/taegut1/gold.rb",
501
+ "lib/bio-ucsc/taegut1/intronest.rb",
502
+ "lib/bio-ucsc/taegut1/mrna.rb",
503
+ "lib/bio-ucsc/taegut1/rmsk.rb",
504
+ "lib/bio-ucsc/tetnig2.rb",
505
+ "lib/bio-ucsc/tetnig2/db_connection.rb",
506
+ "lib/bio-ucsc/tetnig2/mrna.rb",
161
507
  "lib/bio-ucsc/ucsc_bin.rb",
162
508
  "lib/bio-ucsc/uniprot.rb",
163
509
  "lib/bio-ucsc/uniprot/db_connection.rb",
164
510
  "lib/bio-ucsc/visigene.rb",
165
511
  "lib/bio-ucsc/visigene/db_connection.rb",
512
+ "lib/bio-ucsc/xentro2.rb",
513
+ "lib/bio-ucsc/xentro2/chaingalgal3.rb",
514
+ "lib/bio-ucsc/xentro2/chaingalgal3link.rb",
515
+ "lib/bio-ucsc/xentro2/db_connection.rb",
516
+ "lib/bio-ucsc/xentro2/est.rb",
517
+ "lib/bio-ucsc/xentro2/gap.rb",
518
+ "lib/bio-ucsc/xentro2/gold.rb",
519
+ "lib/bio-ucsc/xentro2/intronest.rb",
520
+ "lib/bio-ucsc/xentro2/mrna.rb",
521
+ "lib/bio-ucsc/xentro2/rmsk.rb",
166
522
  "samples/bed2refseq.rb",
167
523
  "samples/hg19-2bit-retrieve.rb",
168
524
  "samples/hg19-sample.rb",
@@ -175,8 +531,39 @@ Gem::Specification.new do |s|
175
531
  s.rubygems_version = %q{1.8.6}
176
532
  s.summary = %q{The Ruby UCSC API: accessing the UCSC Genome Database using Ruby}
177
533
  s.test_files = [
534
+ "spec/ailmel1_spec.rb",
535
+ "spec/anocar2_spec.rb",
536
+ "spec/anogam1_spec.rb",
537
+ "spec/apimel2_spec.rb",
538
+ "spec/aplcal1_spec.rb",
539
+ "spec/bostau4_spec.rb",
540
+ "spec/braflo1_spec.rb",
541
+ "spec/caejap1_spec.rb",
542
+ "spec/caepb2_spec.rb",
543
+ "spec/caerem3_spec.rb",
544
+ "spec/caljac3_spec.rb",
545
+ "spec/canfam2_spec.rb",
546
+ "spec/cavpor3_spec.rb",
547
+ "spec/cb3_spec.rb",
178
548
  "spec/ce6_spec.rb",
549
+ "spec/ci2_spec.rb",
550
+ "spec/danrer7_spec.rb",
179
551
  "spec/dm3_spec.rb",
552
+ "spec/dp3_spec.rb",
553
+ "spec/droana2_spec.rb",
554
+ "spec/droere1_spec.rb",
555
+ "spec/drogri1_spec.rb",
556
+ "spec/dromoj2_spec.rb",
557
+ "spec/droper1_spec.rb",
558
+ "spec/drosec1_spec.rb",
559
+ "spec/drosim1_spec.rb",
560
+ "spec/drovir2_spec.rb",
561
+ "spec/droyak2_spec.rb",
562
+ "spec/equcab2_spec.rb",
563
+ "spec/felcat4_spec.rb",
564
+ "spec/fr2_spec.rb",
565
+ "spec/galgal3_spec.rb",
566
+ "spec/gasacu1_spec.rb",
180
567
  "spec/go_spec.rb",
181
568
  "spec/hg18/acembly_spec.rb",
182
569
  "spec/hg18/acemblyclass_spec.rb",
@@ -5059,12 +5446,30 @@ Gem::Specification.new do |s|
5059
5446
  "spec/hgFixed/hgfixed_transmapsrcsplicedest_spec.rb",
5060
5447
  "spec/hgFixed/hgfixed_transmapsrcucscgenes_spec.rb",
5061
5448
  "spec/hgfixed_spec.rb",
5449
+ "spec/loxafr3_spec.rb",
5062
5450
  "spec/mm9_spec.rb",
5451
+ "spec/mondom5_spec.rb",
5452
+ "spec/ornana1_spec.rb",
5453
+ "spec/orycun2_spec.rb",
5454
+ "spec/orylat2_spec.rb",
5455
+ "spec/oviari1_spec.rb",
5456
+ "spec/pantro3_spec.rb",
5457
+ "spec/petmar1_spec.rb",
5458
+ "spec/ponabe2_spec.rb",
5459
+ "spec/pripac1_spec.rb",
5063
5460
  "spec/proteome_spec.rb",
5064
5461
  "spec/reference_spec.rb",
5462
+ "spec/rhemac2_spec.rb",
5463
+ "spec/rn4_spec.rb",
5464
+ "spec/saccer2_spec.rb",
5065
5465
  "spec/spec_helper.rb",
5466
+ "spec/strpur2_spec.rb",
5467
+ "spec/susscr2_spec.rb",
5468
+ "spec/taegut1_spec.rb",
5469
+ "spec/tetnig2_spec.rb",
5066
5470
  "spec/uniprot_spec.rb",
5067
- "spec/visigene_spec.rb"
5471
+ "spec/visigene_spec.rb",
5472
+ "spec/xentro2_spec.rb"
5068
5473
  ]
5069
5474
 
5070
5475
  if s.respond_to? :specification_version then