Skip to content
Snippets Groups Projects
Commit ef9235b7 authored by tjc's avatar tjc
Browse files

GT print fix

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@15172 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent f72f74ea
Branches
Tags
No related merge requests found
......@@ -317,7 +317,7 @@ class BCFReader extends AbstractVCFReader
*/
private String getGTString(byte b)
{
return ((b >> 3) + ( (b >> 6 == 1) ? "|" : "/") + byteToInt(b));
return ((b >> 3 & 7) + ( ((b >> 6 & 1 )== 1 ) ? "|" : "/") + (b & 7));
}
private int byteToInt(byte b)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment