-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: default metadata fields for ENA API v2.0 #148
Conversation
Dev -> Master for 1.4 release
Dev -> Master for 1.5 release
Dev -> Master for 1.6 release
Dev -> Master for v1.7 release
Dev -> Master for v1.8 release
Dev -> Master for v1.9 release
|
"run_accession", | ||
"experiment_accession", | ||
"sample_accession", | ||
"secondary_sample_accession", | ||
"study_accession", | ||
"secondary_study_accession", | ||
"parent_study", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than removing parent_study
, might it be sensible to use the renamed version of this field, parent_study_accession
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parent_study_accession
is not a valid field in the run metadata available. This will throw an error so I've omitted it entirely. There does not seem to be a similar renamed field available.
@@ -84,7 +82,6 @@ | |||
"sample_title", | |||
"experiment_title", | |||
"study_title", | |||
"description", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description
field is not among the list of changed fields in the ENA Portal API changes document that you linked. Is this an unannounced change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it. I believe this was replaced with sample_description
exclusively.
Great work Esha, thanks! |
ENA API was just updated as of 05/02/2023. Portal API spec for v2.0 has changed and is breaking the pipeline currently. This PR updates the default metadata fields fetched from ENA to match the new spec and updates the fields used to create
id_mappings.csv
.PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).