{"size": 9432, "ext": "js", "max_stars_repo_path": "public/js/p3/widget/ColumnsGenome.js", "max_stars_repo_name": "BV-BRC/bvbrc_website", "max_stars_repo_stars_event_min_datetime": "2021-08-30T16:24:18.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-14T17:15:22.000Z", "max_issues_repo_path": "public/js/p3/widget/ColumnsGenome.js", "max_issues_repo_name": "chris-c-thomas/bvbrc_website", "max_issues_repo_issues_event_min_datetime": "2021-08-02T18:09:27.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-18T18:19:32.000Z", "max_forks_repo_path": "public/js/p3/widget/ColumnsGenome.js", "max_forks_repo_name": "chris-c-thomas/bvbrc_website", "max_forks_repo_forks_event_min_datetime": "2020-05-14T18:49:47.000Z", "max_forks_repo_forks_event_max_datetime": "2021-06-15T15:48:15.000Z"}
{"max_stars_count": 2, "max_issues_count": 19, "max_forks_count": 14, "avg_line_length": 19.8568421053, "max_line_length": 46, "alphanum_fraction": 0.5271416455}
define(['./formatter'], function (formatter) {

  return {
    genome_id: {
      label: 'Genome ID',
      field: 'genome_id',
      hidden: true
    },
    genome_name: {
      label: 'Genome Name',
      // field: 'genome_name',
      get: function (item) {
        return item;
      },
      formatter: formatter.genomeName,
      hidden: true
    },
    other_names: {
      label: 'Other Names',
      field: 'other_names',
      hidden: true
    },

    taxon_id: {
      label: 'NCBI Taxon ID',
      field: 'taxon_id',
      hidden: true
    },
    taxon_lineage_ids: {
      label: 'Taxon Lineage IDs',
      field: 'taxon_lineage_ids',
      hidden: true
    },
    taxon_lineage_names: {
      label: 'Taxon Lineage Names',
      field: 'taxon_lineage_names',
      hidden: true
    },
    superkingdom: {
      label: 'Superkingdom',
      field: 'superkingdom',
      hidden: true
    },
    kingdom: {
      label: 'Kingdom',
      field: 'kingdom',
      hidden: true
    },
    phylum: {
      label: 'Phylum',
      field: 'phylum',
      hidden: true
    },
    class: {
      label: 'Class',
      field: 'class',
      hidden: true
    },
    order: {
      label: 'Order',
      field: 'order',
      hidden: true
    },
    family: {
      label: 'Family',
      field: 'family',
      hidden: true
    },
    genus: {
      label: 'Genus',
      field: 'genus',
      hidden: true
    },
    species: {
      label: 'Species',
      field: 'species',
      hidden: false
    },

    strain: {
      label: 'Strain',
      field: 'strain',
      hidden: false
    },

    genome_status: {
      label: 'Genome Status',
      field: 'genome_status',
      hidden: false
    },

    genome_quality: {
      label: 'Genome Quality',
      field: 'genome_quality',
      hidden: false
    },


    serovar: {
      label: 'Serovar',
      field: 'serovar',
      hidden: true
    },
    biovar: {
      label: 'Biovar',
      field: 'biovar',
      hidden: true
    },
    pathovar: {
      label: 'Pathovar',
      field: 'pathovar',
      hidden: true
    },
    mlst: {
      label: 'MLST',
      field: 'mlst',
      hidden: true
    },
    segment: {
      label: 'Segment',
      field: 'segment',
      hidden: true
    },
    subtype: {
      label: 'Subtype',
      field: 'subtype',
      hidden: true
    },
    h_type: {
      label: 'H_type',
      field: 'h_type',
      hidden: true
    },
    n_type: {
      label: 'N_type',
      field: 'n_type',
      hidden: true
    },
    lineage: {
      label: 'Lineage',
      field: 'lineage',
      hidden: true
    },
    clade: {
      label: 'Clade',
      field: 'clade',
      hidden: true
    },
    subclade: {
      label: 'Subclade',
      field: 'subclade',
      hidden: true
    },
    other_typing: {
      label: 'Other Typing',
      field: 'other_typing',
      hidden: true
    },
    culture_collection: {
      label: 'Culture Collection',
      field: 'culture_collection',
      hidden: true
    },
    type_strain: {
      label: 'Type Strain',
      field: 'type_strain',
      hidden: true
    },
    reference_genome: {
      label: 'Reference',
      field: 'reference_genome',
      hidden: true
    },

    completion_date: {
      label: 'Completion Date',
      field: 'completion_date',
      formatter: formatter.dateOnly,
      hidden: true
    },
    publication: {
      label: 'Publication',
      field: 'publication',
      hidden: true
    },
    authors: {
      label: 'Authors',
      field: 'authors',
      hidden: true
    },
    bioproject_accession: {
      label: 'BioProject Accession',
      field: 'bioproject_accession',
      hidden: true
    },
    biosample_accession: {
      label: 'BioSample Accession',
      field: 'biosample_accession',
      hidden: true
    },
    assembly_accession: {
      label: 'Assembly Accession',
      field: 'assembly_accession',
      hidden: true
    },
    sra_accession: {
      label: 'SRA Accession',
      name: 'sra_accession',
      hidden: true
    },
    genbank_accessions: {
      label: 'GenBank Accessions',
      field: 'genbank_accessions',
      hidden: false
    },

    sequencing_centers: {
      label: 'Sequencing Center',
      field: 'sequencing_centers',
      hidden: true
    },
    sequencing_status: {
      label: 'Sequencing Status',
      name: 'sequencing_status',
      hidden: true
    },
    sequencing_platform: {
      label: 'Sequencing Platform',
      field: 'sequencing_platform',
      hidden: true
    },
    sequencing_depth: {
      label: 'Sequencing Depth',
      field: 'sequencing_depth',
      hidden: true
    },
    assembly_method: {
      label: 'Assembly Method',
      field: 'assembly_method',
      hidden: true
    },


    chromosomes: {
      label: 'Chromosome',
      field: 'chromosomes',
      hidden: true
    },
    plasmids: {
      label: 'Plasmids',
      field: 'plasmids',
      hidden: true
    },
    segments: {
      label: 'Segments',
      field: 'Segments',
      hidden: true
    },
    contigs: {
      label: 'Contigs',
      field: 'contigs',
      hidden: true
    },
    genome_length: {
      label: 'Size',
      field: 'genome_length',
      hidden: false
    },
    gc_content: {
      label: 'GC Content',
      field: 'gc_content',
      hidden: true
    },
    contig_l50: {
      label: 'Contig L50',
      name: 'contig_l50',
      hidden: true
    },
    contig_n50: {
      label: 'Contig N50',
      name: 'contig_n50',
      hidden: true
    },

    trna: {
      label: 'TRNA',
      name: 'trna',
      hidden: true
    },
    rrna: {
      label: 'RRNA',
      name: 'rrna',
      hidden: true
    },
    mat_peptide: {
      label: 'Mat Peptide',
      field: 'mat_peptide',
      hidden: true
    },
    cds: {
      label: 'CDS',
      name: 'cds',
      hidden: false
    },

    coarse_consistency: {
      label: 'Coarse Consistency',
      field: 'coarse_consistency',
      hidden: true
    },
    fine_consistency: {
      label: 'Fine Consistency',
      field: 'fine_consistency',
      hidden: true
    },
    checkm_completeness: {
      label: 'CheckM Completeness',
      field: 'checkm_completeness',
      hidden: true
    },
    checkm_contamination: {
      label: 'CheckM Contamination',
      field: 'checkm_contamination',
      hidden: true
    },
    genome_quality_flags: {
      label: 'Genome Quality Flags',
      field: 'genome_quality_flags',
      hidden: true,
      sortable: false
    },

    isolation_source: {
      label: 'Isolation Source',
      field: 'isolation_source',
      hidden: true
    },
    isolation_comments: {
      label: 'Isolation Comments',
      field: 'isolation_comments',
      hidden: true,
      sortable: false
    },
    collection_date: {
      label: 'Collection Date',
      field: 'collection_date',
      hidden: true
    },
    collection_year: {
      label: 'Collection Year',
      field: 'collection_year',
      hidden: false
    },
    season: {
      label: 'Season',
      field: 'season',
      hidden: true
    },

    isolation_country: {
      label: 'Isolation Country',
      field: 'isolation_country',
      hidden: false
    },
    geographic_group: {
      label: 'Geographic Group',
      field: 'geographic_group',
      hidden: true
    },
    geographic_location: {
      label: 'Geographic Location',
      field: 'geographic_location',
      hidden: true
    },
    other_environmental: {
      label: 'Other Environmental',
      field: 'other_environmental',
      hidden: true,
      sortable: false
    },
    host_name: {
      label: 'Host Name',
      field: 'host_name',
      hidden: true
    },
    host_common_name: {
      label: 'Host Common Name',
      field: 'host_common_name',
      hidden: false
    },
    host_gender: {
      label: 'Host Gender',
      field: 'host_gender',
      hidden: true
    },
    host_age: {
      label: 'Host Age',
      field: 'host_age',
      hidden: true
    },
    host_health: {
      label: 'Host Health',
      field: 'host_health',
      hidden: true
    },
    host_group: {
      label: 'Host Group',
      field: 'host_group',
      hidden: true
    },
    lab_host: {
      label: 'Lab Host',
      field: 'lab_host',
      hidden: true
    },
    passage: {
      label: 'Passage',
      field: 'passage',
      hidden: true
    },
    other_clinical: {
      label: 'Other Clinical',
      field: 'other_clinical',
      hidden: true
    },

    additional_metadata: {
      label: 'Additional Metadata',
      field: 'additional_metadata',
      hidden: true,
      sortable: false
    },

    comments: {
      label: 'Comments',
      field: 'comments',
      hidden: true,
      sortable: false
    },

    date_inserted: {
      label: 'Date Inserted',
      field: 'date_inserted',
      hidden: true,
      formatter: formatter.dateOnly
    },
    date_modified: {
      label: 'Date Modified',
      field: 'date_modified',
      hidden: true,
      formatter: formatter.dateOnly
    },

    'public': {
      label: 'Public',
      field: 'public',
      hidden: true
    },
    owner: {
      label: 'Owner',
      field: 'owner',
      formatter: formatter.baseUsername,
      hidden: true
    },
    members: {
      label: 'Members (shared with)',
      get: function (item) {
        return item;
      },
      formatter: formatter.genomeMembers,
      hidden: true
    },
  };
});
