/test/test_project_utils.rb

https://github.com/holroyd/martsearch · Ruby · 852 lines · 845 code · 6 blank · 1 comment · 0 complexity · a7cdd61deee05e0d634cd49fec24cdbf MD5 · raw file

  1. # encoding: utf-8
  2. require "test_helper"
  3. class TestMartSearchProjectUtils < Test::Unit::TestCase
  4. include MartSearch::ProjectUtils
  5. public :get_top_level_project_info, :get_human_orthalog, :get_mice, :get_mutagenesis_predictions
  6. context "A valid MartSearch Project" do
  7. setup do
  8. VCR.insert_cassette( "test_project_utils" )
  9. @datasources = MartSearch::Controller.instance().datasources
  10. @project_id = 35505
  11. end
  12. should "have top level information" do
  13. expected = {
  14. :marker_symbol => "Cbx1",
  15. :mgi_accession_id => "MGI:105369",
  16. :ensembl_gene_id => "ENSMUSG00000018666",
  17. :vega_gene_id => "OTTMUSG00000001636",
  18. :ikmc_project => "EUCOMM",
  19. :status => "Mice - Genotype confirmed",
  20. :mouse_available => "1",
  21. :escell_available => "1",
  22. :vector_available => "1"
  23. }
  24. assert_equal( expected, get_top_level_project_info( @datasources, @project_id )[:data][0] )
  25. end
  26. should "have the correct human orthalog" do
  27. human_orth_data = get_human_orthalog( @datasources, "ENSMUSG00000018666" )[:data]
  28. assert_equal( "ENSG00000108468", human_orth_data[:human_ensembl_gene] )
  29. end
  30. should "have the expected results" do
  31. expected_int_vectors = [
  32. {
  33. :name => "PCS00019_A_B11",
  34. :design_id => "39792",
  35. :design_type => "Knockout-First - Reporter Tagged Insertion"
  36. }
  37. ]
  38. expected_targ_vectors = [
  39. {
  40. :name => "PG00019_A_1_B11",
  41. :design_id => "39792",
  42. :design_type => "Knockout-First - Reporter Tagged Insertion",
  43. :cassette => "L1L2_gt2",
  44. :cassette_type => "Promotorless",
  45. :backbone => "L3L4_pZero_kan",
  46. },
  47. {
  48. :name => "PG00019_A_2_B11",
  49. :design_id => "39792",
  50. :design_type => "Knockout-First - Reporter Tagged Insertion",
  51. :cassette => "L1L2_gt2",
  52. :cassette_type => "Promotorless",
  53. :backbone => "L3L4_pZero_kan"
  54. },
  55. {
  56. :name => "PG00019_A_3_B11",
  57. :design_id => "39792",
  58. :design_type => "Knockout-First - Reporter Tagged Insertion",
  59. :cassette => "L1L2_gt2",
  60. :cassette_type => "Promotorless",
  61. :backbone => "L3L4_pZero_kan"
  62. },
  63. {
  64. :name => "PG00019_A_4_B11",
  65. :design_id => "39792",
  66. :design_type => "Knockout-First - Reporter Tagged Insertion",
  67. :cassette => "L1L2_gt2",
  68. :cassette_type => "Promotorless",
  69. :backbone => "L3L4_pZero_kan"
  70. },
  71. {
  72. :name => "PGS00019_A_B11",
  73. :design_id => "39792",
  74. :design_type => "Knockout-First - Reporter Tagged Insertion",
  75. :cassette => "L1L2_gt2",
  76. :cassette_type => "Promotorless",
  77. :backbone => "L3L4_pZero_kan"
  78. }
  79. ]
  80. expected_cells = {
  81. :conditional => {
  82. :cells => [
  83. {
  84. :name => "EPD0027_2_B01",
  85. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  86. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  87. :parental_cell_line => "JM8.N4",
  88. :targeting_vector => "PGS00019_A_B11",
  89. :cassette => "L1L2_gt2",
  90. :cassette_type => "Promotorless",
  91. :"mouse?" => "yes",
  92. :qc_count => 3,
  93. :production_qc_five_prime_screen => "pass",
  94. :production_qc_loxp_screen => "pass",
  95. :production_qc_three_prime_screen => "pass",
  96. :production_qc_loss_of_allele => "-",
  97. :production_qc_vector_integrity => "-",
  98. :distribution_qc_karyotype_high => "-",
  99. :distribution_qc_karyotype_low => "-",
  100. :distribution_qc_copy_number => "-",
  101. :distribution_qc_five_prime_lr_pcr => "-",
  102. :distribution_qc_five_prime_sr_pcr => "-",
  103. :distribution_qc_three_prime_sr_pcr => "-",
  104. :distribution_qc_thawing => "-",
  105. :user_qc_southern_blot => "-",
  106. :user_qc_map_test => "-",
  107. :user_qc_karyotype => "-",
  108. :user_qc_tv_backbone_assay => "-",
  109. :user_qc_five_prime_lr_pcr => "-",
  110. :user_qc_loss_of_wt_allele => "-",
  111. :user_qc_neo_count_qpcr => "-",
  112. :user_qc_lacz_sr_pcr => "-",
  113. :user_qc_five_prime_cassette_integrity => "-",
  114. :user_qc_neo_sr_pcr => "-",
  115. :user_qc_mutant_specific_sr_pcr => "-",
  116. :user_qc_loxp_confirmation => "-",
  117. :user_qc_three_prime_lr_pcr => "-"
  118. },
  119. {
  120. :name => "EPD0027_2_A02",
  121. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  122. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  123. :parental_cell_line => "JM8.N4",
  124. :targeting_vector => "PGS00019_A_B11",
  125. :cassette => "L1L2_gt2",
  126. :cassette_type => "Promotorless",
  127. :"mouse?" => "no",
  128. :qc_count => 3,
  129. :production_qc_five_prime_screen => "pass",
  130. :production_qc_loxp_screen => "pass",
  131. :production_qc_three_prime_screen => "pass",
  132. :production_qc_loss_of_allele => "-",
  133. :production_qc_vector_integrity => "-",
  134. :distribution_qc_karyotype_high => "-",
  135. :distribution_qc_karyotype_low => "-",
  136. :distribution_qc_copy_number => "-",
  137. :distribution_qc_five_prime_lr_pcr => "-",
  138. :distribution_qc_five_prime_sr_pcr => "-",
  139. :distribution_qc_three_prime_sr_pcr => "-",
  140. :distribution_qc_thawing => "-",
  141. :user_qc_southern_blot => "-",
  142. :user_qc_map_test => "-",
  143. :user_qc_karyotype => "-",
  144. :user_qc_tv_backbone_assay => "-",
  145. :user_qc_five_prime_lr_pcr => "-",
  146. :user_qc_loss_of_wt_allele => "-",
  147. :user_qc_neo_count_qpcr => "-",
  148. :user_qc_lacz_sr_pcr => "-",
  149. :user_qc_five_prime_cassette_integrity => "-",
  150. :user_qc_neo_sr_pcr => "-",
  151. :user_qc_mutant_specific_sr_pcr => "-",
  152. :user_qc_loxp_confirmation => "-",
  153. :user_qc_three_prime_lr_pcr => "-"
  154. },
  155. {
  156. :name => "EPD0027_2_B03",
  157. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  158. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  159. :parental_cell_line => "JM8.N4",
  160. :targeting_vector => "PGS00019_A_B11",
  161. :cassette => "L1L2_gt2",
  162. :cassette_type => "Promotorless",
  163. :"mouse?" => "no",
  164. :qc_count => 3,
  165. :production_qc_five_prime_screen => "pass",
  166. :production_qc_loxp_screen => "pass",
  167. :production_qc_three_prime_screen => "pass",
  168. :production_qc_loss_of_allele => "-",
  169. :production_qc_vector_integrity => "-",
  170. :distribution_qc_karyotype_high => "-",
  171. :distribution_qc_karyotype_low => "-",
  172. :distribution_qc_copy_number => "-",
  173. :distribution_qc_five_prime_lr_pcr => "-",
  174. :distribution_qc_five_prime_sr_pcr => "-",
  175. :distribution_qc_three_prime_sr_pcr => "-",
  176. :distribution_qc_thawing => "-",
  177. :user_qc_southern_blot => "-",
  178. :user_qc_map_test => "-",
  179. :user_qc_karyotype => "-",
  180. :user_qc_tv_backbone_assay => "-",
  181. :user_qc_five_prime_lr_pcr => "-",
  182. :user_qc_loss_of_wt_allele => "-",
  183. :user_qc_neo_count_qpcr => "-",
  184. :user_qc_lacz_sr_pcr => "-",
  185. :user_qc_five_prime_cassette_integrity => "-",
  186. :user_qc_neo_sr_pcr => "-",
  187. :user_qc_mutant_specific_sr_pcr => "-",
  188. :user_qc_loxp_confirmation => "-",
  189. :user_qc_three_prime_lr_pcr => "-"
  190. },
  191. {
  192. :name => "EPD0027_2_C01",
  193. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  194. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  195. :parental_cell_line => "JM8.N4",
  196. :targeting_vector => "PGS00019_A_B11",
  197. :cassette => "L1L2_gt2",
  198. :cassette_type => "Promotorless",
  199. :"mouse?" => "no",
  200. :qc_count => 3,
  201. :production_qc_five_prime_screen => "pass",
  202. :production_qc_loxp_screen => "pass",
  203. :production_qc_three_prime_screen => "pass",
  204. :production_qc_loss_of_allele => "-",
  205. :production_qc_vector_integrity => "-",
  206. :distribution_qc_karyotype_high => "-",
  207. :distribution_qc_karyotype_low => "-",
  208. :distribution_qc_copy_number => "-",
  209. :distribution_qc_five_prime_lr_pcr => "-",
  210. :distribution_qc_five_prime_sr_pcr => "-",
  211. :distribution_qc_three_prime_sr_pcr => "-",
  212. :distribution_qc_thawing => "-",
  213. :user_qc_southern_blot => "-",
  214. :user_qc_map_test => "-",
  215. :user_qc_karyotype => "-",
  216. :user_qc_tv_backbone_assay => "-",
  217. :user_qc_five_prime_lr_pcr => "-",
  218. :user_qc_loss_of_wt_allele => "-",
  219. :user_qc_neo_count_qpcr => "-",
  220. :user_qc_lacz_sr_pcr => "-",
  221. :user_qc_five_prime_cassette_integrity => "-",
  222. :user_qc_neo_sr_pcr => "-",
  223. :user_qc_mutant_specific_sr_pcr => "-",
  224. :user_qc_loxp_confirmation => "-",
  225. :user_qc_three_prime_lr_pcr => "-"
  226. },
  227. {
  228. :name => "EPD0027_2_C03",
  229. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  230. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  231. :parental_cell_line => "JM8.N4",
  232. :targeting_vector => "PGS00019_A_B11",
  233. :cassette => "L1L2_gt2",
  234. :cassette_type => "Promotorless",
  235. :"mouse?" => "no",
  236. :qc_count => 3,
  237. :production_qc_five_prime_screen => "pass",
  238. :production_qc_loxp_screen => "pass",
  239. :production_qc_three_prime_screen => "pass",
  240. :production_qc_loss_of_allele => "-",
  241. :production_qc_vector_integrity => "-",
  242. :distribution_qc_karyotype_high => "-",
  243. :distribution_qc_karyotype_low => "-",
  244. :distribution_qc_copy_number => "-",
  245. :distribution_qc_five_prime_lr_pcr => "-",
  246. :distribution_qc_five_prime_sr_pcr => "-",
  247. :distribution_qc_three_prime_sr_pcr => "-",
  248. :distribution_qc_thawing => "-",
  249. :user_qc_southern_blot => "-",
  250. :user_qc_map_test => "-",
  251. :user_qc_karyotype => "-",
  252. :user_qc_tv_backbone_assay => "-",
  253. :user_qc_five_prime_lr_pcr => "-",
  254. :user_qc_loss_of_wt_allele => "-",
  255. :user_qc_neo_count_qpcr => "-",
  256. :user_qc_lacz_sr_pcr => "-",
  257. :user_qc_five_prime_cassette_integrity => "-",
  258. :user_qc_neo_sr_pcr => "-",
  259. :user_qc_mutant_specific_sr_pcr => "-",
  260. :user_qc_loxp_confirmation => "-",
  261. :user_qc_three_prime_lr_pcr => "-"
  262. },
  263. {
  264. :name => "EPD0027_2_E01",
  265. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  266. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  267. :parental_cell_line => "JM8.N4",
  268. :targeting_vector => "PGS00019_A_B11",
  269. :cassette => "L1L2_gt2",
  270. :cassette_type => "Promotorless",
  271. :"mouse?" => "no",
  272. :qc_count => 3,
  273. :production_qc_five_prime_screen => "pass",
  274. :production_qc_loxp_screen => "pass",
  275. :production_qc_three_prime_screen => "pass",
  276. :production_qc_loss_of_allele => "-",
  277. :production_qc_vector_integrity => "-",
  278. :distribution_qc_karyotype_high => "-",
  279. :distribution_qc_karyotype_low => "-",
  280. :distribution_qc_copy_number => "-",
  281. :distribution_qc_five_prime_lr_pcr => "-",
  282. :distribution_qc_five_prime_sr_pcr => "-",
  283. :distribution_qc_three_prime_sr_pcr => "-",
  284. :distribution_qc_thawing => "-",
  285. :user_qc_southern_blot => "-",
  286. :user_qc_map_test => "-",
  287. :user_qc_karyotype => "-",
  288. :user_qc_tv_backbone_assay => "-",
  289. :user_qc_five_prime_lr_pcr => "-",
  290. :user_qc_loss_of_wt_allele => "-",
  291. :user_qc_neo_count_qpcr => "-",
  292. :user_qc_lacz_sr_pcr => "-",
  293. :user_qc_five_prime_cassette_integrity => "-",
  294. :user_qc_neo_sr_pcr => "-",
  295. :user_qc_mutant_specific_sr_pcr => "-",
  296. :user_qc_loxp_confirmation => "-",
  297. :user_qc_three_prime_lr_pcr => "-"
  298. },
  299. {
  300. :name => "EPD0027_2_E02",
  301. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  302. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  303. :parental_cell_line => "JM8.N4",
  304. :targeting_vector => "PGS00019_A_B11",
  305. :cassette => "L1L2_gt2",
  306. :cassette_type => "Promotorless",
  307. :"mouse?" => "no",
  308. :qc_count => 3,
  309. :production_qc_five_prime_screen => "pass",
  310. :production_qc_loxp_screen => "pass",
  311. :production_qc_three_prime_screen => "pass",
  312. :production_qc_loss_of_allele => "-",
  313. :production_qc_vector_integrity => "-",
  314. :distribution_qc_karyotype_high => "-",
  315. :distribution_qc_karyotype_low => "-",
  316. :distribution_qc_copy_number => "-",
  317. :distribution_qc_five_prime_lr_pcr => "-",
  318. :distribution_qc_five_prime_sr_pcr => "-",
  319. :distribution_qc_three_prime_sr_pcr => "-",
  320. :distribution_qc_thawing => "-",
  321. :user_qc_southern_blot => "-",
  322. :user_qc_map_test => "-",
  323. :user_qc_karyotype => "-",
  324. :user_qc_tv_backbone_assay => "-",
  325. :user_qc_five_prime_lr_pcr => "-",
  326. :user_qc_loss_of_wt_allele => "-",
  327. :user_qc_neo_count_qpcr => "-",
  328. :user_qc_lacz_sr_pcr => "-",
  329. :user_qc_five_prime_cassette_integrity => "-",
  330. :user_qc_neo_sr_pcr => "-",
  331. :user_qc_mutant_specific_sr_pcr => "-",
  332. :user_qc_loxp_confirmation => "-",
  333. :user_qc_three_prime_lr_pcr => "-"
  334. },
  335. {
  336. :name => "EPD0027_2_F01",
  337. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  338. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  339. :parental_cell_line => "JM8.N4",
  340. :targeting_vector => "PGS00019_A_B11",
  341. :cassette => "L1L2_gt2",
  342. :cassette_type => "Promotorless",
  343. :"mouse?" => "no",
  344. :qc_count => 3,
  345. :production_qc_five_prime_screen => "pass",
  346. :production_qc_loxp_screen => "pass",
  347. :production_qc_three_prime_screen => "pass",
  348. :production_qc_loss_of_allele => "-",
  349. :production_qc_vector_integrity => "-",
  350. :distribution_qc_karyotype_high => "-",
  351. :distribution_qc_karyotype_low => "-",
  352. :distribution_qc_copy_number => "-",
  353. :distribution_qc_five_prime_lr_pcr => "-",
  354. :distribution_qc_five_prime_sr_pcr => "-",
  355. :distribution_qc_three_prime_sr_pcr => "-",
  356. :distribution_qc_thawing => "-",
  357. :user_qc_southern_blot => "-",
  358. :user_qc_map_test => "-",
  359. :user_qc_karyotype => "-",
  360. :user_qc_tv_backbone_assay => "-",
  361. :user_qc_five_prime_lr_pcr => "-",
  362. :user_qc_loss_of_wt_allele => "-",
  363. :user_qc_neo_count_qpcr => "-",
  364. :user_qc_lacz_sr_pcr => "-",
  365. :user_qc_five_prime_cassette_integrity => "-",
  366. :user_qc_neo_sr_pcr => "-",
  367. :user_qc_mutant_specific_sr_pcr => "-",
  368. :user_qc_loxp_confirmation => "-",
  369. :user_qc_three_prime_lr_pcr => "-"
  370. },
  371. {
  372. :name => "EPD0027_2_F02",
  373. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  374. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  375. :parental_cell_line => "JM8.N4",
  376. :targeting_vector => "PGS00019_A_B11",
  377. :cassette => "L1L2_gt2",
  378. :cassette_type => "Promotorless",
  379. :"mouse?" => "no",
  380. :qc_count => 3,
  381. :production_qc_five_prime_screen => "pass",
  382. :production_qc_loxp_screen => "pass",
  383. :production_qc_three_prime_screen => "pass",
  384. :production_qc_loss_of_allele => "-",
  385. :production_qc_vector_integrity => "-",
  386. :distribution_qc_karyotype_high => "-",
  387. :distribution_qc_karyotype_low => "-",
  388. :distribution_qc_copy_number => "-",
  389. :distribution_qc_five_prime_lr_pcr => "-",
  390. :distribution_qc_five_prime_sr_pcr => "-",
  391. :distribution_qc_three_prime_sr_pcr => "-",
  392. :distribution_qc_thawing => "-",
  393. :user_qc_southern_blot => "-",
  394. :user_qc_map_test => "-",
  395. :user_qc_karyotype => "-",
  396. :user_qc_tv_backbone_assay => "-",
  397. :user_qc_five_prime_lr_pcr => "-",
  398. :user_qc_loss_of_wt_allele => "-",
  399. :user_qc_neo_count_qpcr => "-",
  400. :user_qc_lacz_sr_pcr => "-",
  401. :user_qc_five_prime_cassette_integrity => "-",
  402. :user_qc_neo_sr_pcr => "-",
  403. :user_qc_mutant_specific_sr_pcr => "-",
  404. :user_qc_loxp_confirmation => "-",
  405. :user_qc_three_prime_lr_pcr => "-"
  406. },
  407. {
  408. :name => "EPD0027_2_F03",
  409. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  410. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  411. :parental_cell_line => "JM8.N4",
  412. :targeting_vector => "PGS00019_A_B11",
  413. :cassette => "L1L2_gt2",
  414. :cassette_type => "Promotorless",
  415. :"mouse?" => "no",
  416. :qc_count => 3,
  417. :production_qc_five_prime_screen => "pass",
  418. :production_qc_loxp_screen => "pass",
  419. :production_qc_three_prime_screen => "pass",
  420. :production_qc_loss_of_allele => "-",
  421. :production_qc_vector_integrity => "-",
  422. :distribution_qc_karyotype_high => "-",
  423. :distribution_qc_karyotype_low => "-",
  424. :distribution_qc_copy_number => "-",
  425. :distribution_qc_five_prime_lr_pcr => "-",
  426. :distribution_qc_five_prime_sr_pcr => "-",
  427. :distribution_qc_three_prime_sr_pcr => "-",
  428. :distribution_qc_thawing => "-",
  429. :user_qc_southern_blot => "-",
  430. :user_qc_map_test => "-",
  431. :user_qc_karyotype => "-",
  432. :user_qc_tv_backbone_assay => "-",
  433. :user_qc_five_prime_lr_pcr => "-",
  434. :user_qc_loss_of_wt_allele => "-",
  435. :user_qc_neo_count_qpcr => "-",
  436. :user_qc_lacz_sr_pcr => "-",
  437. :user_qc_five_prime_cassette_integrity => "-",
  438. :user_qc_neo_sr_pcr => "-",
  439. :user_qc_mutant_specific_sr_pcr => "-",
  440. :user_qc_loxp_confirmation => "-",
  441. :user_qc_three_prime_lr_pcr => "-"
  442. },
  443. {
  444. :name => "EPD0027_2_A01",
  445. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  446. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  447. :parental_cell_line => "JM8.N4",
  448. :targeting_vector => "PGS00019_A_B11",
  449. :cassette => "L1L2_gt2",
  450. :cassette_type => "Promotorless",
  451. :"mouse?" => "no",
  452. :qc_count => 4,
  453. :production_qc_five_prime_screen => "pass",
  454. :production_qc_loxp_screen => "pass",
  455. :production_qc_three_prime_screen => "pass",
  456. :production_qc_loss_of_allele => "-",
  457. :production_qc_vector_integrity => "-",
  458. :distribution_qc_karyotype_high => "-",
  459. :distribution_qc_karyotype_low => "-",
  460. :distribution_qc_copy_number => "-",
  461. :distribution_qc_five_prime_lr_pcr => "-",
  462. :distribution_qc_five_prime_sr_pcr => "-",
  463. :distribution_qc_three_prime_sr_pcr => "fail",
  464. :distribution_qc_thawing => "-",
  465. :user_qc_southern_blot => "-",
  466. :user_qc_map_test => "-",
  467. :user_qc_karyotype => "-",
  468. :user_qc_tv_backbone_assay => "-",
  469. :user_qc_five_prime_lr_pcr => "-",
  470. :user_qc_loss_of_wt_allele => "-",
  471. :user_qc_neo_count_qpcr => "-",
  472. :user_qc_lacz_sr_pcr => "-",
  473. :user_qc_five_prime_cassette_integrity => "-",
  474. :user_qc_neo_sr_pcr => "-",
  475. :user_qc_mutant_specific_sr_pcr => "-",
  476. :user_qc_loxp_confirmation => "-",
  477. :user_qc_three_prime_lr_pcr => "-"
  478. },
  479. {
  480. :name => "EPD0027_2_H01",
  481. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  482. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  483. :parental_cell_line => "JM8.N4",
  484. :targeting_vector => "PGS00019_A_B11",
  485. :cassette => "L1L2_gt2",
  486. :cassette_type => "Promotorless",
  487. :"mouse?" => "no",
  488. :qc_count => 5,
  489. :production_qc_five_prime_screen => "pass",
  490. :production_qc_loxp_screen => "pass",
  491. :production_qc_three_prime_screen => "pass",
  492. :production_qc_loss_of_allele => "-",
  493. :production_qc_vector_integrity => "-",
  494. :distribution_qc_karyotype_high => "-",
  495. :distribution_qc_karyotype_low => "-",
  496. :distribution_qc_copy_number => "-",
  497. :distribution_qc_five_prime_lr_pcr => "-",
  498. :distribution_qc_five_prime_sr_pcr => "pass",
  499. :distribution_qc_three_prime_sr_pcr => "pass",
  500. :distribution_qc_thawing => "-",
  501. :user_qc_southern_blot => "-",
  502. :user_qc_map_test => "-",
  503. :user_qc_karyotype => "-",
  504. :user_qc_tv_backbone_assay => "-",
  505. :user_qc_five_prime_lr_pcr => "-",
  506. :user_qc_loss_of_wt_allele => "-",
  507. :user_qc_neo_count_qpcr => "-",
  508. :user_qc_lacz_sr_pcr => "-",
  509. :user_qc_five_prime_cassette_integrity => "-",
  510. :user_qc_neo_sr_pcr => "-",
  511. :user_qc_mutant_specific_sr_pcr => "-",
  512. :user_qc_loxp_confirmation => "-",
  513. :user_qc_three_prime_lr_pcr => "-"
  514. },
  515. {
  516. :name => "EPD0027_2_H02",
  517. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  518. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  519. :parental_cell_line => "JM8.N4",
  520. :targeting_vector => "PGS00019_A_B11",
  521. :cassette => "L1L2_gt2",
  522. :cassette_type => "Promotorless",
  523. :"mouse?" => "no",
  524. :qc_count => 5,
  525. :production_qc_five_prime_screen => "pass",
  526. :production_qc_loxp_screen => "pass",
  527. :production_qc_three_prime_screen => "pass",
  528. :production_qc_loss_of_allele => "-",
  529. :production_qc_vector_integrity => "-",
  530. :distribution_qc_karyotype_high => "-",
  531. :distribution_qc_karyotype_low => "-",
  532. :distribution_qc_copy_number => "-",
  533. :distribution_qc_five_prime_lr_pcr => "-",
  534. :distribution_qc_five_prime_sr_pcr => "pass",
  535. :distribution_qc_three_prime_sr_pcr => "pass",
  536. :distribution_qc_thawing => "-",
  537. :user_qc_southern_blot => "-",
  538. :user_qc_map_test => "-",
  539. :user_qc_karyotype => "-",
  540. :user_qc_tv_backbone_assay => "-",
  541. :user_qc_five_prime_lr_pcr => "-",
  542. :user_qc_loss_of_wt_allele => "-",
  543. :user_qc_neo_count_qpcr => "-",
  544. :user_qc_lacz_sr_pcr => "-",
  545. :user_qc_five_prime_cassette_integrity => "-",
  546. :user_qc_neo_sr_pcr => "-",
  547. :user_qc_mutant_specific_sr_pcr => "-",
  548. :user_qc_loxp_confirmation => "-",
  549. :user_qc_three_prime_lr_pcr => "-"
  550. },
  551. {
  552. :name => "EPD0027_2_H03",
  553. :allele_symbol_superscript => "tm1a(EUCOMM)Wtsi",
  554. :allele_type => "Knockout-First - Reporter Tagged Insertion",
  555. :parental_cell_line => "JM8.N4",
  556. :targeting_vector => "PGS00019_A_B11",
  557. :cassette => "L1L2_gt2",
  558. :cassette_type => "Promotorless",
  559. :"mouse?" => "no",
  560. :qc_count => 5,
  561. :production_qc_five_prime_screen => "pass",
  562. :production_qc_loxp_screen => "pass",
  563. :production_qc_three_prime_screen => "pass",
  564. :production_qc_loss_of_allele => "-",
  565. :production_qc_vector_integrity => "-",
  566. :distribution_qc_karyotype_high => "-",
  567. :distribution_qc_karyotype_low => "-",
  568. :distribution_qc_copy_number => "-",
  569. :distribution_qc_five_prime_lr_pcr => "-",
  570. :distribution_qc_five_prime_sr_pcr => "pass",
  571. :distribution_qc_three_prime_sr_pcr => "pass",
  572. :distribution_qc_thawing => "-",
  573. :user_qc_southern_blot => "-",
  574. :user_qc_map_test => "-",
  575. :user_qc_karyotype => "-",
  576. :user_qc_tv_backbone_assay => "-",
  577. :user_qc_five_prime_lr_pcr => "-",
  578. :user_qc_loss_of_wt_allele => "-",
  579. :user_qc_neo_count_qpcr => "-",
  580. :user_qc_lacz_sr_pcr => "-",
  581. :user_qc_five_prime_cassette_integrity => "-",
  582. :user_qc_neo_sr_pcr => "-",
  583. :user_qc_mutant_specific_sr_pcr => "-",
  584. :user_qc_loxp_confirmation => "-",
  585. :user_qc_three_prime_lr_pcr => "-"
  586. }
  587. ],
  588. :allele_img => "http://www.knockoutmouse.org/targ_rep/alleles/902/allele-image",
  589. :allele_gb => "http://www.knockoutmouse.org/targ_rep/alleles/902/escell-clone-genbank-file",
  590. },
  591. :"targeted non-conditional" => {
  592. :cells => [
  593. {
  594. :name => "EPD0027_2_A03",
  595. :allele_symbol_superscript => "tm1e(EUCOMM)Wtsi",
  596. :allele_type => "Targeted Non-Conditional",
  597. :parental_cell_line => "JM8.N4",
  598. :targeting_vector => "PGS00019_A_B11",
  599. :cassette => "L1L2_gt2",
  600. :cassette_type => "Promotorless",
  601. :"mouse?" => "no",
  602. :qc_count => 3,
  603. :production_qc_five_prime_screen => "pass",
  604. :production_qc_loxp_screen => "not confirmed",
  605. :production_qc_three_prime_screen => "pass",
  606. :production_qc_loss_of_allele => "-",
  607. :production_qc_vector_integrity => "-",
  608. :distribution_qc_karyotype_high => "-",
  609. :distribution_qc_karyotype_low => "-",
  610. :distribution_qc_copy_number => "-",
  611. :distribution_qc_five_prime_lr_pcr => "-",
  612. :distribution_qc_five_prime_sr_pcr => "-",
  613. :distribution_qc_three_prime_sr_pcr => "-",
  614. :distribution_qc_thawing => "-",
  615. :user_qc_southern_blot => "-",
  616. :user_qc_map_test => "-",
  617. :user_qc_karyotype => "-",
  618. :user_qc_tv_backbone_assay => "-",
  619. :user_qc_five_prime_lr_pcr => "-",
  620. :user_qc_loss_of_wt_allele => "-",
  621. :user_qc_neo_count_qpcr => "-",
  622. :user_qc_lacz_sr_pcr => "-",
  623. :user_qc_five_prime_cassette_integrity => "-",
  624. :user_qc_neo_sr_pcr => "-",
  625. :user_qc_mutant_specific_sr_pcr => "-",
  626. :user_qc_loxp_confirmation => "-",
  627. :user_qc_three_prime_lr_pcr => "-"
  628. },
  629. {
  630. :name => "EPD0027_2_B02",
  631. :allele_symbol_superscript => "tm1e(EUCOMM)Wtsi",
  632. :allele_type => "Targeted Non-Conditional",
  633. :parental_cell_line => "JM8.N4",
  634. :targeting_vector => "PGS00019_A_B11",
  635. :cassette => "L1L2_gt2",
  636. :cassette_type => "Promotorless",
  637. :"mouse?" => "no",
  638. :qc_count => 3,
  639. :production_qc_five_prime_screen => "pass",
  640. :production_qc_loxp_screen => "not confirmed",
  641. :production_qc_three_prime_screen => "pass",
  642. :production_qc_loss_of_allele => "-",
  643. :production_qc_vector_integrity => "-",
  644. :distribution_qc_karyotype_high => "-",
  645. :distribution_qc_karyotype_low => "-",
  646. :distribution_qc_copy_number => "-",
  647. :distribution_qc_five_prime_lr_pcr => "-",
  648. :distribution_qc_five_prime_sr_pcr => "-",
  649. :distribution_qc_three_prime_sr_pcr => "-",
  650. :distribution_qc_thawing => "-",
  651. :user_qc_southern_blot => "-",
  652. :user_qc_map_test => "-",
  653. :user_qc_karyotype => "-",
  654. :user_qc_tv_backbone_assay => "-",
  655. :user_qc_five_prime_lr_pcr => "-",
  656. :user_qc_loss_of_wt_allele => "-",
  657. :user_qc_neo_count_qpcr => "-",
  658. :user_qc_lacz_sr_pcr => "-",
  659. :user_qc_five_prime_cassette_integrity => "-",
  660. :user_qc_neo_sr_pcr => "-",
  661. :user_qc_mutant_specific_sr_pcr => "-",
  662. :user_qc_loxp_confirmation => "-",
  663. :user_qc_three_prime_lr_pcr => "-"
  664. },
  665. {
  666. :name => "EPD0027_2_D01",
  667. :allele_symbol_superscript => "tm1e(EUCOMM)Wtsi",
  668. :allele_type => "Targeted Non-Conditional",
  669. :parental_cell_line => "JM8.N4",
  670. :targeting_vector => "PGS00019_A_B11",
  671. :cassette => "L1L2_gt2",
  672. :cassette_type => "Promotorless",
  673. :"mouse?" => "no",
  674. :qc_count => 3,
  675. :production_qc_five_prime_screen => "pass",
  676. :production_qc_loxp_screen => "not confirmed",
  677. :production_qc_three_prime_screen => "not confirmed",
  678. :production_qc_loss_of_allele => "-",
  679. :production_qc_vector_integrity => "-",
  680. :distribution_qc_karyotype_high => "-",
  681. :distribution_qc_karyotype_low => "-",
  682. :distribution_qc_copy_number => "-",
  683. :distribution_qc_five_prime_lr_pcr => "-",
  684. :distribution_qc_five_prime_sr_pcr => "-",
  685. :distribution_qc_three_prime_sr_pcr => "-",
  686. :distribution_qc_thawing => "-",
  687. :user_qc_southern_blot => "-",
  688. :user_qc_map_test => "-",
  689. :user_qc_karyotype => "-",
  690. :user_qc_tv_backbone_assay => "-",
  691. :user_qc_five_prime_lr_pcr => "-",
  692. :user_qc_loss_of_wt_allele => "-",
  693. :user_qc_neo_count_qpcr => "-",
  694. :user_qc_lacz_sr_pcr => "-",
  695. :user_qc_five_prime_cassette_integrity => "-",
  696. :user_qc_neo_sr_pcr => "-",
  697. :user_qc_mutant_specific_sr_pcr => "-",
  698. :user_qc_loxp_confirmation => "-",
  699. :user_qc_three_prime_lr_pcr => "-"
  700. },
  701. {
  702. :name => "EPD0027_2_D02",
  703. :allele_symbol_superscript => "tm1e(EUCOMM)Wtsi",
  704. :allele_type => "Targeted Non-Conditional",
  705. :parental_cell_line => "JM8.N4",
  706. :targeting_vector => "PGS00019_A_B11",
  707. :cassette => "L1L2_gt2",
  708. :cassette_type => "Promotorless",
  709. :"mouse?" => "no",
  710. :qc_count => 3,
  711. :production_qc_five_prime_screen => "pass",
  712. :production_qc_loxp_screen => "not confirmed",
  713. :production_qc_three_prime_screen => "not confirmed",
  714. :production_qc_loss_of_allele => "-",
  715. :production_qc_vector_integrity => "-",
  716. :distribution_qc_karyotype_high => "-",
  717. :distribution_qc_karyotype_low => "-",
  718. :distribution_qc_copy_number => "-",
  719. :distribution_qc_five_prime_lr_pcr => "-",
  720. :distribution_qc_five_prime_sr_pcr => "-",
  721. :distribution_qc_three_prime_sr_pcr => "-",
  722. :distribution_qc_thawing => "-",
  723. :user_qc_southern_blot => "-",
  724. :user_qc_map_test => "-",
  725. :user_qc_karyotype => "-",
  726. :user_qc_tv_backbone_assay => "-",
  727. :user_qc_five_prime_lr_pcr => "-",
  728. :user_qc_loss_of_wt_allele => "-",
  729. :user_qc_neo_count_qpcr => "-",
  730. :user_qc_lacz_sr_pcr => "-",
  731. :user_qc_five_prime_cassette_integrity => "-",
  732. :user_qc_neo_sr_pcr => "-",
  733. :user_qc_mutant_specific_sr_pcr => "-",
  734. :user_qc_loxp_confirmation => "-",
  735. :user_qc_three_prime_lr_pcr => "-"
  736. },
  737. {
  738. :name => "EPD0027_2_D03",
  739. :allele_symbol_superscript => "tm1e(EUCOMM)Wtsi",
  740. :allele_type => "Targeted Non-Conditional",
  741. :parental_cell_line => "JM8.N4",
  742. :targeting_vector => "PGS00019_A_B11",
  743. :cassette => "L1L2_gt2",
  744. :cassette_type => "Promotorless",
  745. :"mouse?" => "no",
  746. :qc_count => 3,
  747. :production_qc_five_prime_screen => "pass",
  748. :production_qc_loxp_screen => "not confirmed",
  749. :production_qc_three_prime_screen => "not confirmed",
  750. :production_qc_loss_of_allele => "-",
  751. :production_qc_vector_integrity => "-",
  752. :distribution_qc_karyotype_high => "-",
  753. :distribution_qc_karyotype_low => "-",
  754. :distribution_qc_copy_number => "-",
  755. :distribution_qc_five_prime_lr_pcr => "-",
  756. :distribution_qc_five_prime_sr_pcr => "-",
  757. :distribution_qc_three_prime_sr_pcr => "-",
  758. :distribution_qc_thawing => "-",
  759. :user_qc_southern_blot => "-",
  760. :user_qc_map_test => "-",
  761. :user_qc_karyotype => "-",
  762. :user_qc_tv_backbone_assay => "-",
  763. :user_qc_five_prime_lr_pcr => "-",
  764. :user_qc_loss_of_wt_allele => "-",
  765. :user_qc_neo_count_qpcr => "-",
  766. :user_qc_lacz_sr_pcr => "-",
  767. :user_qc_five_prime_cassette_integrity => "-",
  768. :user_qc_neo_sr_pcr => "-",
  769. :user_qc_mutant_specific_sr_pcr => "-",
  770. :user_qc_loxp_confirmation => "-",
  771. :user_qc_three_prime_lr_pcr => "-"
  772. },
  773. {
  774. :name => "EPD0027_2_E03",
  775. :allele_symbol_superscript => "tm1e(EUCOMM)Wtsi",
  776. :allele_type => "Targeted Non-Conditional",
  777. :parental_cell_line => "JM8.N4",
  778. :targeting_vector => "PGS00019_A_B11",
  779. :cassette => "L1L2_gt2",
  780. :cassette_type => "Promotorless",
  781. :"mouse?" => "no",
  782. :qc_count => 3,
  783. :production_qc_five_prime_screen => "pass",
  784. :production_qc_loxp_screen => "not confirmed",
  785. :production_qc_three_prime_screen => "pass",
  786. :production_qc_loss_of_allele => "-",
  787. :production_qc_vector_integrity => "-",
  788. :distribution_qc_karyotype_high => "-",
  789. :distribution_qc_karyotype_low => "-",
  790. :distribution_qc_copy_number => "-",
  791. :distribution_qc_five_prime_lr_pcr => "-",
  792. :distribution_qc_five_prime_sr_pcr => "-",
  793. :distribution_qc_three_prime_sr_pcr => "-",
  794. :distribution_qc_thawing => "-",
  795. :user_qc_southern_blot => "-",
  796. :user_qc_map_test => "-",
  797. :user_qc_karyotype => "-",
  798. :user_qc_tv_backbone_assay => "-",
  799. :user_qc_five_prime_lr_pcr => "-",
  800. :user_qc_loss_of_wt_allele => "-",
  801. :user_qc_neo_count_qpcr => "-",
  802. :user_qc_lacz_sr_pcr => "-",
  803. :user_qc_five_prime_cassette_integrity => "-",
  804. :user_qc_neo_sr_pcr => "-",
  805. :user_qc_mutant_specific_sr_pcr => "-",
  806. :user_qc_loxp_confirmation => "-",
  807. :user_qc_three_prime_lr_pcr => "-"
  808. },
  809. {
  810. :name => "EPD0027_2_G01",
  811. :allele_symbol_superscript => "tm1e(EUCOMM)Wtsi",
  812. :allele_type => "Targeted Non-Conditional",
  813. :parental_cell_line => "JM8.N4",
  814. :targeting_vector => "PGS00019_A_B11",
  815. :cassette => "L1L2_gt2",
  816. :cassette_type => "Promotorless",
  817. :"mouse?" => "no",
  818. :qc_count => 3,
  819. :production_qc_five_prime_screen => "pass",
  820. :production_qc_loxp_screen => "not confirmed",
  821. :production_qc_three_prime_screen => "pass",
  822. :production_qc_loss_of_allele => "-",
  823. :production_qc_vector_integrity => "-",
  824. :distribution_qc_karyotype_high => "-",
  825. :distribution_qc_karyotype_low => "-",
  826. :distribution_qc_copy_number => "-",
  827. :distribution_qc_five_prime_lr_pcr => "-",
  828. :distribution_qc_five_prime_sr_pcr => "-",
  829. :distribution_qc_three_prime_sr_pcr => "-",
  830. :distribution_qc_thawing => "-",
  831. :user_qc_southern_blot => "-",
  832. :user_qc_map_test => "-",
  833. :user_qc_karyotype => "-",
  834. :user_qc_tv_backbone_assay => "-",
  835. :user_qc_five_prime_lr_pcr => "-",
  836. :user_qc_loss_of_wt_allele => "-",
  837. :user_qc_neo_count_qpcr => "-",
  838. :user_qc_lacz_sr_pcr => "-",
  839. :user_qc_five_prime_cassette_integrity => "-",
  840. :user_qc_neo_sr_pcr => "-",
  841. :user_qc_mutant_specific_sr_pcr => "-",
  842. :user_qc_loxp_confirmation => "-",
  843. :user_qc_three_prime_lr_pcr => "-"
  844. },
  845. {
  846. :name