Rename the "genotype VCF" import classes: they mean a VCF imported with samples, not one with GT calls
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reading upload/tasks/vcf/genotype_vcf_tasks.py and tracing the listed factory, task, and processor names to find their references. Check how UploadStep.script stores task paths and how deployment settings list finish-task classes; define done as the names clearly distinguishing sample imports from variants-only imports while existing and in-flight pipeline steps remain resolvable.
Written by the indexing model from the issue text.
Description
🤖 Written by Claude
In the upload code "genotype VCF" does not mean a VCF with GT calls. It means the import that builds the sample side of the model - a VCF, its Samples, a Cohort and a CohortGenotypeCollection with one CohortGenotype row per variant - as opposed to the variants-only imports (liftover, insert-variants-only, manual entry) that insert Variant rows and none of that.
A sites-only VCF (no FORMAT/sample columns) already runs down this path: genotype_vcf_processor_factory picks BulkNoGenotypeVCFProcessor, which writes the cohort genotype rows with unknown zygosity. The "create as sample" manual variant entry (#2719, PR #2720) subclasses ImportCreateVCFModelForGenotypeVCFTask for the same reason, and the name made reviewers ask why a sample with no genotypes uses a genotype task.
The family carrying the word:
upload/tasks/vcf/genotype_vcf_tasks.pyGenotypeVCFImportFactoryImportCreateVCFModelForGenotypeVCFTaskProcessGenotypeVCFDataTaskBulkGenotypeVCFProcessor/BulkNoGenotypeVCFProcessorgenotype_vcf_processor_factory
Something like "sample VCF" vs "variants-only VCF" would say what the split actually is.
Cost
UploadStep.script stores the task's dotted class path, so pipeline steps already in the database (retries, in-flight imports) would point at names that no longer exist. A rename needs either the old names kept as aliases, or a data migration over upload_uploadstep.script (and settings.FINISH_IMPORT_VCF_STEP_TASKS_CLASSES in deployment settings).
- Dominant language
- Python
- Stars
- 31
- Forks
- 4
- Avg merge
- 4h 52m
- Merged PRs (30d)
- 183
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from SACGF/variantgrid
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
SACGF/variantgrid#2964 · 1 comment ·
Maintainers usually reply within 1 day
-
Genome build now duplicated in "imported as" on allele pagePossibly taken @TheMadBug claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
SACGF/variantgrid#2950 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
SACGF/variantgrid#2865 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SACGF/variantgrid#2647 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
SACGF/variantgrid#2341 · 3 comments ·
Maintainers usually reply within 1 day
All issues in SACGF/variantgrid
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day