Skip to content

Make vg giraffe error when the minimizers or zipcodes are older than the distance index#4886

Open
adamnovak wants to merge 4 commits intomasterfrom
index-age-error
Open

Make vg giraffe error when the minimizers or zipcodes are older than the distance index#4886
adamnovak wants to merge 4 commits intomasterfrom
index-age-error

Conversation

@adamnovak
Copy link
Copy Markdown
Member

Changelog Entry

To be copied to the draft changelog by merger:

  • vg giraffe will now stop with an error when the minimizers or zipcodes are older than the distance index they were supposedly generated from.

Description

We wasted some time trying to map reads with the wrong distance index, which didn't go with the minimizers and zipcodes files, because it had been replaced later.

This adds an error to Giraffe in that case. We might want to demote it to a warning if we run into a lot of trouble with downloading these files from places in the wrong order and not preserving their modification times, inside of workflows.

@adamnovak
Copy link
Copy Markdown
Member Author

We probably should extend/replace this with hashing the distance index and hiding the hash in the minimizer/zipcode file tags, like we do for the "graph name".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant