[BioPython] Parsing of phd file names in Ace

Andrew Nunberg anunberg at oriongenomics.com
Thu Feb 5 18:47:08 EST 2004


In the following snipet of code
Ace_record is the acerecordfile from an entire parsing of an ace file

ace_phd_list=[]
    for record in ace_record.records:
        for ds in record.ds:
            ace_phd_list.append(ds.phd_file)

In my case the list looks like this

[' fvlc001f001d16f0.abd.phd.1 ', ' fvlc001f001d16k0.abd.phd.1 ']
There appears to be trailing white space on either side, might want strip it
before adding

Andy
-- 
Andrew Nunberg
Bioinformagician
Orion Genomics
(314)-615-6989
www.oriongenomics.com




More information about the BioPython mailing list