Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
ffd29725
Commit
ffd29725
authored
Jan 14, 2011
by
Karyn Megy
Browse files
Badly placed }
parent
f3af469f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
misc-scripts/xref_mapping/XrefParser/VBPubMedParser.pm
misc-scripts/xref_mapping/XrefParser/VBPubMedParser.pm
+5
-7
misc-scripts/xref_mapping/XrefParser/VBribosomalParser.pm
misc-scripts/xref_mapping/XrefParser/VBribosomalParser.pm
+5
-6
No files found.
misc-scripts/xref_mapping/XrefParser/VBPubMedParser.pm
View file @
ffd29725
...
...
@@ -61,8 +61,7 @@ sub run {
chomp
$line
;
my
(
$PubMed_id
,
$gene_id
,
$rien
,
$name
,
$origin
)
=
split
("
\t
",
$line
);
#and use the gene_id as accession
my
$descr_full
=
"
PubMed ID
$PubMed_id
-
$origin
\n
"
;
print
"
PMID:
$PubMed_id
, GID:
$gene_id
, NONE:
$rien
, NOM:
$name
, ORI:
$origin
\n
"
;
#print STDERR "PMID: $PubMed_id, GID: $gene_id, NONE: $rien, NOM: $name, ORI: $origin\n" ;
my
$xref_id
=
$self
->
get_xref
(
$gene_id
,
$source_id
,
$species_id
);
if
(
!
defined
(
$xref_id
)){
...
...
@@ -74,12 +73,11 @@ sub run {
$added
++
;
}
}
$file_io
->
close
();
print
"
Added
$count
xrefs and
$added
Direct xrefs to genes for VBPubMed
\n
"
if
(
$verbose
);
return
0
;
}
$file_io
->
close
();
print
"
Added
$count
xrefs and
$added
Direct xrefs to genes for VBPubMed
\n
"
if
(
$verbose
);
return
0
;
}
1
;
...
...
misc-scripts/xref_mapping/XrefParser/VBribosomalParser.pm
View file @
ffd29725
...
...
@@ -71,11 +71,10 @@ sub run {
$added
++
;
}
}
$file_io
->
close
();
print
"
Added
$count
xrefs and
$added
Direct xrefs to genes for VBribosomal
\n
"
if
(
$verbose
);
return
0
;
}
$file_io
->
close
();
print
"
Added
$count
xrefs and
$added
Direct xrefs to genes for VBribosomal
\n
"
if
(
$verbose
);
return
0
;
}
1
;
1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment