diff --git a/misc-scripts/xref_mapping/RefSeqGPFFParser.pm b/misc-scripts/xref_mapping/RefSeqGPFFParser.pm index 3a341857bcf58ab6586fbda7b5a383d972f1fbd1..d257b5d92469acbf10471f2b0a86ea00ac0c9b66 100644 --- a/misc-scripts/xref_mapping/RefSeqGPFFParser.pm +++ b/misc-scripts/xref_mapping/RefSeqGPFFParser.pm @@ -91,7 +91,7 @@ sub create_xrefs { my @seq_lines = split /\n/, $seq; my $parsed_seq = ""; foreach my $x (@seq_lines) { - my ($seq_only) = $x =~ /\s+\d+\s+(.*)/; + my ($seq_only) = $x =~ /\s*\d+\s+(.*)/; $parsed_seq .= $seq_only; } $parsed_seq =~ s/\/\///g; # remove trailing end-of-record character