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:
parent
641afc4e76
commit
67293168e7
|
|
@ -48,7 +48,7 @@ public class FastaSequenceIndex implements Iterable {
|
||||||
|
|
||||||
while( scanner.hasNext() ) {
|
while( scanner.hasNext() ) {
|
||||||
// Tokenize and validate the index line.
|
// 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 )
|
if( result == null )
|
||||||
throw new PicardException("Found invalid line in index file:" + scanner.nextLine());
|
throw new PicardException("Found invalid line in index file:" + scanner.nextLine());
|
||||||
MatchResult tokens = scanner.match();
|
MatchResult tokens = scanner.match();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue