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

Peter Cock <[email protected]>
Newsgroups gmane.comp.python.bio.general
Message-ID <CAKVJ-_5EgsswhEDhgZAxxxxB=rzBRNZ5J7Y4BjSeCKgkkRccjg@mail.gmail.com>
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 <[email protected]> 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."                            [email protected]
>
> _______________________________________________
> Biopython mailing list  -  [email protected]
> https://mailman.open-bio.org/mailman/listinfo/biopython

_______________________________________________
Biopython mailing list  -  [email protected]
https://mailman.open-bio.org/mailman/listinfo/biopython
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.