Check for a reference before extraction.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@661 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
32696b13f5
commit
608948210c
|
|
@ -106,7 +106,8 @@ public class TraverseReads extends TraversalEngine {
|
||||||
locus = new LocusContext(site, Arrays.asList(read), Arrays.asList(0));
|
locus = new LocusContext(site, Arrays.asList(read), Arrays.asList(0));
|
||||||
|
|
||||||
// get the array of characters for the reference sequence, since we're a mapped read
|
// get the array of characters for the reference sequence, since we're a mapped read
|
||||||
refSeq = dataProvider.getReferenceForRead( read );
|
if( dataProvider.hasReference() )
|
||||||
|
refSeq = dataProvider.getReferenceForRead( read );
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the number of reads we've seen
|
// update the number of reads we've seen
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue