-- DBMS: bigquery
CREATE TABLE `spider2-public-data.1000_genomes.sample_info`
(
  Sample STRING,
  Family_ID STRING,
  Population STRING,
  Population_Description STRING,
  Gender STRING,
  Relationship STRING,
  Unexpected_Parent_Child STRING,
  Non_Paternity STRING,
  Siblings STRING,
  Grandparents STRING,
  Avuncular STRING,
  Half_Siblings STRING,
  Unknown_Second_Order STRING,
  Third_Order STRING,
  In_Low_Coverage_Pilot BOOL,
  LC_Pilot_Platforms STRING,
  LC_Pilot_Centers STRING,
  In_High_Coverage_Pilot BOOL,
  HC_Pilot_Platforms STRING,
  HC_Pilot_Centers STRING,
  In_Exon_Targetted_Pilot BOOL,
  ET_Pilot_Platforms STRING,
  ET_Pilot_Centers STRING,
  Has_Sequence_in_Phase1 BOOL,
  Phase1_LC_Platform STRING,
  Phase1_LC_Centers STRING,
  Phase1_E_Platform STRING,
  Phase1_E_Centers STRING,
  In_Phase1_Integrated_Variant_Set BOOL,
  Has_Phase1_chrY_SNPS BOOL,
  Has_phase1_chrY_Deletions BOOL,
  Has_phase1_chrMT_SNPs BOOL,
  Main_project_LC_Centers STRING,
  Main_project_LC_platform STRING,
  Total_LC_Sequence FLOAT64,
  LC_Non_Duplicated_Aligned_Coverage FLOAT64,
  Main_Project_E_Centers STRING,
  Main_Project_E_Platform STRING,
  Total_Exome_Sequence FLOAT64,
  X_Targets_Covered_to_20x_or_greater FLOAT64,
  VerifyBam_E_Omni_Free FLOAT64,
  VerifyBam_E_Affy_Free FLOAT64,
  VerifyBam_E_Omni_Chip FLOAT64,
  VerifyBam_E_Affy_Chip FLOAT64,
  VerifyBam_LC_Omni_Free FLOAT64,
  VerifyBam_LC_Affy_Free FLOAT64,
  VerifyBam_LC_Omni_Chip FLOAT64,
  VerifyBam_LC_Affy_Chip FLOAT64,
  LC_Indel_Ratio FLOAT64,
  E_Indel_Ratio FLOAT64,
  LC_Passed_QC BOOL,
  E_Passed_QC BOOL,
  In_Final_Phase_Variant_Calling BOOL,
  Has_Omni_Genotypes BOOL,
  Has_Axiom_Genotypes BOOL,
  Has_Affy_6_0_Genotypes BOOL,
  Has_Exome_LOF_Genotypes BOOL,
  EBV_Coverage FLOAT64,
  DNA_Source_from_Coriell STRING,
  Has_Sequence_from_Blood_in_Index BOOL,
  Super_Population STRING,
  Super_Population_Description STRING
);

INSERT INTO `spider2-public-data.1000_genomes.sample_info` (Sample, Family_ID, Population, Population_Description, Gender, Relationship, Unexpected_Parent_Child, Non_Paternity, Siblings, Grandparents, Avuncular, Half_Siblings, Unknown_Second_Order, Third_Order, In_Low_Coverage_Pilot, LC_Pilot_Platforms, LC_Pilot_Centers, In_High_Coverage_Pilot, HC_Pilot_Platforms, HC_Pilot_Centers, In_Exon_Targetted_Pilot, ET_Pilot_Platforms, ET_Pilot_Centers, Has_Sequence_in_Phase1, Phase1_LC_Platform, Phase1_LC_Centers, Phase1_E_Platform, Phase1_E_Centers, In_Phase1_Integrated_Variant_Set, Has_Phase1_chrY_SNPS, Has_phase1_chrY_Deletions, Has_phase1_chrMT_SNPs, Main_project_LC_Centers, Main_project_LC_platform, Total_LC_Sequence, LC_Non_Duplicated_Aligned_Coverage, Main_Project_E_Centers, Main_Project_E_Platform, Total_Exome_Sequence, X_Targets_Covered_to_20x_or_greater, VerifyBam_E_Omni_Free, VerifyBam_E_Affy_Free, VerifyBam_E_Omni_Chip, VerifyBam_E_Affy_Chip, VerifyBam_LC_Omni_Free, VerifyBam_LC_Affy_Free, VerifyBam_LC_Omni_Chip, VerifyBam_LC_Affy_Chip, LC_Indel_Ratio, E_Indel_Ratio, LC_Passed_QC, E_Passed_QC, In_Final_Phase_Variant_Calling, Has_Omni_Genotypes, Has_Axiom_Genotypes, Has_Affy_6_0_Genotypes, Has_Exome_LOF_Genotypes, EBV_Coverage, DNA_Source_from_Coriell, Has_Sequence_from_Blood_in_Index, Super_Population, Super_Population_Description) VALUES ('HG03167', 'NG48', 'ESN', 'Esan in Nigeria', 'male', 'child', '', '', '', '', '', '', '', '', NULL, '', '', NULL, '', '', NULL, '', '', NULL, '', '', '', '', NULL, NULL, NULL, NULL, '', '', nan, nan, '', '', nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, NULL, NULL, NULL, NULL, NULL, True, NULL, nan, '', NULL, 'AFR', 'African'), ('HG03310', 'NG78', 'ESN', 'Esan in Nigeria', 'female', 'child', '', '', '', '', '', '', '', '', NULL, '', '', NULL, '', '', NULL, '', '', NULL, '', '', '', '', NULL, NULL, NULL, NULL, '', '', nan, nan, '', '', nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, NULL, NULL, NULL, NULL, NULL, True, NULL, nan, '', NULL, 'AFR', 'African'), ('HG02974', 'NG23', 'ESN', 'Esan in Nigeria', 'female', 'mother', '', '', '', '', '', '', '', '', NULL, '', '', NULL, '', '', NULL, '', '', NULL, '', '', '', '', NULL, NULL, NULL, NULL, 'BI', 'ILLUMINA', 32595580924.0, 10.17, 'BI', 'ILLUMINA', 7576615180.0, 0.917355, 0.00487, 0.00541, nan, 0.00543, 0.00263, 0.0038, nan, 0.00391, 1.3, 1.09, True, True, True, NULL, NULL, True, NULL, 92.29, 'LCL', NULL, 'AFR', 'African'), ('HG02938', 'NG11', 'ESN', 'Esan in Nigeria', 'male', 'father', '', '', '', '', '', '', '', '', NULL, '', '', NULL, '', '', NULL, '', '', NULL, '', '', '', '', NULL, NULL, NULL, NULL, 'ILLUMINA', 'ILLUMINA', 19321870100.0, 6.87, 'BGI', 'ILLUMINA', 11664276400.0, 0.937257, 0.00208, 0.00257, nan, 0.00262, 0.00018, 0.00101, nan, 0.00148, 0.82, 0.85, True, True, True, NULL, NULL, True, NULL, 145.22, 'LCL', NULL, 'AFR', 'African'), ('HG02943', 'NG13', 'ESN', 'Esan in Nigeria', 'female', 'mother', '', '', '', '', '', '', '', '', NULL, '', '', NULL, '', '', NULL, '', '', NULL, '', '', '', '', NULL, NULL, NULL, NULL, 'BI', 'ILLUMINA', 28887139482.0, 8.99, 'BI', 'ILLUMINA', 7616000964.0, 0.910363, 0.02364, 0.02372, nan, 0.02377, 0.0028, 0.00423, nan, 0.00421, 1.31, 0.89, True, True, True, NULL, NULL, True, NULL, 79.62, 'LCL', NULL, 'AFR', 'African');