Yup. I was right.
This commit is contained in:
parent
7d059540a4
commit
9c6fda7e15
|
|
@ -35,6 +35,10 @@ public class AllelePair {
|
||||||
private Allele bottom;
|
private Allele bottom;
|
||||||
|
|
||||||
public AllelePair(Genotype gt) {
|
public AllelePair(Genotype gt) {
|
||||||
|
if ( gt.isNoCall() ) {
|
||||||
|
// do nothing
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (gt.getPloidy() != 2)
|
if (gt.getPloidy() != 2)
|
||||||
throw new ReviewedStingException("AllelePair must have ploidy of 2! incoming gt was"+gt.toBriefString());
|
throw new ReviewedStingException("AllelePair must have ploidy of 2! incoming gt was"+gt.toBriefString());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue