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

give a warning if the reference feature names do not match the contig names in the VCF

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@14677 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 4cb2a65d
No related branches found
No related tags found
No related merge requests found
......@@ -632,6 +632,14 @@ public class VCFview extends JPanel
}
}
}
if(offsetLengths.size() != contigs.length)
JOptionPane.showMessageDialog(this,
"There is a problem matching the reference sequences\n"+
"to the names in the VCF file. This may mean the labels\n"+
"on the reference features do not match those in the in\n"+
"the VCF file.",
"Problem Found", JOptionPane.WARNING_MESSAGE);
}
return offsetLengths.get(refName);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment