Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nr.gz database downloading bug #35

Merged
merged 1 commit into from
Apr 2, 2020
Merged

Conversation

evanroyrees
Copy link
Collaborator

  • Found an issue with check_dbs where autometa will loook for nr.dmnd.md5 and if it is not found, will update nr. However, when nr is updated, the nr.dmnd.md5 is never written.
  • Fixed file path handling to be less arch specific
  • updated variables for readability.

…lting in always downloading nr.gz.Fixed file path handling to be less arch specific and updated variables for readability.
@evanroyrees evanroyrees added the hotfix bug causing issues in main that should be resolved immediately label Apr 2, 2020
@evanroyrees evanroyrees requested a review from jason-c-kwan April 2, 2020 18:50
Copy link
Collaborator

@jason-c-kwan jason-c-kwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've tested this right?

@evanroyrees
Copy link
Collaborator Author

This has not been performance tested outside of running the script to see if any error messages were emitted.

@jason-c-kwan
Copy link
Collaborator

Do you at least know if the error is corrected? From looking through the code it seems to look for nr.gz.md5 now instead of nr.dmnd.md5. Is that correct?

@evanroyrees
Copy link
Collaborator Author

There exists an nr.gz checksum on NCBI's FTP server (See here nr.gz.md5 Where the diamond formatted database checksum is not hosted anywhere.

@jason-c-kwan
Copy link
Collaborator

OK, well after I merge, please check with the user that this fixes their problem.

@jason-c-kwan jason-c-kwan merged commit 25a19d2 into KwanLab:master Apr 2, 2020
@evanroyrees evanroyrees deleted the hotfix branch April 3, 2020 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotfix bug causing issues in main that should be resolved immediately
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants