Skip to content
Snippets Groups Projects
Commit a290c895 authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Had problems with Zebrafish due to some entries having non-digit version.

parent 5d0141ec
No related branches found
No related tags found
No related merge requests found
......@@ -341,6 +341,7 @@ sub run_script {
# If a best match was defined for the refseq transcript, store it as direct xref for ensembl transcript
if ($best_id) {
my ($acc, $version) = split(/\./, $id);
$version =~ s/\D//g;
my $source_id = $mrna_source_id;
$source_id = $ncrna_source_id if $acc =~ /^NR_/;
$source_id = $pred_mrna_source_id if $acc =~ /^XM_/;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment