Include corresponding gca/gcf accession in the metadata of each sample
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 559
- Forks
- 70
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
Thanks again for this amazing tool!
I download all influenza A sequences using
datasets download virus genome taxon 11320 --filename data.zip
I would like to group all influenza A segments that come from the same assembly/isolate. I have been using the isolate metadata field for this purpose but it is a work-around and not always available. I noticed that I could download all assemblies to see which samples are in an assembly (sadly this information is not included in the assembly summary field). But I'm having issues with a download of this size. Having the gca accession in the sample metadata (data_report.jsonl) would really simplify this process and give me greater certainty that I have grouped segments together correctly.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Each assembly contains =<8 influenza segments that were sequenced together. Each assembly has a unique ID. For each nucleotide sequence that is in an assembly I would like to see the gca/gfa accession as a metadata field in the data_report.jsonl so I could use it for grouping samples.
Thank you
Thanks for your feedback--your feature requests help improve NCBI Datasets.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the datasets download virus genome taxon command and the generation of data_report.jsonl; the issue does not name implementation files or tests. Determine where assembly membership is available for each nucleotide sequence, then verify that the corresponding gca/gcf accession is emitted as metadata for every applicable influenza segment.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100