bug fixed when reference name was passed as a string instead of actual reference bases
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@416 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
222c4e5865
commit
9d56355abe
|
|
@ -25,7 +25,7 @@ public class AlignmentUtils {
|
|||
* @return
|
||||
*/
|
||||
public static int numMismatches(SAMRecord r, ReferenceSequence ref) {
|
||||
return numMismatches(r, ref.getBases().toString());
|
||||
return numMismatches(r, new String(ref.getBases()));
|
||||
}
|
||||
|
||||
public static int numMismatches(SAMRecord r, String ref) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue