1 SET QUOTED_IDENTIFIER ON
8 select a.allele_id, a.rev_allele_id, a.allele, r.allele rev_allele
9 from dbo.Allele a (index (i_rev_allele_id)) join dbo.Allele r (index (pk_Allele)) on a.rev_allele_id = r.allele_id
12 SET QUOTED_IDENTIFIER OFF
18 SET QUOTED_IDENTIFIER ON
23 create view vwAllele_rev_flag (allele_id, rev_flag, fwd_allele_id, fwd_allele)
25 select allele_id, 0, allele_id, allele From Allele
27 select allele_id, 1, rev_allele_id, rev_allele from vwAllele
31 SET QUOTED_IDENTIFIER OFF
37 SET QUOTED_IDENTIFIER ON
45 select distinct m.motif_id, m.motif, r.motif_id rev_motif_id, r.motif rev_motif, m.last_updated_time
46 from Motif m join Motif r on m.motif_id = r.rev_motif_id
49 SET QUOTED_IDENTIFIER OFF
55 SET QUOTED_IDENTIFIER ON
60 create view vwMotif_rev ( motif_id, rev_flag, fwd_motif, fwd_motif_id)
62 /* log: 11/4/04 updated. when ref_flag=1, fwd_motif_id should be motif_id!
64 select motif_id, 0, motif, motif_id from Motif
66 select motif_id, 1, rev_motif, rev_motif_id from vwMotif
69 SET QUOTED_IDENTIFIER OFF
75 SET QUOTED_IDENTIFIER ON
80 CREATE VIEW dbo.vw_ABI_RsMergeArch
82 SELECT human_9606.dbo.RsMergeArch.* FROM human_9606.dbo.RsMergeArch union
83 SELECT mouse_10090.dbo.RsMergeArch.* FROM mouse_10090.dbo.RsMergeArch
87 SET QUOTED_IDENTIFIER OFF
93 SET QUOTED_IDENTIFIER ON
98 CREATE VIEW dbo.vw_ABI_SNP
100 SELECT ss.* FROM human_9606.dbo.SNP ss union
101 SELECT ss.* FROM mouse_10090.dbo.SNP ss
103 SET QUOTED_IDENTIFIER OFF
109 SET QUOTED_IDENTIFIER OFF
114 CREATE VIEW dbo.vw_ABI_SubSNP
117 FROM human_9606.dbo.SubSNP ss, human_9606.dbo.Batch b where b.handle = 'ABI' and b.batch_id = ss.batch_id union
119 FROM mouse_10090.dbo.SubSNP ss, mouse_10090.dbo.Batch b where b.handle = 'ABI' and b.batch_id = ss.batch_id
124 SET QUOTED_IDENTIFIER OFF
130 SET QUOTED_IDENTIFIER OFF
135 create view vw_BatchCita as
136 select * from arabidopsis_3702..BatchCita union
137 select * from bison_9901..BatchCita union
138 select * from blackbird_39638..BatchCita union
139 select * from bonobo_9597..BatchCita union
140 select * from chicken_9031..BatchCita union
141 select * from chimpanzee_9598..BatchCita union
142 select * from cooperia_27828..BatchCita union
143 select * from corn_4577..BatchCita union
144 select * from cow_30522..BatchCita union
145 select * from cow_9913..BatchCita union
146 select * from dog_9615..BatchCita union
147 select * from flycatcher_46689..BatchCita union
148 select * from flycatcher_59894..BatchCita union
149 select * from gorilla_9593..BatchCita union
150 select * from horse_9796..BatchCita union
151 select * from human_9606..BatchCita union
152 select * from macaque_9544..BatchCita union
153 select * from mosquito_7165..BatchCita union
154 select * from mouse_10090..BatchCita union
155 select * from mouse_spretus_10096..BatchCita union
156 select * from nematode_6239..BatchCita union
157 select * from orangutan_9600..BatchCita union
158 select * from pig_9823..BatchCita union
159 select * from pine_71647..BatchCita union
160 select * from plasmodium_5833..BatchCita union
161 select * from rat_10116..BatchCita union
162 select * from rat_10118..BatchCita union
163 select * from rice_4530..BatchCita union
164 select * from salmon_8030..BatchCita union
165 select * from sheep_9940..BatchCita union
166 select * from soybean_3847..BatchCita union
167 select * from sugarcane_128810..BatchCita union
168 select * from trematode_6183..BatchCita union
169 select * from tubeworm_216498..BatchCita union
170 select * from zebrafish_7955..BatchCita
173 SET QUOTED_IDENTIFIER OFF
179 SET QUOTED_IDENTIFIER OFF
184 create view vw_ContigExon as
185 select * from bison_9901..vw_ContigExon union
186 select * from chicken_9031..vw_ContigExon union
187 select * from chimpanzee_9598..vw_ContigExon union
188 select * from cow_30522..vw_ContigExon union
189 select * from cow_9913..vw_ContigExon union
190 select * from dog_9615..vw_ContigExon union
191 select * from human_9606..vw_ContigExon union
192 select * from mosquito_7165..vw_ContigExon union
193 select * from mouse_10090..vw_ContigExon union
194 select * from nematode_6239..vw_ContigExon union
195 select * from rat_10116..vw_ContigExon union
196 select * from rice_4530..vw_ContigExon union
197 select * from zebrafish_7955..vw_ContigExon
200 SET QUOTED_IDENTIFIER OFF
206 SET QUOTED_IDENTIFIER OFF
211 create view vw_ContigInfo as
212 select * from bison_9901..vw_ContigInfo union
213 select * from chicken_9031..vw_ContigInfo union
214 select * from chimpanzee_9598..vw_ContigInfo union
215 select * from cow_30522..vw_ContigInfo union
216 select * from cow_9913..vw_ContigInfo union
217 select * from dog_9615..vw_ContigInfo union
218 select * from human_9606..vw_ContigInfo union
219 select * from mosquito_7165..vw_ContigInfo union
220 select * from mouse_10090..vw_ContigInfo union
221 select * from nematode_6239..vw_ContigInfo union
222 select * from rat_10116..vw_ContigInfo union
223 select * from rice_4530..vw_ContigInfo union
224 select * from zebrafish_7955..vw_ContigInfo
227 SET QUOTED_IDENTIFIER OFF
233 SET QUOTED_IDENTIFIER OFF
238 CREATE VIEW dbo.vw_E_Maplink
240 select * from bison_9901..vw_MapLink union
241 select * from chicken_9031..vw_MapLink union
242 select * from chimpanzee_9598..vw_MapLink union
243 select * from cow_30522..vw_MapLink union
244 select * from cow_9913..vw_MapLink union
245 select * from dog_9615..vw_MapLink union
246 select * from human_9606..vw_E_MapLink union
247 select * from mosquito_7165..vw_MapLink union
248 select * from mouse_10090..vw_MapLink union
249 select * from nematode_6239..vw_MapLink union
250 select * from rat_10116..vw_MapLink union
251 select * from rice_4530..vw_MapLink union
252 select * from zebrafish_7955..vw_MapLink
256 SET QUOTED_IDENTIFIER OFF
262 SET QUOTED_IDENTIFIER OFF
267 create view vw_IndivSourceCode as select * from arabidopsis_3702..IndivSourceCode union select * from bee_7460..IndivSourceCode union select * from bison_9901..IndivSourceCode union select * from blackbird_39638..IndivSourceCode union select * from bonobo_9597..IndivSourceCode union select * from chicken_9031..IndivSourceCode union select * from chimpanzee_9598..IndivSourceCode union select * from cooperia_27828..IndivSourceCode union select * from corn_4577..IndivSourceCode union select * from cow_30522..IndivSourceCode union select * from cow_9913..IndivSourceCode union select * from dog_9615..IndivSourceCode union select * from flycatcher_46689..IndivSourceCode union select * from flycatcher_59894..IndivSourceCode union select * from fruitfly_7227..IndivSourceCode union select * from gorilla_9593..IndivSourceCode union select * from horse_9796..IndivSourceCode union select * from human_9606..IndivSourceCode union select * from macaque_9544..IndivSourceCode union select * from mosquito_7165..IndivSourceCode union select * from mouse_10090..IndivSourceCode union select * from mouse_spretus_10096..IndivSourceCode union select * from nematode_6239..IndivSourceCode union select * from orangutan_9600..IndivSourceCode union select * from pig_9823..IndivSourceCode union select * from pine_71647..IndivSourceCode union select * from plasmodium_5833..IndivSourceCode union select * from rat_10116..IndivSourceCode union select * from rat_10118..IndivSourceCode union select * from rice_4530..IndivSourceCode union select * from salmon_8030..IndivSourceCode union select * from sheep_9940..IndivSourceCode union select * from soybean_3847..IndivSourceCode union select * from sugarcane_128810..IndivSourceCode union select * from trematode_6183..IndivSourceCode union select * from trout_8022..IndivSourceCode union select * from tubeworm_216498..IndivSourceCode union select * from zebrafish_7955..IndivSourceCode
269 SET QUOTED_IDENTIFIER OFF
275 SET QUOTED_IDENTIFIER OFF
280 create view vw_MapLink as
281 select * from bison_9901..vw_MapLink union
282 select * from chicken_9031..vw_MapLink union
283 select * from chimpanzee_9598..vw_MapLink union
284 select * from cow_30522..vw_MapLink union
285 select * from cow_9913..vw_MapLink union
286 select * from dog_9615..vw_MapLink union
287 select * from human_9606..vw_MapLink union
288 select * from mosquito_7165..vw_MapLink union
289 select * from mouse_10090..vw_MapLink union
290 select * from nematode_6239..vw_MapLink union
291 select * from rat_10116..vw_MapLink union
292 select * from rice_4530..vw_MapLink union
293 select * from zebrafish_7955..vw_MapLink
296 SET QUOTED_IDENTIFIER OFF
302 SET QUOTED_IDENTIFIER OFF
307 create view vw_Pedigree as select * from arabidopsis_3702..Pedigree union select * from bee_7460..Pedigree union select * from bison_9901..Pedigree union select * from blackbird_39638..Pedigree union select * from bonobo_9597..Pedigree union select * from chicken_9031..Pedigree union select * from chimpanzee_9598..Pedigree union select * from cooperia_27828..Pedigree union select * from corn_4577..Pedigree union select * from cow_30522..Pedigree union select * from cow_9913..Pedigree union select * from dog_9615..Pedigree union select * from flycatcher_46689..Pedigree union select * from flycatcher_59894..Pedigree union select * from fruitfly_7227..Pedigree union select * from gorilla_9593..Pedigree union select * from horse_9796..Pedigree union select * from human_9606..Pedigree union select * from macaque_9544..Pedigree union select * from mosquito_7165..Pedigree union select * from mouse_10090..Pedigree union select * from mouse_spretus_10096..Pedigree union select * from nematode_6239..Pedigree union select * from orangutan_9600..Pedigree union select * from pig_9823..Pedigree union select * from pine_71647..Pedigree union select * from plasmodium_5833..Pedigree union select * from rat_10116..Pedigree union select * from rat_10118..Pedigree union select * from rice_4530..Pedigree union select * from salmon_8030..Pedigree union select * from sheep_9940..Pedigree union select * from soybean_3847..Pedigree union select * from sugarcane_128810..Pedigree union select * from trematode_6183..Pedigree union select * from trout_8022..Pedigree union select * from tubeworm_216498..Pedigree union select * from zebrafish_7955..Pedigree
309 SET QUOTED_IDENTIFIER OFF
315 SET QUOTED_IDENTIFIER OFF
320 create view vw_Population as select * from arabidopsis_3702..Population union select * from bee_7460..Population union select * from bison_9901..Population union select * from blackbird_39638..Population union select * from bonobo_9597..Population union select * from chicken_9031..Population union select * from chimpanzee_9598..Population union select * from cooperia_27828..Population union select * from corn_4577..Population union select * from cow_30522..Population union select * from cow_9913..Population union select * from dog_9615..Population union select * from flycatcher_46689..Population union select * from flycatcher_59894..Population union select * from gorilla_9593..Population union select * from horse_9796..Population union select * from human_9606..Population union select * from macaque_9544..Population union select * from mosquito_7165..Population union select * from mouse_10090..Population union select * from mouse_spretus_10096..Population union select * from nematode_6239..Population union select * from orangutan_9600..Population union select * from pig_9823..Population union select * from pine_71647..Population union select * from plasmodium_5833..Population union select * from rat_10116..Population union select * from rat_10118..Population union select * from rice_4530..Population union select * from salmon_8030..Population union select * from sheep_9940..Population union select * from soybean_3847..Population union select * from sugarcane_128810..Population union select * from trematode_6183..Population union select * from tubeworm_216498..Population union select * from zebrafish_7955..Population
322 SET QUOTED_IDENTIFIER OFF
328 SET QUOTED_IDENTIFIER ON
333 CREATE VIEW dbo.vw_ProteinInfo
335 select * from cat_9685.dbo.b127_ProteinInfo_1_1 union
336 select * from zebrafish_7955.dbo.b127_ProteinInfo_0_0 union
337 select * from human_9606.dbo.b127_ProteinInfo_36_2 union
338 select * from bee_7460.dbo.b127_ProteinInfo_0_0 union
339 select * from rice_4530.dbo.b127_ProteinInfo_0_0 union
340 select * from mosquito_7165.dbo.b127_ProteinInfo_0_0 union
341 select * from plasmodium_5833.dbo.b127_ProteinInfo_0_0 union
342 select * from chicken_9031.dbo.b127_ProteinInfo_0_0 union
343 select * from cow_30522.dbo.b127_ProteinInfo_3_1 union
344 select * from chimpanzee_9598.dbo.b127_ProteinInfo_2_1 union
345 select * from cow_9913.dbo.b127_ProteinInfo_3_1 union
346 select * from nematode_6239.dbo.b127_ProteinInfo_0_0 union
347 select * from bison_9901.dbo.b127_ProteinInfo_3_1
352 SET QUOTED_IDENTIFIER OFF
358 SET QUOTED_IDENTIFIER ON
363 CREATE VIEW dbo.vw_PubMedSNP
365 SELECT DISTINCT snp_id_cited AS snp_id, pmid, 0 AS score
366 FROM dbSNP_oper.yuguo.PubMedSNP
369 SET QUOTED_IDENTIFIER OFF
375 SET QUOTED_IDENTIFIER OFF
380 CREATE view vw_SNP3D as
381 select * from arabidopsis_3702..SNP3D union
382 select * from bee_7460..SNP3D union
383 select * from bison_9901..SNP3D union
384 select * from blackbird_39638..SNP3D union
385 select * from bonobo_9597..SNP3D union
386 select * from chicken_9031..SNP3D union
387 select * from chimpanzee_9598..SNP3D union
388 select * from cooperia_27828..SNP3D union
389 select * from corn_4577..SNP3D union
390 select * from cow_30522..SNP3D union
391 select * from cow_9913..SNP3D union
392 select * from dog_9615..SNP3D union
393 select * from flycatcher_46689..SNP3D union
394 select * from flycatcher_59894..SNP3D union
395 select * from gorilla_9593..SNP3D union
396 select * from horse_9796..SNP3D union
397 select * from human_9606..SNP3D union select * from macaque_9544..SNP3D union select * from mosquito_7165..SNP3D union select * from mouse_10090..SNP3D union select * from mouse_spretus_10096..SNP3D union select * from nematode_6239..SNP3D union select * from orangutan_9600..SNP3D union select * from pig_9823..SNP3D union select * from pine_71647..SNP3D union select * from plasmodium_5833..SNP3D union select * from rat_10116..SNP3D union select * from rat_10118..SNP3D union select * from rice_4530..SNP3D union select * from salmon_8030..SNP3D union select * from sheep_9940..SNP3D union select * from soybean_3847..SNP3D union select * from sugarcane_128810..SNP3D union select * from trematode_6183..SNP3D union select * from tubeworm_216498..SNP3D union select * from zebrafish_7955..SNP3D
404 SET QUOTED_IDENTIFIER OFF
410 SET QUOTED_IDENTIFIER OFF
415 CREATE view vw_SNPContigLoc as
416 select * from mosquito_7165..vw_SNPContigLoc
419 select * from bee_7460..vw_SNPContigLoc
422 select * from bison_9901..vw_SNPContigLoc
424 select * from cow_30522..vw_SNPContigLoc
426 select * from cow_9913..vw_SNPContigLoc
428 select * from nematode_6239..vw_SNPContigLoc
430 select * from dog_9615..vw_SNPContigLoc
432 select * from zebrafish_7955..vw_SNPContigLoc
434 select * from chicken_9031..vw_SNPContigLoc
436 select * from human_9606..vw_SNPContigLoc
438 select * from mouse_10090..vw_SNPContigLoc
440 select * from rice_4530..vw_SNPContigLoc
442 select * from chimpanzee_9598..vw_SNPContigLoc
444 select * from rat_10116..vw_SNPContigLoc
451 SET QUOTED_IDENTIFIER OFF
457 SET QUOTED_IDENTIFIER OFF
462 CREATE view [dbo].[vw_SNPContigLocusId] as
463 select * from mosquito_7165..vw_SNPContigLocusId
465 select * from bee_7460..vw_SNPContigLocusId
467 select * from bison_9901..vw_SNPContigLocusId
469 select * from cow_30522..vw_SNPContigLocusId
471 select * from cow_9913..vw_SNPContigLocusId
473 select * from nematode_6239..vw_SNPContigLocusId
475 select * from dog_9615..vw_SNPContigLocusId
477 select * from zebrafish_7955..vw_SNPContigLocusId
479 select * from chicken_9031..vw_SNPContigLocusId
481 select * from human_9606..vw_SNPContigLocusId
483 select * from mouse_10090..vw_SNPContigLocusId
485 select * from rice_4530..vw_SNPContigLocusId
487 select * from chimpanzee_9598..vw_SNPContigLocusId
489 select * from rat_10116..vw_SNPContigLocusId
494 SET QUOTED_IDENTIFIER OFF
500 SET QUOTED_IDENTIFIER OFF
505 create view vw_SNPMapInfo as
506 select * from bison_9901..vw_SNPMapInfo union
507 select * from chicken_9031..vw_SNPMapInfo union
508 select * from chimpanzee_9598..vw_SNPMapInfo union
509 select * from cow_30522..vw_SNPMapInfo union
510 select * from cow_9913..vw_SNPMapInfo union
511 select * from dog_9615..vw_SNPMapInfo union
512 select * from human_9606..vw_SNPMapInfo union
513 select * from mosquito_7165..vw_SNPMapInfo union
514 select * from mouse_10090..vw_SNPMapInfo union
515 select * from nematode_6239..vw_SNPMapInfo union
516 select * from rat_10116..vw_SNPMapInfo union
517 select * from rice_4530..vw_SNPMapInfo union
518 select * from zebrafish_7955..vw_SNPMapInfo
521 SET QUOTED_IDENTIFIER OFF
527 SET QUOTED_IDENTIFIER ON
532 CREATE VIEW dbo.vw_SNP_Organism
535 o.organism, o.tax_id, o.common_name, o.gpipe_abbr, o.create_time, o.last_updated_time, o.comment, o.division_cd, o.database_name,
536 o.short_common_name, o.tax_id_rank, o.species_tax_id, o.no_freq_summary, o.entrez_index, o.pub_genome_build
537 FROM dbo.SNP_tax_id AS s INNER JOIN
538 dbo.OrganismTax AS o ON s.tax_id = o.tax_id
541 SET QUOTED_IDENTIFIER OFF
547 SET QUOTED_IDENTIFIER OFF
552 create view vw_SnpInSts as
553 select * from arabidopsis_3702..SnpInSts union
554 select * from bison_9901..SnpInSts union
555 select * from blackbird_39638..SnpInSts union
556 select * from bonobo_9597..SnpInSts union
557 select * from chicken_9031..SnpInSts union
558 select * from chimpanzee_9598..SnpInSts union
559 select * from cooperia_27828..SnpInSts union
560 select * from corn_4577..SnpInSts union
561 select * from cow_30522..SnpInSts union
562 select * from cow_9913..SnpInSts union
563 select * from dog_9615..SnpInSts union
564 select * from flycatcher_46689..SnpInSts union
565 select * from flycatcher_59894..SnpInSts union
566 select * from gorilla_9593..SnpInSts union
567 select * from horse_9796..SnpInSts union
568 select * from human_9606..SnpInSts union
569 select * from macaque_9544..SnpInSts union
570 select * from mosquito_7165..SnpInSts union
571 select * from mouse_10090..SnpInSts union
572 select * from mouse_spretus_10096..SnpInSts union
573 select * from nematode_6239..SnpInSts union
574 select * from orangutan_9600..SnpInSts union
575 select * from pig_9823..SnpInSts union
576 select * from pine_71647..SnpInSts union
577 select * from plasmodium_5833..SnpInSts union
578 select * from rat_10116..SnpInSts union
579 select * from rat_10118..SnpInSts union
580 select * from rice_4530..SnpInSts union
581 select * from salmon_8030..SnpInSts union
582 select * from sheep_9940..SnpInSts union
583 select * from soybean_3847..SnpInSts union
584 select * from sugarcane_128810..SnpInSts union
585 select * from trematode_6183..SnpInSts union
586 select * from tubeworm_216498..SnpInSts union
587 select * from zebrafish_7955..SnpInSts
590 SET QUOTED_IDENTIFIER OFF
596 SET QUOTED_IDENTIFIER OFF
601 create view vw_SubSNPAcc as
602 select * from cow_30522..SubSNPAcc union
603 select * from cow_9913..SubSNPAcc union
604 select * from human_9606..SubSNPAcc union
605 select * from mouse_10090..SubSNPAcc union
606 select * from trout_8022..SubSNPAcc union
607 select * from arabidopsis_3702..SubSNPAcc union
608 select * from bison_9901..SubSNPAcc union
609 select * from blackbird_39638..SubSNPAcc union
610 select * from bonobo_9597..SubSNPAcc union
611 select * from chicken_9031..SubSNPAcc union
612 select * from chimpanzee_9598..SubSNPAcc union
613 select * from cooperia_27828..SubSNPAcc union
614 select * from corn_4577..SubSNPAcc union
615 select * from cow_30522..SubSNPAcc union
616 select * from cow_9913..SubSNPAcc union
617 select * from dog_9615..SubSNPAcc union
618 select * from flycatcher_46689..SubSNPAcc union
619 select * from flycatcher_59894..SubSNPAcc union
620 select * from gorilla_9593..SubSNPAcc union
621 select * from horse_9796..SubSNPAcc union
622 select * from human_9606..SubSNPAcc union
623 select * from macaque_9544..SubSNPAcc union
624 select * from mosquito_7165..SubSNPAcc union
625 select * from mouse_10090..SubSNPAcc union
626 select * from mouse_spretus_10096..SubSNPAcc union
627 select * from nematode_6239..SubSNPAcc union
628 select * from orangutan_9600..SubSNPAcc union
629 select * from pig_9823..SubSNPAcc union
630 select * from pine_71647..SubSNPAcc union
631 select * from plasmodium_5833..SubSNPAcc union
632 select * from rat_10116..SubSNPAcc union
633 select * from rat_10118..SubSNPAcc union
634 select * from rice_4530..SubSNPAcc union
635 select * from salmon_8030..SubSNPAcc union
636 select * from sheep_9940..SubSNPAcc union
637 select * from soybean_3847..SubSNPAcc union
638 select * from sugarcane_128810..SubSNPAcc union
639 select * from trematode_6183..SubSNPAcc union
640 select * from trout_8022..SubSNPAcc union
641 select * from tubeworm_216498..SubSNPAcc union
642 select * from zebrafish_7955..SubSNPAcc
645 SET QUOTED_IDENTIFIER OFF
651 SET QUOTED_IDENTIFIER OFF
656 create view vw_SubmittedIndividual as select * from arabidopsis_3702..SubmittedIndividual union select * from bee_7460..SubmittedIndividual union select * from bison_9901..SubmittedIndividual union select * from blackbird_39638..SubmittedIndividual union select * from bonobo_9597..SubmittedIndividual union select * from chicken_9031..SubmittedIndividual union select * from chimpanzee_9598..SubmittedIndividual union select * from cooperia_27828..SubmittedIndividual union select * from corn_4577..SubmittedIndividual union select * from cow_30522..SubmittedIndividual union select * from cow_9913..SubmittedIndividual union select * from dog_9615..SubmittedIndividual union select * from flycatcher_46689..SubmittedIndividual union select * from flycatcher_59894..SubmittedIndividual union select * from fruitfly_7227..SubmittedIndividual union select * from gorilla_9593..SubmittedIndividual union select * from horse_9796..SubmittedIndividual union select * from human_9606..SubmittedIndividual union select * from macaque_9544..SubmittedIndividual union select * from mosquito_7165..SubmittedIndividual union select * from mouse_10090..SubmittedIndividual union select * from mouse_spretus_10096..SubmittedIndividual union select * from nematode_6239..SubmittedIndividual union select * from orangutan_9600..SubmittedIndividual union select * from pig_9823..SubmittedIndividual union select * from pine_71647..SubmittedIndividual union select * from plasmodium_5833..SubmittedIndividual union select * from rat_10116..SubmittedIndividual union select * from rat_10118..SubmittedIndividual union select * from rice_4530..SubmittedIndividual union select * from salmon_74940..SubmittedIndividual union select * from salmon_8030..SubmittedIndividual union select * from sheep_9940..SubmittedIndividual union select * from soybean_3847..SubmittedIndividual union select * from sugarcane_128810..SubmittedIndividual union select * from trematode_6183..SubmittedIndividual union select * from trout_8022..SubmittedIndividual union select * from tubeworm_216498..SubmittedIndividual union select * from zebrafish_7955..SubmittedIndividual
658 SET QUOTED_IDENTIFIER OFF
664 SET QUOTED_IDENTIFIER ON
669 CREATE VIEW dbo.vw_Submitter
675 SET QUOTED_IDENTIFIER OFF
681 SET QUOTED_IDENTIFIER OFF
686 create view vw_all_Batch as select * from vw_all_Batch_part3 union all select * from vw_all_Batch_part2 union all select * from vw_all_Batch_part1
688 SET QUOTED_IDENTIFIER OFF
694 SET QUOTED_IDENTIFIER OFF
699 create view vw_all_BatchCita as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..BatchCita union all select *, 'bee_7460' as dbName from bee_7460..BatchCita union all select *, 'bison_9901' as dbName from bison_9901..BatchCita union all select *, 'blackbird_39638' as dbName from blackbird_39638..BatchCita union all select *, 'bonobo_9597' as dbName from bonobo_9597..BatchCita union all select *, 'chicken_9031' as dbName from chicken_9031..BatchCita union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..BatchCita union all select *, 'cooperia_27828' as dbName from cooperia_27828..BatchCita union all select *, 'corn_4577' as dbName from corn_4577..BatchCita union all select *, 'cow_30522' as dbName from cow_30522..BatchCita union all select *, 'cow_9913' as dbName from cow_9913..BatchCita union all select *, 'dog_9615' as dbName from dog_9615..BatchCita union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..BatchCita union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..BatchCita union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..BatchCita union all select *, 'gorilla_9593' as dbName from gorilla_9593..BatchCita union all select *, 'horse_9796' as dbName from horse_9796..BatchCita union all select *, 'human_9606' as dbName from human_9606..BatchCita union all select *, 'macaque_9544' as dbName from macaque_9544..BatchCita union all select *, 'mosquito_7165' as dbName from mosquito_7165..BatchCita union all select *, 'mouse_10090' as dbName from mouse_10090..BatchCita union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..BatchCita union all select *, 'nematode_6239' as dbName from nematode_6239..BatchCita union all select *, 'orangutan_9600' as dbName from orangutan_9600..BatchCita union all select *, 'pig_9823' as dbName from pig_9823..BatchCita union all select *, 'pine_71647' as dbName from pine_71647..BatchCita union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..BatchCita union all select *, 'rat_10116' as dbName from rat_10116..BatchCita union all select *, 'rat_10118' as dbName from rat_10118..BatchCita union all select *, 'rice_4530' as dbName from rice_4530..BatchCita union all select *, 'salmon_74940' as dbName from salmon_74940..BatchCita union all select *, 'salmon_8030' as dbName from salmon_8030..BatchCita union all select *, 'sheep_9940' as dbName from sheep_9940..BatchCita union all select *, 'soybean_3847' as dbName from soybean_3847..BatchCita union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..BatchCita union all select *, 'trematode_6183' as dbName from trematode_6183..BatchCita union all select *, 'trout_8022' as dbName from trout_8022..BatchCita union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..BatchCita union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..BatchCita uni
701 SET QUOTED_IDENTIFIER OFF
707 SET QUOTED_IDENTIFIER OFF
712 create view vw_all_Batch_part1 as select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'arabidopsis_3702' as dbName from arabidopsis_3702..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'barrel_medic_3880' as dbName from barrel_medic_3880..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'bee_7460' as dbName from bee_7460..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'bison_9901' as dbName from bison_9901..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'blackbird_39638' as dbName from blackbird_39638..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'bonobo_9597' as dbName from bonobo_9597..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'cat_9685' as dbName from cat_9685..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'chicken_9031' as dbName from chicken_9031..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'chimpanzee_9598' as dbName from chimpanzee_9598..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'chimpanzee_9598' as dbName from chimpanzee_9598..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'chimpanzee_9598' as dbName from chimpanzee_9598..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'cooperia_27828' as dbName from cooperia_27828..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'corn_4577' as dbName from corn_4577..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'cow_30522' as dbName from cow_30522..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'cow_9913' as dbName from cow_9913..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'dog_9615' as dbName from dog_9615..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'flycatcher_46689' as dbName from flycatcher_46689..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'flycatcher_59894' as dbName from flycatcher_59894..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'fruitfly_7227' as dbName from fruitfly_7227..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'fusarium_5518' as dbName from fusarium_5518..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'gorilla_9593' as dbName from gorilla_9593..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'gorilla_9593' as dbName from gorilla_9593..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'grape_29760' as dbName from grape_29760..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'horse_9796' as dbName from horse_9796..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'human_9606' as dbName from human_9606..Batch
714 SET QUOTED_IDENTIFIER OFF
720 SET QUOTED_IDENTIFIER OFF
725 create view vw_all_Batch_part2 as select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'macaque_9541' as dbName from macaque_9541..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'macaque_9544' as dbName from macaque_9544..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'mosquito_62324' as dbName from mosquito_62324..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'mosquito_7165' as dbName from mosquito_7165..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'mouse_10090' as dbName from mouse_10090..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'nematode_6238' as dbName from nematode_6238..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'nematode_6239' as dbName from nematode_6239..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'onion_4679' as dbName from onion_4679..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'opossum_13616' as dbName from opossum_13616..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'orangutan_9600' as dbName from orangutan_9600..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'pig_9823' as dbName from pig_9823..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'pine_71647' as dbName from pine_71647..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'plasmodium_5833' as dbName from plasmodium_5833..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'platypus_9258' as dbName from platypus_9258..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'rat_10116' as dbName from rat_10116..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'rat_10118' as dbName from rat_10118..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'rice_4530' as dbName from rice_4530..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'salmon_74940' as dbName from salmon_74940..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'salmon_8018' as dbName from salmon_8018..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'salmon_8019' as dbName from salmon_8019..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'salmon_8023' as dbName from salmon_8023..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'salmon_8030' as dbName from salmon_8030..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'sheep_9940' as dbName from sheep_9940..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'soybean_3847' as dbName from soybean_3847..Batch
727 SET QUOTED_IDENTIFIER OFF
733 SET QUOTED_IDENTIFIER OFF
738 create view vw_all_Batch_part3 as select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'sugarcane_128810' as dbName from sugarcane_128810..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'tilapia_8128' as dbName from tilapia_8128..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'tomato_4081' as dbName from tomato_4081..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'trematode_6183' as dbName from trematode_6183..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'trout_8022' as dbName from trout_8022..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'tubeworm_216498' as dbName from tubeworm_216498..Batch union all select batch_id,batch_type,handle,loc_batch_id,tax_id,build_id, method_id, submitted_time, 'zebrafish_7955' as dbName from zebrafish_7955..Batch
740 SET QUOTED_IDENTIFIER OFF
746 SET QUOTED_IDENTIFIER OFF
751 create view vw_all_IndivSourceCode as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..IndivSourceCode union all select *, 'bee_7460' as dbName from bee_7460..IndivSourceCode union all select *, 'bison_9901' as dbName from bison_9901..IndivSourceCode union all select *, 'blackbird_39638' as dbName from blackbird_39638..IndivSourceCode union all select *, 'bonobo_9597' as dbName from bonobo_9597..IndivSourceCode union all select *, 'chicken_9031' as dbName from chicken_9031..IndivSourceCode union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..IndivSourceCode union all select *, 'cooperia_27828' as dbName from cooperia_27828..IndivSourceCode union all select *, 'corn_4577' as dbName from corn_4577..IndivSourceCode union all select *, 'cow_30522' as dbName from cow_30522..IndivSourceCode union all select *, 'cow_9913' as dbName from cow_9913..IndivSourceCode union all select *, 'dog_9615' as dbName from dog_9615..IndivSourceCode union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..IndivSourceCode union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..IndivSourceCode union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..IndivSourceCode union all select *, 'gorilla_9593' as dbName from gorilla_9593..IndivSourceCode union all select *, 'horse_9796' as dbName from horse_9796..IndivSourceCode union all select *, 'human_9606' as dbName from human_9606..IndivSourceCode union all select *, 'macaque_9544' as dbName from macaque_9544..IndivSourceCode union all select *, 'mosquito_7165' as dbName from mosquito_7165..IndivSourceCode union all select *, 'mouse_10090' as dbName from mouse_10090..IndivSourceCode union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..IndivSourceCode union all select *, 'nematode_6239' as dbName from nematode_6239..IndivSourceCode union all select *, 'orangutan_9600' as dbName from orangutan_9600..IndivSourceCode union all select *, 'pig_9823' as dbName from pig_9823..IndivSourceCode union all select *, 'pine_71647' as dbName from pine_71647..IndivSourceCode union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..IndivSourceCode union all select *, 'rat_10116' as dbName from rat_10116..IndivSourceCode union all select *, 'rat_10118' as dbName from rat_10118..IndivSourceCode union all select *, 'rice_4530' as dbName from rice_4530..IndivSourceCode union all select *, 'salmon_74940' as dbName from salmon_74940..IndivSourceCode union all select *, 'salmon_8030' as dbName from salmon_8030..IndivSourceCode union all select *, 'sheep_9940' as dbName from sheep_9940..IndivSourceCode union all select *, 'soybean_3847' as dbName from soybean_3847..IndivSourceCode union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..IndivSourceCode union all select *, 'trematode_6183' as dbName from trematode_6183..IndivSourceCode union all select *, 'trout_8022' as dbName from trout_8022..IndivSourceCode union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..IndivSourceCode union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..IndivSourceCode uni
753 SET QUOTED_IDENTIFIER OFF
759 SET QUOTED_IDENTIFIER OFF
764 create view vw_all_Individual as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..Individual union all select *, 'bee_7460' as dbName from bee_7460..Individual union all select *, 'bison_9901' as dbName from bison_9901..Individual union all select *, 'blackbird_39638' as dbName from blackbird_39638..Individual union all select *, 'bonobo_9597' as dbName from bonobo_9597..Individual union all select *, 'chicken_9031' as dbName from chicken_9031..Individual union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..Individual union all select *, 'cooperia_27828' as dbName from cooperia_27828..Individual union all select *, 'corn_4577' as dbName from corn_4577..Individual union all select *, 'cow_30522' as dbName from cow_30522..Individual union all select *, 'cow_9913' as dbName from cow_9913..Individual union all select *, 'dog_9615' as dbName from dog_9615..Individual union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..Individual union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..Individual union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..Individual union all select *, 'gorilla_9593' as dbName from gorilla_9593..Individual union all select *, 'horse_9796' as dbName from horse_9796..Individual union all select *, 'human_9606' as dbName from human_9606..Individual union all select *, 'macaque_9544' as dbName from macaque_9544..Individual union all select *, 'mosquito_7165' as dbName from mosquito_7165..Individual union all select *, 'mouse_10090' as dbName from mouse_10090..Individual union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..Individual union all select *, 'nematode_6239' as dbName from nematode_6239..Individual union all select *, 'onion_4679' as dbName from onion_4679..Individual union all select *, 'orangutan_9600' as dbName from orangutan_9600..Individual union all select *, 'pig_9823' as dbName from pig_9823..Individual union all select *, 'pine_71647' as dbName from pine_71647..Individual union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..Individual union all select *, 'rat_10116' as dbName from rat_10116..Individual union all select *, 'rat_10118' as dbName from rat_10118..Individual union all select *, 'rice_4530' as dbName from rice_4530..Individual union all select *, 'salmon_74940' as dbName from salmon_74940..Individual union all select *, 'salmon_8018' as dbName from salmon_8018..Individual union all select *, 'salmon_8019' as dbName from salmon_8019..Individual union all select *, 'salmon_8023' as dbName from salmon_8023..Individual union all select *, 'salmon_8030' as dbName from salmon_8030..Individual union all select *, 'sheep_9940' as dbName from sheep_9940..Individual union all select *, 'soybean_3847' as dbName from soybean_3847..Individual union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..Individual union all select *, 'tilapia_8128' as dbName from tilapia_8128..Individual union all select *, 'trematode_6183' as dbName from trematode_6183..Individual union all select *, 'trout_8022' as dbName from trout_8022..Individual union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..Individual union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..Individual uni
766 SET QUOTED_IDENTIFIER OFF
772 SET QUOTED_IDENTIFIER OFF
777 create view vw_all_Pedigree as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..Pedigree union all select *, 'bee_7460' as dbName from bee_7460..Pedigree union all select *, 'bison_9901' as dbName from bison_9901..Pedigree union all select *, 'blackbird_39638' as dbName from blackbird_39638..Pedigree union all select *, 'bonobo_9597' as dbName from bonobo_9597..Pedigree union all select *, 'chicken_9031' as dbName from chicken_9031..Pedigree union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..Pedigree union all select *, 'cooperia_27828' as dbName from cooperia_27828..Pedigree union all select *, 'corn_4577' as dbName from corn_4577..Pedigree union all select *, 'cow_30522' as dbName from cow_30522..Pedigree union all select *, 'cow_9913' as dbName from cow_9913..Pedigree union all select *, 'dog_9615' as dbName from dog_9615..Pedigree union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..Pedigree union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..Pedigree union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..Pedigree union all select *, 'gorilla_9593' as dbName from gorilla_9593..Pedigree union all select *, 'horse_9796' as dbName from horse_9796..Pedigree union all select *, 'human_9606' as dbName from human_9606..Pedigree union all select *, 'macaque_9544' as dbName from macaque_9544..Pedigree union all select *, 'mosquito_7165' as dbName from mosquito_7165..Pedigree union all select *, 'mouse_10090' as dbName from mouse_10090..Pedigree union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..Pedigree union all select *, 'nematode_6239' as dbName from nematode_6239..Pedigree union all select *, 'onion_4679' as dbName from onion_4679..Pedigree union all select *, 'orangutan_9600' as dbName from orangutan_9600..Pedigree union all select *, 'pig_9823' as dbName from pig_9823..Pedigree union all select *, 'pine_71647' as dbName from pine_71647..Pedigree union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..Pedigree union all select *, 'rat_10116' as dbName from rat_10116..Pedigree union all select *, 'rat_10118' as dbName from rat_10118..Pedigree union all select *, 'rice_4530' as dbName from rice_4530..Pedigree union all select *, 'salmon_74940' as dbName from salmon_74940..Pedigree union all select *, 'salmon_8018' as dbName from salmon_8018..Pedigree union all select *, 'salmon_8019' as dbName from salmon_8019..Pedigree union all select *, 'salmon_8023' as dbName from salmon_8023..Pedigree union all select *, 'salmon_8030' as dbName from salmon_8030..Pedigree union all select *, 'sheep_9940' as dbName from sheep_9940..Pedigree union all select *, 'soybean_3847' as dbName from soybean_3847..Pedigree union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..Pedigree union all select *, 'tilapia_8128' as dbName from tilapia_8128..Pedigree union all select *, 'trematode_6183' as dbName from trematode_6183..Pedigree union all select *, 'trout_8022' as dbName from trout_8022..Pedigree union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..Pedigree union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..Pedigree uni
779 SET QUOTED_IDENTIFIER OFF
785 SET QUOTED_IDENTIFIER OFF
790 create view vw_all_PopLine as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..PopLine union all select *, 'bee_7460' as dbName from bee_7460..PopLine union all select *, 'bison_9901' as dbName from bison_9901..PopLine union all select *, 'blackbird_39638' as dbName from blackbird_39638..PopLine union all select *, 'bonobo_9597' as dbName from bonobo_9597..PopLine union all select *, 'chicken_9031' as dbName from chicken_9031..PopLine union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..PopLine union all select *, 'cooperia_27828' as dbName from cooperia_27828..PopLine union all select *, 'corn_4577' as dbName from corn_4577..PopLine union all select *, 'cow_30522' as dbName from cow_30522..PopLine union all select *, 'cow_9913' as dbName from cow_9913..PopLine union all select *, 'dog_9615' as dbName from dog_9615..PopLine union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..PopLine union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..PopLine union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..PopLine union all select *, 'gorilla_9593' as dbName from gorilla_9593..PopLine union all select *, 'horse_9796' as dbName from horse_9796..PopLine union all select *, 'human_9606' as dbName from human_9606..PopLine union all select *, 'macaque_9544' as dbName from macaque_9544..PopLine union all select *, 'mosquito_7165' as dbName from mosquito_7165..PopLine union all select *, 'mouse_10090' as dbName from mouse_10090..PopLine union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..PopLine union all select *, 'nematode_6239' as dbName from nematode_6239..PopLine union all select *, 'orangutan_9600' as dbName from orangutan_9600..PopLine union all select *, 'pig_9823' as dbName from pig_9823..PopLine union all select *, 'pine_71647' as dbName from pine_71647..PopLine union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..PopLine union all select *, 'rat_10116' as dbName from rat_10116..PopLine union all select *, 'rat_10118' as dbName from rat_10118..PopLine union all select *, 'rice_4530' as dbName from rice_4530..PopLine union all select *, 'salmon_74940' as dbName from salmon_74940..PopLine union all select *, 'salmon_8030' as dbName from salmon_8030..PopLine union all select *, 'sheep_9940' as dbName from sheep_9940..PopLine union all select *, 'soybean_3847' as dbName from soybean_3847..PopLine union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..PopLine union all select *, 'trematode_6183' as dbName from trematode_6183..PopLine union all select *, 'trout_8022' as dbName from trout_8022..PopLine union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..PopLine union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..PopLine uni
792 SET QUOTED_IDENTIFIER OFF
798 SET QUOTED_IDENTIFIER OFF
803 create view vw_all_Population as select * from vw_all_Population_part1
805 SET QUOTED_IDENTIFIER OFF
811 SET QUOTED_IDENTIFIER OFF
816 create view vw_all_Population_part1 as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..Population union all select *, 'bee_7460' as dbName from bee_7460..Population union all select *, 'bison_9901' as dbName from bison_9901..Population union all select *, 'blackbird_39638' as dbName from blackbird_39638..Population union all select *, 'bonobo_9597' as dbName from bonobo_9597..Population union all select *, 'chicken_9031' as dbName from chicken_9031..Population union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..Population union all select *, 'cooperia_27828' as dbName from cooperia_27828..Population union all select *, 'corn_4577' as dbName from corn_4577..Population union all select *, 'cow_30522' as dbName from cow_30522..Population union all select *, 'cow_9913' as dbName from cow_9913..Population union all select *, 'dog_9615' as dbName from dog_9615..Population union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..Population union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..Population union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..Population union all select *, 'gorilla_9593' as dbName from gorilla_9593..Population union all select *, 'horse_9796' as dbName from horse_9796..Population union all select *, 'human_9606' as dbName from human_9606..Population union all select *, 'macaque_9544' as dbName from macaque_9544..Population union all select *, 'mosquito_7165' as dbName from mosquito_7165..Population union all select *, 'mouse_10090' as dbName from mouse_10090..Population union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..Population union all select *, 'nematode_6239' as dbName from nematode_6239..Population union all select *, 'onion_4679' as dbName from onion_4679..Population union all select *, 'orangutan_9600' as dbName from orangutan_9600..Population union all select *, 'pig_9823' as dbName from pig_9823..Population union all select *, 'pine_71647' as dbName from pine_71647..Population union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..Population union all select *, 'rat_10116' as dbName from rat_10116..Population union all select *, 'rat_10118' as dbName from rat_10118..Population union all select *, 'rice_4530' as dbName from rice_4530..Population union all select *, 'salmon_74940' as dbName from salmon_74940..Population union all select *, 'salmon_8018' as dbName from salmon_8018..Population union all select *, 'salmon_8019' as dbName from salmon_8019..Population union all select *, 'salmon_8023' as dbName from salmon_8023..Population union all select *, 'salmon_8030' as dbName from salmon_8030..Population union all select *, 'sheep_9940' as dbName from sheep_9940..Population union all select *, 'soybean_3847' as dbName from soybean_3847..Population union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..Population union all select *, 'tilapia_8128' as dbName from tilapia_8128..Population union all select *, 'trematode_6183' as dbName from trematode_6183..Population union all select *, 'trout_8022' as dbName from trout_8022..Population union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..Population union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..Population
818 SET QUOTED_IDENTIFIER OFF
824 SET QUOTED_IDENTIFIER OFF
829 create view vw_all_RsMergeArch as select * from vw_all_RsMergeArch_part1
831 SET QUOTED_IDENTIFIER OFF
837 SET QUOTED_IDENTIFIER OFF
842 create view vw_all_RsMergeArch_part1 as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..RsMergeArch union all select *, 'bee_7460' as dbName from bee_7460..RsMergeArch union all select *, 'bison_9901' as dbName from bison_9901..RsMergeArch union all select *, 'blackbird_39638' as dbName from blackbird_39638..RsMergeArch union all select *, 'bonobo_9597' as dbName from bonobo_9597..RsMergeArch union all select *, 'chicken_9031' as dbName from chicken_9031..RsMergeArch union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..RsMergeArch union all select *, 'cooperia_27828' as dbName from cooperia_27828..RsMergeArch union all select *, 'corn_4577' as dbName from corn_4577..RsMergeArch union all select *, 'cow_30522' as dbName from cow_30522..RsMergeArch union all select *, 'cow_9913' as dbName from cow_9913..RsMergeArch union all select *, 'dog_9615' as dbName from dog_9615..RsMergeArch union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..RsMergeArch union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..RsMergeArch union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..RsMergeArch union all select *, 'gorilla_9593' as dbName from gorilla_9593..RsMergeArch union all select *, 'horse_9796' as dbName from horse_9796..RsMergeArch union all select *, 'human_9606' as dbName from human_9606..RsMergeArch union all select *, 'macaque_9544' as dbName from macaque_9544..RsMergeArch union all select *, 'mosquito_7165' as dbName from mosquito_7165..RsMergeArch union all select *, 'mouse_10090' as dbName from mouse_10090..RsMergeArch union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..RsMergeArch union all select *, 'nematode_6239' as dbName from nematode_6239..RsMergeArch union all select *, 'onion_4679' as dbName from onion_4679..RsMergeArch union all select *, 'orangutan_9600' as dbName from orangutan_9600..RsMergeArch union all select *, 'pig_9823' as dbName from pig_9823..RsMergeArch union all select *, 'pine_71647' as dbName from pine_71647..RsMergeArch union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..RsMergeArch union all select *, 'rat_10116' as dbName from rat_10116..RsMergeArch union all select *, 'rat_10118' as dbName from rat_10118..RsMergeArch union all select *, 'rice_4530' as dbName from rice_4530..RsMergeArch union all select *, 'salmon_74940' as dbName from salmon_74940..RsMergeArch union all select *, 'salmon_8018' as dbName from salmon_8018..RsMergeArch union all select *, 'salmon_8019' as dbName from salmon_8019..RsMergeArch union all select *, 'salmon_8023' as dbName from salmon_8023..RsMergeArch union all select *, 'salmon_8030' as dbName from salmon_8030..RsMergeArch union all select *, 'sheep_9940' as dbName from sheep_9940..RsMergeArch union all select *, 'soybean_3847' as dbName from soybean_3847..RsMergeArch union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..RsMergeArch union all select *, 'tilapia_8128' as dbName from tilapia_8128..RsMergeArch union all select *, 'trematode_6183' as dbName from trematode_6183..RsMergeArch union all select *, 'trout_8022' as dbName from trout_8022..RsMergeArch union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..RsMergeArch union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..RsMergeArch
844 SET QUOTED_IDENTIFIER OFF
850 SET QUOTED_IDENTIFIER OFF
855 create view vw_all_SNP as select * from vw_all_SNP_part1
857 SET QUOTED_IDENTIFIER OFF
863 SET QUOTED_IDENTIFIER OFF
868 create view vw_all_SNP_part1 as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..SNP union all select *, 'bee_7460' as dbName from bee_7460..SNP union all select *, 'bison_9901' as dbName from bison_9901..SNP union all select *, 'blackbird_39638' as dbName from blackbird_39638..SNP union all select *, 'bonobo_9597' as dbName from bonobo_9597..SNP union all select *, 'chicken_9031' as dbName from chicken_9031..SNP union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..SNP union all select *, 'cooperia_27828' as dbName from cooperia_27828..SNP union all select *, 'corn_4577' as dbName from corn_4577..SNP union all select *, 'cow_30522' as dbName from cow_30522..SNP union all select *, 'cow_9913' as dbName from cow_9913..SNP union all select *, 'dog_9615' as dbName from dog_9615..SNP union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..SNP union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..SNP union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..SNP union all select *, 'gorilla_9593' as dbName from gorilla_9593..SNP union all select *, 'horse_9796' as dbName from horse_9796..SNP union all select *, 'human_9606' as dbName from human_9606..SNP union all select *, 'macaque_9544' as dbName from macaque_9544..SNP union all select *, 'mosquito_7165' as dbName from mosquito_7165..SNP union all select *, 'mouse_10090' as dbName from mouse_10090..SNP union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..SNP union all select *, 'nematode_6239' as dbName from nematode_6239..SNP union all select *, 'onion_4679' as dbName from onion_4679..SNP union all select *, 'orangutan_9600' as dbName from orangutan_9600..SNP union all select *, 'pig_9823' as dbName from pig_9823..SNP union all select *, 'pine_71647' as dbName from pine_71647..SNP union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..SNP union all select *, 'rat_10116' as dbName from rat_10116..SNP union all select *, 'rat_10118' as dbName from rat_10118..SNP union all select *, 'rice_4530' as dbName from rice_4530..SNP union all select *, 'salmon_74940' as dbName from salmon_74940..SNP union all select *, 'salmon_8018' as dbName from salmon_8018..SNP union all select *, 'salmon_8019' as dbName from salmon_8019..SNP union all select *, 'salmon_8023' as dbName from salmon_8023..SNP union all select *, 'salmon_8030' as dbName from salmon_8030..SNP union all select *, 'sheep_9940' as dbName from sheep_9940..SNP union all select *, 'soybean_3847' as dbName from soybean_3847..SNP union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..SNP union all select *, 'tilapia_8128' as dbName from tilapia_8128..SNP union all select *, 'trematode_6183' as dbName from trematode_6183..SNP union all select *, 'trout_8022' as dbName from trout_8022..SNP union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..SNP union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..SNP
870 SET QUOTED_IDENTIFIER OFF
876 SET QUOTED_IDENTIFIER OFF
881 create view vw_all_SubPop as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..SubPop union all select *, 'bee_7460' as dbName from bee_7460..SubPop union all select *, 'bison_9901' as dbName from bison_9901..SubPop union all select *, 'blackbird_39638' as dbName from blackbird_39638..SubPop union all select *, 'bonobo_9597' as dbName from bonobo_9597..SubPop union all select *, 'chicken_9031' as dbName from chicken_9031..SubPop union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..SubPop union all select *, 'cooperia_27828' as dbName from cooperia_27828..SubPop union all select *, 'corn_4577' as dbName from corn_4577..SubPop union all select *, 'cow_30522' as dbName from cow_30522..SubPop union all select *, 'cow_9913' as dbName from cow_9913..SubPop union all select *, 'dog_9615' as dbName from dog_9615..SubPop union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..SubPop union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..SubPop union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..SubPop union all select *, 'gorilla_9593' as dbName from gorilla_9593..SubPop union all select *, 'horse_9796' as dbName from horse_9796..SubPop union all select *, 'human_9606' as dbName from human_9606..SubPop union all select *, 'macaque_9544' as dbName from macaque_9544..SubPop union all select *, 'mosquito_7165' as dbName from mosquito_7165..SubPop union all select *, 'mouse_10090' as dbName from mouse_10090..SubPop union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..SubPop union all select *, 'nematode_6239' as dbName from nematode_6239..SubPop union all select *, 'orangutan_9600' as dbName from orangutan_9600..SubPop union all select *, 'pig_9823' as dbName from pig_9823..SubPop union all select *, 'pine_71647' as dbName from pine_71647..SubPop union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..SubPop union all select *, 'rat_10116' as dbName from rat_10116..SubPop union all select *, 'rat_10118' as dbName from rat_10118..SubPop union all select *, 'rice_4530' as dbName from rice_4530..SubPop union all select *, 'salmon_74940' as dbName from salmon_74940..SubPop union all select *, 'salmon_8030' as dbName from salmon_8030..SubPop union all select *, 'sheep_9940' as dbName from sheep_9940..SubPop union all select *, 'soybean_3847' as dbName from soybean_3847..SubPop union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..SubPop union all select *, 'trematode_6183' as dbName from trematode_6183..SubPop union all select *, 'trout_8022' as dbName from trout_8022..SubPop union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..SubPop union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..SubPop uni
883 SET QUOTED_IDENTIFIER OFF
889 SET QUOTED_IDENTIFIER OFF
894 create view vw_all_SubSNP as select * from arabidopsis_3702..SubSNP union all select * from bee_7460..SubSNP union all select * from bison_9901..SubSNP union all select * from blackbird_39638..SubSNP union all select * from bonobo_9597..SubSNP union all select * from chicken_9031..SubSNP union all select * from chimpanzee_9598..SubSNP union all select * from cooperia_27828..SubSNP union all select * from corn_4577..SubSNP union all select * from cow_30522..SubSNP union all select * from cow_9913..SubSNP union all select * from dog_9615..SubSNP union all select * from flycatcher_46689..SubSNP union all select * from flycatcher_59894..SubSNP union all select * from fruitfly_7227..SubSNP union all select * from gorilla_9593..SubSNP union all select * from horse_9796..SubSNP union all select * from human_9606..SubSNP union all select * from macaque_9544..SubSNP union all select * from mosquito_7165..SubSNP union all select * from mouse_10090..SubSNP union all select * from mouse_spretus_10096..SubSNP union all select * from nematode_6239..SubSNP union all select * from orangutan_9600..SubSNP union all select * from pig_9823..SubSNP union all select * from pine_71647..SubSNP union all select * from plasmodium_5833..SubSNP union all select * from rat_10116..SubSNP union all select * from rat_10118..SubSNP union all select * from rice_4530..SubSNP union all select * from salmon_74940..SubSNP union all select * from salmon_8030..SubSNP union all select * from sheep_9940..SubSNP union all select * from soybean_3847..SubSNP union all select * from sugarcane_128810..SubSNP union all select * from trematode_6183..SubSNP union all select * from trout_8022..SubSNP union all select * from tubeworm_216498..SubSNP union all select * from zebrafish_7955..SubSNP uni
896 SET QUOTED_IDENTIFIER OFF
902 SET QUOTED_IDENTIFIER OFF
907 create view vw_all_SubSNPDeletedBySubmitter as select * from vw_all_SubSNPDeletedBySubmitter_part2 union all select * from vw_all_SubSNPDeletedBySubmitter_part1
909 SET QUOTED_IDENTIFIER OFF
915 SET QUOTED_IDENTIFIER OFF
920 create view vw_all_SubSNPDeletedBySubmitter_part1 as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..SubSNPDeletedBySubmitter union all select *, 'bee_7460' as dbName from bee_7460..SubSNPDeletedBySubmitter union all select *, 'bison_9901' as dbName from bison_9901..SubSNPDeletedBySubmitter union all select *, 'blackbird_39638' as dbName from blackbird_39638..SubSNPDeletedBySubmitter union all select *, 'bonobo_9597' as dbName from bonobo_9597..SubSNPDeletedBySubmitter union all select *, 'chicken_9031' as dbName from chicken_9031..SubSNPDeletedBySubmitter union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..SubSNPDeletedBySubmitter union all select *, 'cooperia_27828' as dbName from cooperia_27828..SubSNPDeletedBySubmitter union all select *, 'corn_4577' as dbName from corn_4577..SubSNPDeletedBySubmitter union all select *, 'cow_30522' as dbName from cow_30522..SubSNPDeletedBySubmitter union all select *, 'cow_9913' as dbName from cow_9913..SubSNPDeletedBySubmitter union all select *, 'dog_9615' as dbName from dog_9615..SubSNPDeletedBySubmitter union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..SubSNPDeletedBySubmitter union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..SubSNPDeletedBySubmitter union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..SubSNPDeletedBySubmitter union all select *, 'gorilla_9593' as dbName from gorilla_9593..SubSNPDeletedBySubmitter union all select *, 'horse_9796' as dbName from horse_9796..SubSNPDeletedBySubmitter union all select *, 'human_9606' as dbName from human_9606..SubSNPDeletedBySubmitter union all select *, 'macaque_9544' as dbName from macaque_9544..SubSNPDeletedBySubmitter union all select *, 'mosquito_62324' as dbName from mosquito_62324..SubSNPDeletedBySubmitter union all select *, 'mosquito_7165' as dbName from mosquito_7165..SubSNPDeletedBySubmitter union all select *, 'mouse_10090' as dbName from mouse_10090..SubSNPDeletedBySubmitter union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..SubSNPDeletedBySubmitter union all select *, 'nematode_6239' as dbName from nematode_6239..SubSNPDeletedBySubmitter union all select *, 'onion_4679' as dbName from onion_4679..SubSNPDeletedBySubmitter union all select *, 'orangutan_9600' as dbName from orangutan_9600..SubSNPDeletedBySubmitter union all select *, 'pig_9823' as dbName from pig_9823..SubSNPDeletedBySubmitter union all select *, 'pine_71647' as dbName from pine_71647..SubSNPDeletedBySubmitter union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..SubSNPDeletedBySubmitter union all select *, 'rat_10116' as dbName from rat_10116..SubSNPDeletedBySubmitter union all select *, 'rat_10118' as dbName from rat_10118..SubSNPDeletedBySubmitter union all select *, 'rice_4530' as dbName from rice_4530..SubSNPDeletedBySubmitter union all select *, 'salmon_74940' as dbName from salmon_74940..SubSNPDeletedBySubmitter union all select *, 'salmon_8018' as dbName from salmon_8018..SubSNPDeletedBySubmitter union all select *, 'salmon_8019' as dbName from salmon_8019..SubSNPDeletedBySubmitter union all select *, 'salmon_8023' as dbName from salmon_8023..SubSNPDeletedBySubmitter union all select *, 'salmon_8030' as dbName from salmon_8030..SubSNPDeletedBySubmitter union all select *, 'sheep_9940' as dbName from sheep_9940..SubSNPDeletedBySubmitter union all select *, 'soybean_3847' as dbName from soybean_3847..SubSNPDeletedBySubmitter union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..SubSNPDeletedBySubmitter union all select *, 'tilapia_8128' as dbName from tilapia_8128..SubSNPDeletedBySubmitter union all select *, 'trematode_6183' as dbName from trematode_6183..SubSNPDeletedBySubmitter
922 SET QUOTED_IDENTIFIER OFF
928 SET QUOTED_IDENTIFIER OFF
933 create view vw_all_SubSNPDeletedBySubmitter_part2 as select *, 'trout_8022' as dbName from trout_8022..SubSNPDeletedBySubmitter union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..SubSNPDeletedBySubmitter union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..SubSNPDeletedBySubmitter
935 SET QUOTED_IDENTIFIER OFF
941 SET QUOTED_IDENTIFIER OFF
946 create view vw_all_SubmittedIndividual as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..SubmittedIndividual union all select *, 'bee_7460' as dbName from bee_7460..SubmittedIndividual union all select *, 'bison_9901' as dbName from bison_9901..SubmittedIndividual union all select *, 'blackbird_39638' as dbName from blackbird_39638..SubmittedIndividual union all select *, 'bonobo_9597' as dbName from bonobo_9597..SubmittedIndividual union all select *, 'chicken_9031' as dbName from chicken_9031..SubmittedIndividual union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..SubmittedIndividual union all select *, 'cooperia_27828' as dbName from cooperia_27828..SubmittedIndividual union all select *, 'corn_4577' as dbName from corn_4577..SubmittedIndividual union all select *, 'cow_30522' as dbName from cow_30522..SubmittedIndividual union all select *, 'cow_9913' as dbName from cow_9913..SubmittedIndividual union all select *, 'dog_9615' as dbName from dog_9615..SubmittedIndividual union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..SubmittedIndividual union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..SubmittedIndividual union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..SubmittedIndividual union all select *, 'gorilla_9593' as dbName from gorilla_9593..SubmittedIndividual union all select *, 'horse_9796' as dbName from horse_9796..SubmittedIndividual union all select *, 'human_9606' as dbName from human_9606..SubmittedIndividual union all select *, 'macaque_9544' as dbName from macaque_9544..SubmittedIndividual union all select *, 'mosquito_7165' as dbName from mosquito_7165..SubmittedIndividual union all select *, 'mouse_10090' as dbName from mouse_10090..SubmittedIndividual union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..SubmittedIndividual union all select *, 'nematode_6239' as dbName from nematode_6239..SubmittedIndividual union all select *, 'orangutan_9600' as dbName from orangutan_9600..SubmittedIndividual union all select *, 'pig_9823' as dbName from pig_9823..SubmittedIndividual union all select *, 'pine_71647' as dbName from pine_71647..SubmittedIndividual union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..SubmittedIndividual union all select *, 'rat_10116' as dbName from rat_10116..SubmittedIndividual union all select *, 'rat_10118' as dbName from rat_10118..SubmittedIndividual union all select *, 'rice_4530' as dbName from rice_4530..SubmittedIndividual union all select *, 'salmon_74940' as dbName from salmon_74940..SubmittedIndividual union all select *, 'salmon_8018' as dbName from salmon_8018..SubmittedIndividual union all select *, 'salmon_8019' as dbName from salmon_8019..SubmittedIndividual union all select *, 'salmon_8023' as dbName from salmon_8023..SubmittedIndividual union all select *, 'salmon_8030' as dbName from salmon_8030..SubmittedIndividual union all select *, 'sheep_9940' as dbName from sheep_9940..SubmittedIndividual union all select *, 'soybean_3847' as dbName from soybean_3847..SubmittedIndividual union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..SubmittedIndividual union all select *, 'trematode_6183' as dbName from trematode_6183..SubmittedIndividual union all select *, 'trout_8022' as dbName from trout_8022..SubmittedIndividual union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..SubmittedIndividual union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..SubmittedIndividual uni
948 SET QUOTED_IDENTIFIER OFF
954 SET QUOTED_IDENTIFIER OFF
959 create view vw_all_dn_batchCount as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..dn_batchCount union all select *, 'bee_7460' as dbName from bee_7460..dn_batchCount union all select *, 'bison_9901' as dbName from bison_9901..dn_batchCount union all select *, 'blackbird_39638' as dbName from blackbird_39638..dn_batchCount union all select *, 'bonobo_9597' as dbName from bonobo_9597..dn_batchCount union all select *, 'chicken_9031' as dbName from chicken_9031..dn_batchCount union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..dn_batchCount union all select *, 'cooperia_27828' as dbName from cooperia_27828..dn_batchCount union all select *, 'corn_4577' as dbName from corn_4577..dn_batchCount union all select *, 'cow_30522' as dbName from cow_30522..dn_batchCount union all select *, 'cow_9913' as dbName from cow_9913..dn_batchCount union all select *, 'dog_9615' as dbName from dog_9615..dn_batchCount union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..dn_batchCount union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..dn_batchCount union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..dn_batchCount union all select *, 'gorilla_9593' as dbName from gorilla_9593..dn_batchCount union all select *, 'horse_9796' as dbName from horse_9796..dn_batchCount union all select *, 'human_9606' as dbName from human_9606..dn_batchCount union all select *, 'macaque_9544' as dbName from macaque_9544..dn_batchCount union all select *, 'mosquito_7165' as dbName from mosquito_7165..dn_batchCount union all select *, 'mouse_10090' as dbName from mouse_10090..dn_batchCount union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..dn_batchCount union all select *, 'nematode_6239' as dbName from nematode_6239..dn_batchCount union all select *, 'orangutan_9600' as dbName from orangutan_9600..dn_batchCount union all select *, 'pig_9823' as dbName from pig_9823..dn_batchCount union all select *, 'pine_71647' as dbName from pine_71647..dn_batchCount union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..dn_batchCount union all select *, 'rat_10116' as dbName from rat_10116..dn_batchCount union all select *, 'rat_10118' as dbName from rat_10118..dn_batchCount union all select *, 'rice_4530' as dbName from rice_4530..dn_batchCount union all select *, 'salmon_74940' as dbName from salmon_74940..dn_batchCount union all select *, 'salmon_8018' as dbName from salmon_8018..dn_batchCount union all select *, 'salmon_8019' as dbName from salmon_8019..dn_batchCount union all select *, 'salmon_8023' as dbName from salmon_8023..dn_batchCount union all select *, 'salmon_8030' as dbName from salmon_8030..dn_batchCount union all select *, 'sheep_9940' as dbName from sheep_9940..dn_batchCount union all select *, 'soybean_3847' as dbName from soybean_3847..dn_batchCount union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..dn_batchCount union all select *, 'trematode_6183' as dbName from trematode_6183..dn_batchCount union all select *, 'trout_8022' as dbName from trout_8022..dn_batchCount union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..dn_batchCount union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..dn_batchCount uni
961 SET QUOTED_IDENTIFIER OFF
967 SET QUOTED_IDENTIFIER OFF
972 create view vw_all_dn_handleCount as select * from vw_all_dn_handleCount_part2 union all select * from vw_all_dn_handleCount_part1
974 SET QUOTED_IDENTIFIER OFF
980 SET QUOTED_IDENTIFIER OFF
985 create view vw_all_dn_handleCount_part1 as select *, 'arabidopsis_3702' as dbName from arabidopsis_3702..dn_handleCount union all select *, 'barrel_medic_3880' as dbName from barrel_medic_3880..dn_handleCount union all select *, 'bee_7460' as dbName from bee_7460..dn_handleCount union all select *, 'bison_9901' as dbName from bison_9901..dn_handleCount union all select *, 'blackbird_39638' as dbName from blackbird_39638..dn_handleCount union all select *, 'bonobo_9597' as dbName from bonobo_9597..dn_handleCount union all select *, 'cat_9685' as dbName from cat_9685..dn_handleCount union all select *, 'chicken_9031' as dbName from chicken_9031..dn_handleCount union all select *, 'chimpanzee_9598' as dbName from chimpanzee_9598..dn_handleCount union all select *, 'cooperia_27828' as dbName from cooperia_27828..dn_handleCount union all select *, 'corn_4577' as dbName from corn_4577..dn_handleCount union all select *, 'cow_30522' as dbName from cow_30522..dn_handleCount union all select *, 'cow_9913' as dbName from cow_9913..dn_handleCount union all select *, 'dog_9615' as dbName from dog_9615..dn_handleCount union all select *, 'flycatcher_46689' as dbName from flycatcher_46689..dn_handleCount union all select *, 'flycatcher_59894' as dbName from flycatcher_59894..dn_handleCount union all select *, 'fruitfly_7227' as dbName from fruitfly_7227..dn_handleCount union all select *, 'fusarium_5518' as dbName from fusarium_5518..dn_handleCount union all select *, 'goat_9925' as dbName from goat_9925..dn_handleCount union all select *, 'gorilla_9593' as dbName from gorilla_9593..dn_handleCount union all select *, 'grape_29760' as dbName from grape_29760..dn_handleCount union all select *, 'horse_9796' as dbName from horse_9796..dn_handleCount union all select *, 'human_9606' as dbName from human_9606..dn_handleCount union all select *, 'macaque_9541' as dbName from macaque_9541..dn_handleCount union all select *, 'macaque_9544' as dbName from macaque_9544..dn_handleCount union all select *, 'mosquito_62324' as dbName from mosquito_62324..dn_handleCount union all select *, 'mosquito_7165' as dbName from mosquito_7165..dn_handleCount union all select *, 'mouse_10090' as dbName from mouse_10090..dn_handleCount union all select *, 'mouse_spretus_10096' as dbName from mouse_spretus_10096..dn_handleCount union all select *, 'nematode_51029' as dbName from nematode_51029..dn_handleCount union all select *, 'nematode_6238' as dbName from nematode_6238..dn_handleCount union all select *, 'nematode_6239' as dbName from nematode_6239..dn_handleCount union all select *, 'onion_4679' as dbName from onion_4679..dn_handleCount union all select *, 'opossum_13616' as dbName from opossum_13616..dn_handleCount union all select *, 'orangutan_9600' as dbName from orangutan_9600..dn_handleCount union all select *, 'pig_9823' as dbName from pig_9823..dn_handleCount union all select *, 'pine_71647' as dbName from pine_71647..dn_handleCount union all select *, 'plasmodium_5833' as dbName from plasmodium_5833..dn_handleCount union all select *, 'platypus_9258' as dbName from platypus_9258..dn_handleCount union all select *, 'rat_10116' as dbName from rat_10116..dn_handleCount union all select *, 'rat_10118' as dbName from rat_10118..dn_handleCount union all select *, 'rice_4530' as dbName from rice_4530..dn_handleCount union all select *, 'salmon_74940' as dbName from salmon_74940..dn_handleCount union all select *, 'salmon_8018' as dbName from salmon_8018..dn_handleCount union all select *, 'salmon_8019' as dbName from salmon_8019..dn_handleCount union all select *, 'salmon_8023' as dbName from salmon_8023..dn_handleCount union all select *, 'salmon_8030' as dbName from salmon_8030..dn_handleCount
987 SET QUOTED_IDENTIFIER OFF
993 SET QUOTED_IDENTIFIER OFF
998 create view vw_all_dn_handleCount_part2 as select *, 'sheep_9940' as dbName from sheep_9940..dn_handleCount union all select *, 'soybean_3847' as dbName from soybean_3847..dn_handleCount union all select *, 'staphylococcus_1280' as dbName from staphylococcus_1280..dn_handleCount union all select *, 'sugarcane_128810' as dbName from sugarcane_128810..dn_handleCount union all select *, 'tilapia_8128' as dbName from tilapia_8128..dn_handleCount union all select *, 'tomato_4081' as dbName from tomato_4081..dn_handleCount union all select *, 'trematode_6183' as dbName from trematode_6183..dn_handleCount union all select *, 'trout_8022' as dbName from trout_8022..dn_handleCount union all select *, 'tubeworm_216498' as dbName from tubeworm_216498..dn_handleCount union all select *, 'white_shrimp_6689' as dbName from white_shrimp_6689..dn_handleCount union all select *, 'zebrafish_7955' as dbName from zebrafish_7955..dn_handleCount union all select *, 'zostera_29655' as dbName from zostera_29655..dn_handleCount
1000 SET QUOTED_IDENTIFIER OFF
1006 SET QUOTED_IDENTIFIER ON
1011 CREATE VIEW dbo.vw_snp_nucleotide
1013 select * from human_9606..vw_snp_nucleotide
1016 select * from mosquito_7165..vw_snp_nucleotide
1018 select * from bee_7460..vw_snp_nucleotide
1020 select * from bison_9901..vw_snp_nucleotide
1022 select * from cow_30522..vw_snp_nucleotide
1024 select * from cow_9913..vw_snp_nucleotide
1026 select * from nematode_6239..vw_snp_nucleotide
1028 select * from dog_9615..vw_snp_nucleotide
1030 select * from zebrafish_7955..vw_snp_nucleotide
1032 select * from chicken_9031..vw_snp_nucleotide
1034 select * from mouse_10090..vw_snp_nucleotide
1036 select * from rice_4530..vw_snp_nucleotide
1038 select * from chimpanzee_9598..vw_snp_nucleotide
1040 select * from rat_10116..vw_snp_nucleotide
1046 SET QUOTED_IDENTIFIER OFF