Open MattWellie opened 4 months ago
https://github.com/populationgenomics/metamist/blob/4ae0883d5031f9d49d3edecce24e4f887e1d431e/models/models/analysis.py#L20
Could we add an extra field to Analysis entries... 'source', or... something to that effect?
Some Analysis types are produced by multiple different pipeline stages, and often when querying I'm interested in a specific source, e.g. https://github.com/populationgenomics/production-pipelines-configuration/blob/main/config/gatk-sv/find_samples_to_batch.py#L64
If we had this populated as a native Analysis attribute there would be fewer instances where the whole Meta is required. Common values I can image for this field:
source=Align
source=GATK-SV
Not sure if this is a good idea
https://github.com/populationgenomics/metamist/blob/4ae0883d5031f9d49d3edecce24e4f887e1d431e/models/models/analysis.py#L20
Could we add an extra field to Analysis entries... 'source', or... something to that effect?
Some Analysis types are produced by multiple different pipeline stages, and often when querying I'm interested in a specific source, e.g. https://github.com/populationgenomics/production-pipelines-configuration/blob/main/config/gatk-sv/find_samples_to_batch.py#L64
If we had this populated as a native Analysis attribute there would be fewer instances where the whole Meta is required. Common values I can image for this field:
source=Align
source=GATK-SV
Not sure if this is a good idea