Support periods in sequence names.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@715 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2009-05-14 20:17:57 +00:00
parent 641afc4e76
commit 67293168e7
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class FastaSequenceIndex implements Iterable {
while( scanner.hasNext() ) {
// Tokenize and validate the index line.
String result = scanner.findInLine("(\\w+)\\s+(\\d+)\\s+(\\d+)\\s+(\\d+)\\s+(\\d+)");
String result = scanner.findInLine("([\\w\\.]+)\\s+(\\d+)\\s+(\\d+)\\s+(\\d+)\\s+(\\d+)");
if( result == null )
throw new PicardException("Found invalid line in index file:" + scanner.nextLine());
MatchResult tokens = scanner.match();