Skip to content
Snippets Groups Projects
Commit 980bdb4d authored by Magali Ruffier's avatar Magali Ruffier
Browse files

capture mRNA for peptide information

parent d7ee7de6
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,7 @@ sub create_xrefs {
{
my ($acc) = $entry =~ /ACCESSION\s+(\S+)/;
my ($ver) = $entry =~ /VERSION\s+(\S+)/;
my ($refseq_pair) = $entry =~ /DBSOURCE\s+REFSEQ: accession (\S+)/;
# get the right source ID based on $type and whether this is predicted (X*) or not
my $source_id;
......@@ -272,6 +273,9 @@ sub create_xrefs {
foreach my $cb (@coded_by){
$xref->{PAIR} = $cb;
}
if (!defined $xref->{PAIR}) {
$xref->{PAIR} = $refseq_pair;
}
foreach my $pi (@protein_id){
$xref->{PROTEIN} = $pi;
......
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