Bad chain files are user errors
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5059 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
2bbcc9275a
commit
2ba35dc7ba
|
|
@ -70,7 +70,12 @@ public class LiftoverVariants extends RodWalker<Integer, Integer> {
|
|||
private long successfulIntervals = 0, failedIntervals = 0;
|
||||
|
||||
public void initialize() {
|
||||
liftOver = new LiftOver(CHAIN);
|
||||
try {
|
||||
liftOver = new LiftOver(CHAIN);
|
||||
} catch (PicardException e) {
|
||||
throw new UserException.BadInput("there is a problem with the chain file you are using: " + e.getMessage());
|
||||
}
|
||||
|
||||
liftOver.setLiftOverMinMatch(LiftOver.DEFAULT_LIFTOVER_MINMATCH);
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue