Updated for new version of samtools, which returns a sequence dictionary

rather than a simple list of sequences.


git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@121 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2009-03-20 20:38:24 +00:00
parent 6e2d939905
commit b806a9cf68
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ public class IndelInspector extends CommandLineProgram {
setDefaultContigOrdering();
return;
}
List<SAMSequenceRecord> seqs = h.getSequences();
List<SAMSequenceRecord> seqs = h.getSequenceDictionary().getSequences();
if ( seqs == null ) {
System.out.println("No reference sequence records found in SAM file header, " +
"falling back to default contig ordering");