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

ReferenceConfidenceModel and tests #1442

Merged
merged 1 commit into from
Feb 24, 2016
Merged

ReferenceConfidenceModel and tests #1442

merged 1 commit into from
Feb 24, 2016

Conversation

akiezun
Copy link
Contributor

@akiezun akiezun commented Jan 22, 2016

@vruano please review

fixes #733

@droazen
Copy link
Collaborator

droazen commented Jan 25, 2016

@akiezun There are several classes in here that I think should not be ported -- can we discuss in person when you have a free moment?

@akiezun
Copy link
Contributor Author

akiezun commented Jan 25, 2016

yes

On Mon, Jan 25, 2016 at 10:49 AM, droazen [email protected] wrote:

@akiezun https://github.com/akiezun There are several classes in here
that I think should not be ported -- can we discuss in person when you have
a free moment?


Reply to this email directly or view it on GitHub
#1442 (comment).

@akiezun
Copy link
Contributor Author

akiezun commented Jan 28, 2016

@droazen can you review? It should be straightforward. Let's keep the downsamplers for now and we'll fix this later

@akiezun akiezun assigned droazen and unassigned vruano Jan 28, 2016
@droazen
Copy link
Collaborator

droazen commented Jan 28, 2016

@vruano and I agreed that he will review everything in the haplotypecaller package, and I will review everything else.

/**
* AD field value for ref / non-ref
*/
private final int[] AD_Ref_Any = new int[2];
Copy link
Contributor

Choose a reason for hiding this comment

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

Change field name to something more standard like simply AD.

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually I would split it in to int variables. It seems that get_AD_Ref_Any() bellow is used in such a restricted manner that is better just to create a in[] array on demand down there rather that maintain the 2 position array as a field. So:

 private int refDepth = 0;
 private int nonRefDepth = 0;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

final AlignmentContext alignmentContext = li.next();
final ReadPileup p = alignmentContext.getBasePileup();
Assert.assertTrue(p.size() == 1);
// TODO -- fix tests
Copy link
Collaborator

Choose a reason for hiding this comment

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

Another TODO -- fix tests. Can we fix this now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

these just work now

@droazen
Copy link
Collaborator

droazen commented Feb 11, 2016

Review complete! Back to @akiezun

@droazen droazen assigned akiezun and unassigned droazen Feb 11, 2016
@akiezun
Copy link
Contributor Author

akiezun commented Feb 12, 2016

as discussed with @droazen, I'm not touching this PR until he's done with his experiment. Reassigning to make it clear that I'm not working on this.

@akiezun akiezun assigned droazen and unassigned akiezun Feb 12, 2016
@droazen
Copy link
Collaborator

droazen commented Feb 12, 2016

I've backed up the state of these HC branches and have started the process of merging them with my engine work into a runnable tool. Feel free to address code review comments whenever you like, as it won't affect my work now. Back to @akiezun

@akiezun
Copy link
Contributor Author

akiezun commented Feb 17, 2016

done with review. back to @droazen

@akiezun akiezun assigned droazen and unassigned akiezun Feb 17, 2016
@akiezun
Copy link
Contributor Author

akiezun commented Feb 19, 2016

@droazen I added FractionalDownsampler now in a separate commit

@droazen
Copy link
Collaborator

droazen commented Feb 24, 2016

@akiezun If you've addressed all my comments, please merge this -- it does not require a second-pass review, and I could use the GenomeLoc refactoring as part of cleanup in my HC branch.

@droazen droazen assigned akiezun and unassigned droazen Feb 24, 2016
@droazen
Copy link
Collaborator

droazen commented Feb 24, 2016

As discussed with @akiezun, I'll attempt the rebase and merge of this myself.

@droazen droazen assigned droazen and unassigned akiezun Feb 24, 2016
@droazen
Copy link
Collaborator

droazen commented Feb 24, 2016

Rebase complete -- waiting for tests

droazen added a commit that referenced this pull request Feb 24, 2016
@droazen droazen merged commit 391052a into master Feb 24, 2016
@droazen droazen deleted the ak_refConfModel branch February 24, 2016 21:23
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.

port ReferenceConfidenceModel
3 participants