Skip to content

Commit

Permalink
sra_run_accession is for per sequence not per segment
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Aug 13, 2024
1 parent 36b6995 commit 003340f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
8 changes: 1 addition & 7 deletions ena-submission/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,7 @@ organisms:
name: ncbi_virus_tax_id
type: int
- externalMetadataUpdater: ena
name: sra_run_accession_L
type: string
- externalMetadataUpdater: ena
name: sra_run_accession_M
type: string
- externalMetadataUpdater: ena
name: sra_run_accession_S
name: sra_run_accession
type: string
ebola-sudan:
ingest:
Expand Down
4 changes: 1 addition & 3 deletions ena-submission/test/ena_submission_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@
"total_ambiguous_nucs_L": 0,
"total_ambiguous_nucs_M": 0,
"total_ambiguous_nucs_S": 0,
"bioproject_accessions_L": null,
"bioproject_accessions_M": null,
"bioproject_accessions_S": null,
"bioproject_accession": null,
"food_product_properties": null,
"host_vaccination_status": null,
"quality_control_details": null,
Expand Down
2 changes: 1 addition & 1 deletion ingest/config/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ keep:
# Used to deduplicate samples
# Used for segmented viruses only
shared_fields:
- bioproject_accessions
- bioproject_accession
- biosample_accession
- geo_loc_country
- geo_loc_admin_1
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/loculus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ defaultOrganismConfig: &defaultOrganismConfig
noInput: true
perSegment: true
oneHeader: true
- name: bioproject_accessions
- name: bioproject_accession
customDisplay:
type: link
url: "https://www.ncbi.nlm.nih.gov/bioproject/__value__"
Expand Down Expand Up @@ -941,7 +941,6 @@ defaultOrganismConfig: &defaultOrganismConfig
header: "INSDC"
ingest: ncbi_sra_accessions
noInput: true
perSegment: true
- name: total_snps
type: int
header: "Alignment states and QC metrics"
Expand Down

0 comments on commit 003340f

Please sign in to comment.