[Biopython] AC lines with multiple accession numbers in Swissprot files

Peter Cock p.j.a.cock at googlemail.com
Wed May 29 09:43:33 UTC 2019


In that case, if there is anything in the plain text "swiss" files
which you are not seeing via Bio.SeqIO, let us know - it is
likely parsed by Bio.SwissProt but perhaps could not be
mapped nicely to the SeqRecord object model for Bio.SeqIO,
or was overlooked.

Thanks,

Peter

On Wed, May 29, 2019 at 10:37 AM Adam Sjøgren <asjo at koldfront.dk> wrote:
>
> Peter writes:
>
> > We needed a simple entry as the record's .id to work well in the
> > SeqIO system, so I picked the first accession.
>
> Makes sense, we just overlooked that there could be several because we
> only looked at .id.
>
> As often is the case: as soon as I had sent the email with the question,
> I found the answer.
>
> > If you are doing a lot of UniProt specific work, you might also
> > consider using the XML parser (format "uniprot-xml" in SeqIO).
>
> We have a lot of legacy data to parse additionally, but I will keep it
> in mind.
>
>
>   Thanks!
>
>    Adam
>
> --
>  "Everything needs to change.                                 Adam Sjøgren
>   And it has to start today."                            asjo at koldfront.dk
>
> _______________________________________________
> Biopython mailing list  -  Biopython at mailman.open-bio.org
> https://mailman.open-bio.org/mailman/listinfo/biopython



More information about the Biopython mailing list