-
Notifications
You must be signed in to change notification settings - Fork 308
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
Adding utilities for read trimming. #248
Conversation
All automated tests passed. |
@@ -197,7 +199,7 @@ record ADAMGenotype { | |||
union { null, VariantCallingAnnotations } variantCallingAnnotations = null; | |||
|
|||
// Sample-level data, i.e. data specific to this particular sample | |||
union { null, string } sampleId = null; | |||
string sampleId; |
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.
Shouldn't this be an optional field?
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.
Hmmm, something went screwy with the rebase here. Let me fix this...
All automated tests passed. |
// we should trim the first and last 5 bases off all reads | ||
trimmed.collect.foreach(r => { | ||
assert(r.getBasesTrimmedFromStart === 5) | ||
assert(r.getBasesTrimmedFromStart === 5) |
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.
Do you mean getBasesTrimmedFromEnd
here?
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, yes, I do... I'll fix this.
Are we still maintaining updates to the CHANGES file(s) as part of a pull request? |
@tdanford I believe we've dropped the CHANGES.txt, and are just keeping the CHANGES.md. However, CHANGES.md should probably be updated via the script whenever we do a release. |
All automated tests passed. |
Frank, I think you've got some rebasing to do -- it looks like there are some commits in this branch that are duplicated from master, right? |
@tdanford correct; not sure how that happened... |
@tdanford this is rebased now, thanks for the heads up! |
Again! I just merged Matt's edit to CONTRIBUTING.md, you're still out of date! :-) |
@tdanford u r rebase troll :'( Re-rebased... |
I like my commit histories like I like my spaces: linear. |
Okay, a more substantive comment: Frank, do you have somewhere (comments? a change file?) where you can write a little bit about the motivation behind these trimming additions? Are you trying to recreate specific functionality from Picard (I'm thinking the MergeBamAlignments command, but maybe something else)? From somewhere else? Does this satisfy a requirement or need for avocado or variant calling in particular? I understand there are a lot of reasons why one might "trim" reads, I'm just hoping for a little context here. |
All automated tests passed. |
All automated tests passed. |
Adding utilities for read trimming.
Thanks, Frank! |
This pull request adds a few utilities for read trimming, as a first start towards read error correction. This pull request contains: