Fixed NPE in index check with RefWalkers.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2384 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
e6127cd6c5
commit
5b78354efd
|
|
@ -573,7 +573,7 @@ public class GenomeAnalysisEngine {
|
||||||
ReferenceSequenceFile drivingDataSource,
|
ReferenceSequenceFile drivingDataSource,
|
||||||
GenomeLocSortedSet intervals,
|
GenomeLocSortedSet intervals,
|
||||||
Integer maxIterations) {
|
Integer maxIterations) {
|
||||||
if(!readsDataSource.hasIndex()) {
|
if(readsDataSource != null && !readsDataSource.hasIndex()) {
|
||||||
if(!getArguments().unsafe || intervals != null)
|
if(!getArguments().unsafe || intervals != null)
|
||||||
throw new StingException("The GATK cannot currently process unindexed BAM files");
|
throw new StingException("The GATK cannot currently process unindexed BAM files");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue