-
Notifications
You must be signed in to change notification settings - Fork 242
Add support for SQ-AN in SAMSequenceDictionary #956 #1474
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
a578c0e
Add support for SQ-AN in SAMSequenceDictionary
magicDGS e67bef4
Fix XML seralization
magicDGS 6c5e363
Add test to uncovered new code
magicDGS a35977a
Address minor comments
magicDGS c248b66
Handle AN tag in the attributes map
magicDGS 1fe2de8
Fix regular expression (and add tests failing previously)
magicDGS e6d8846
- commandeering this PR.
1a0e643
- commandeering this PR.
80d336b
- order of modifiers
96ce429
-responding to review comments.
aee6964
-responding to review comments.
58bb1de
added test
db9c8f9
review comments.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmn, do we have to worry about alias name collisions when merging dicionaries?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as written, it will only merge dictionaries if all the tags agree (when present). this (implicitly) includes the AN tag, so the two dictionaries will have to have the same alternative names. So as written it is safe.
If we want the method to merge the following contigs:
dict1:
@sn ID=name1 AN=n1
and dict2:
@sn ID=n1 AN=name1
or even with dict3:
@sn ID=nana1 AN=name1
then some additional smarts would have to be written....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's probably a good idea provided the md5's are the same, but it can be a different pr...