Summary
Some data types (e.g., MAF, SV, others) include a reference genome build field such as NCBI_Build. Today, the importer only logs a warning when the genome build in the file does not match the study’s configured genome build. This can lead to silent inconsistencies or downstream errors.
This issue proposes enforcing strict validation: if a record’s genome build does not match the study’s genome build, the importer should throw an error and stop the load instead of continuing.
Problem Description
Many genomics file formats define a reference genome build. For example, in ImportExtendedMutationData, the loader currently checks the genome build like this:
if (!record.getNcbiBuild().equalsIgnoreCase(genomeBuildName)) {
ProgressMonitor.logWarning("Genome Build Name does not match, expecting " + genomeBuildName);
}
For all genome-build–aware datatypes (e.g., MAF, SV, others), the importer should fail fast.
Summary
Some data types (e.g., MAF, SV, others) include a reference genome build field such as
NCBI_Build. Today, the importer only logs a warning when the genome build in the file does not match the study’s configured genome build. This can lead to silent inconsistencies or downstream errors.This issue proposes enforcing strict validation: if a record’s genome build does not match the study’s genome build, the importer should throw an error and stop the load instead of continuing.
Problem Description
Many genomics file formats define a reference genome build. For example, in
ImportExtendedMutationData, the loader currently checks the genome build like this:For all genome-build–aware datatypes (e.g., MAF, SV, others), the importer should fail fast.