[Bioperl-l] EMBL file with no feature table
    Eric Just 
    e-just at northwestern.edu
       
    Thu May  6 14:20:29 EDT 2004
    
    
  
Hi,
I have had a problem with the embl parser.  I got some EMBL files that did 
not have a feature table, just sequence and it seems that the parser 
requires a feature table:
        # Exit at start of Feature table
        last if /^F[HT]/;
if there is no feature table and it goes right to the SQ section (I THINK 
that's allowed in EMBL) then you have to exit when you hit the SQ 
line.  You need to then do a pushback when you exit this loop in order to 
catch the SQ line later in the code
        last if /^(F[HT])|(SQ)/;
Thanks
ERic
============================================
Eric Just
e-just at northwestern.edu
dictyBase Programmer
Center for Genetic Medicine
Northwestern University
http://dictybase.org
============================================
    
    
More information about the Bioperl-l
mailing list