Warning for possibly mismatched reads / reference was very aggressive. Relax
the criteria a bit. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1234 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
12b5d9c70c
commit
99f9cd84ed
|
|
@ -326,9 +326,10 @@ public abstract class MicroScheduler {
|
||||||
Utils.scareUser("No overlap exists between sequence dictionary of the reads and the sequence dictionary of the reference.");
|
Utils.scareUser("No overlap exists between sequence dictionary of the reads and the sequence dictionary of the reference.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// If one data source isn't a strict subset of the other or the match is of fewer than x% of the smaller,
|
// If the two datasets are not equal and neither is a strict subset of the other, warn the user.
|
||||||
// issue a warning.
|
if( !readsSequenceNames.equals(referenceSequenceNames) &&
|
||||||
if( !readsSequenceNames.equals(referenceSequenceNames) ) {
|
!readsSequenceNames.containsAll(referenceSequenceNames) &&
|
||||||
|
!referenceSequenceNames.containsAll(readsSequenceNames)) {
|
||||||
StringBuilder warning = new StringBuilder();
|
StringBuilder warning = new StringBuilder();
|
||||||
warning.append("Limited overlap exists between sequence dictionary of the reads and the sequence dictionary of the reference. Perhaps you're using the wrong reference?\n");
|
warning.append("Limited overlap exists between sequence dictionary of the reads and the sequence dictionary of the reference. Perhaps you're using the wrong reference?\n");
|
||||||
warning.append(System.getProperty("line.separator"));
|
warning.append(System.getProperty("line.separator"));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue