generate from homologs with hf#9
Merged
Merged
Conversation
Collaborator
samirchar
commented
Apr 28, 2025
- Created a new script to generate from homologs with hf based on query_from_homologs.
- New script lets users specify a pattern for msa files or a list of file names. Also included argumets to avoid hardcoding, like msa min seqs msa, max seqs msa, max sequence length
- For tracking left query_from_homologs untouched and moved to analysis
| parser.add_argument("--include-pattern", type=str, default="*", help="glob pattern for MSA files to include from the directory.") | ||
| parser.add_argument("--msa-file-names",nargs='*', type=str, default=None, help="List of MSA file names to include.") | ||
| parser.add_argument("--max-length", type=int, default=768, help="The maximum length of the generated text.") | ||
| parser.add_argument("--max-seqs-msa", type=int, default=57, help="The maximum number of sequences in an MSA.") |
Contributor
There was a problem hiding this comment.
does the max test msa contain 57 sequences, or should this default to 64?
same q about min
Collaborator
Author
There was a problem hiding this comment.
I used the hard-coded values Kevin had in the original query from homologue script here: https://github.com/microsoft/dayhoff/blob/main/analysis/query_from_homologs.py
If these are incorrect, let me know and I can change them
Contributor
There was a problem hiding this comment.
noted - will look into this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.