Fix for MISSING floats
-- Restructured code to separate the MISSING value in java (currently everywhere a null) from the byte representation on disk (an int). -- Now handles correctly MISSING qual fields
This commit is contained in:
parent
931b575748
commit
81bd7646d6
|
|
@ -1225,8 +1225,10 @@ public class VariantContext implements Feature { // to enable tribble integratio
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return String.format("[VC %s @ %s of type=%s alleles=%s attr=%s GT=%s",
|
return String.format("[VC %s @ %s Q%s of type=%s alleles=%s attr=%s GT=%s",
|
||||||
getSource(), contig + ":" + (start - stop == 0 ? start : start + "-" + stop), this.getType(),
|
getSource(), contig + ":" + (start - stop == 0 ? start : start + "-" + stop),
|
||||||
|
hasLog10PError() ? String.format("%.2f", getPhredScaledQual()) : ".",
|
||||||
|
this.getType(),
|
||||||
ParsingUtils.sortList(this.getAlleles()),
|
ParsingUtils.sortList(this.getAlleles()),
|
||||||
ParsingUtils.sortedString(this.getAttributes()),
|
ParsingUtils.sortedString(this.getAttributes()),
|
||||||
this.getGenotypes());
|
this.getGenotypes());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue