Skip to content
Snippets Groups Projects
Commit 32e63746 authored by Ian Longden's avatar Ian Longden
Browse files

do not remove MGI: from the stat only remove ZFIN_ID: and HGNC:. MGI number ...

do not remove MGI: from the stat only remove ZFIN_ID: and HGNC:.  MGI number  is stored with the MGI:
parent 57206c8a
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ sub run_script {
my $species_name = $id2name{$species_id}[0];
my $source_name;
my $prepend = 1;
if($my_args =~ /source[=][>](\S+?)[,]/){
$source_name = $1;
}
......@@ -34,6 +35,7 @@ sub run_script {
}
elsif($species_name eq "mus_musculus" ){
$source_name = "MGI";
$prepend = 0;
$host = "ens-staging2";
}
elsif($species_name eq "danio_rerio" ){
......@@ -256,8 +258,10 @@ EXT
if(defined($ext_to_core{$key} )){
my $ext = $vega_to_ext{$key};
my $regex = $source_name . ':';
$ext =~ s/$regex//;
if($prepend){
my $regex = $source_name . ':';
$ext =~ s/$regex//;
}
my $stable_id = $ext_to_core{$key};
if(!defined($label{$ext})){
......
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