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

determine if BCF is VCF v4 using the header

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@15215 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent c205c08f
No related branches found
No related tags found
No related merge requests found
......@@ -516,7 +516,11 @@ public class VCFview extends JPanel
if(IOUtils.isBCF(fileName))
{
vcfReaders[index] = new BCFReader(new File(vcfFiles.get(index)));
return ((BCFReader)vcfReaders[index]).headerToString();
String hdr = ((BCFReader)vcfReaders[index]).headerToString();
if(hdr.indexOf("VCFv4") > -1)
vcf_v4 = true;
return hdr;
}
BlockCompressedInputStream is =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment