|
| 1 | +import { ORGANISM_PLOIDY } from "../brc-analytics-catalog/common/schema-entities"; |
| 2 | + |
| 3 | +export type GA2Catalog = GA2AssemblyEntity | GA2OrganismEntity; |
| 4 | + |
| 5 | +export interface GA2AssemblyEntity { |
| 6 | + accession: string; |
| 7 | + annotationStatus: string | null; |
| 8 | + chromosomes: number | null; |
| 9 | + coverage: string | null; |
| 10 | + gcPercent: number | null; |
| 11 | + geneModelUrl: string | null; |
| 12 | + isRef: "No" | "Yes"; |
| 13 | + length: number; |
| 14 | + level: string; |
| 15 | + lineageTaxonomyIds: string[]; |
| 16 | + ncbiTaxonomyId: string; |
| 17 | + ploidy: ORGANISM_PLOIDY[]; |
| 18 | + scaffoldCount: number | null; |
| 19 | + scaffoldL50: number | null; |
| 20 | + scaffoldN50: number | null; |
| 21 | + speciesTaxonomyId: string; |
| 22 | + sra_data: SRAData[]; |
| 23 | + strainName: string | null; |
| 24 | + taxonomicGroup: string[]; |
| 25 | + taxonomicLevelClass: string; |
| 26 | + taxonomicLevelDomain: string; |
| 27 | + taxonomicLevelFamily: string; |
| 28 | + taxonomicLevelGenus: string; |
| 29 | + taxonomicLevelKingdom: string; |
| 30 | + taxonomicLevelOrder: string; |
| 31 | + taxonomicLevelPhylum: string; |
| 32 | + taxonomicLevelSpecies: string; |
| 33 | + taxonomicLevelStrain: string; |
| 34 | + tolId: string; |
| 35 | + ucscBrowserUrl: string | null; |
| 36 | +} |
| 37 | + |
| 38 | +export interface GA2OrganismEntity { |
| 39 | + assemblyCount: number; |
| 40 | + assemblyTaxonomyIds: string[]; |
| 41 | + genomes: GA2AssemblyEntity[]; |
| 42 | + maxScaffoldN50: number | null; |
| 43 | + ncbiTaxonomyId: string; |
| 44 | + taxonomicGroup: string[]; |
| 45 | + taxonomicLevelClass: string; |
| 46 | + taxonomicLevelDomain: string; |
| 47 | + taxonomicLevelFamily: string; |
| 48 | + taxonomicLevelGenus: string; |
| 49 | + taxonomicLevelKingdom: string; |
| 50 | + taxonomicLevelOrder: string; |
| 51 | + taxonomicLevelPhylum: string; |
| 52 | + taxonomicLevelSpecies: string; |
| 53 | + tolId: string; |
| 54 | +} |
| 55 | + |
| 56 | +export interface SRAData { |
| 57 | + accession: string; |
| 58 | + biosample: string; |
| 59 | + instrument: string; |
| 60 | + library_layout: string; |
| 61 | + library_source: string; |
| 62 | + library_strategy: string; |
| 63 | + platform: string; |
| 64 | + run_total_bases: number | null; |
| 65 | + sra_run_acc: string; |
| 66 | + sra_sample_acc: string; |
| 67 | + sra_study_acc: string; |
| 68 | + total_bases: number | null; |
| 69 | +} |
0 commit comments