Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
RefreshParser IPI Issue
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dctrud  
View profile  
 More options Oct 28, 11:37 am
From: dctrud <dct...@ccmp.ox.ac.uk>
Date: Wed, 28 Oct 2009 08:37:20 -0700 (PDT)
Local: Wed, Oct 28 2009 11:37 am
Subject: RefreshParser IPI Issue
Hi,

We use a custom re-formatting of IPI FASTA headers, similar but
different to that performed by the TPP util script, where:

>IPI:IPI00000001.2|SWISS-PROT:O95793-1|TREMBL:Q59F99 <description>

becomes:

>IPI00000001.2 <description> SWISS-PROT:O95793-1|TREMBL:Q59F99

This causes problems with a recent change to RefreshParser.cxx (svn
rev 4594). When there is no / only one non-IPI accession listed, the
translated header has no | symbol, and the entire header is pulled out
as the protein name, leading to problems.

The following change at line 616 of RefreshParser.cxx fixes this issue
for IPI re-formatted headers which may not contain a | after
reformatting. Just thought it may be useful to anyone who has come up
against a similar problem.

-          if (!strncmp(szHdr_, ">IPI", 4) && strchr(szHdr_, '|')
<strchr(szHdr_,' '))
+          if (!strncmp(szHdr_, ">IPI", 4) && strchr(szHdr_, '|')
<strchr(szHdr_,' ') && strchr(szHdr_, '|') != NULL)

DT


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google