Re: User-defined annotations in Stockholm alignment file

João Rodrigues <[email protected]>
Newsgroups gmane.comp.python.bio.devel
Message-ID <CAB=-b2Z6QGpiu6U0tfU59ZX80me_iNGT3FhFDT5yP3+3Ao_X6w@mail.gmail.com>
>
> Talk to the HMMER team first. If they have good reason and a citable
> authority for this file format change, we could support it directly?
>

Will do.


>
> > My original question was why does AlignIO ignore "custom" annotations it
> > doesn't know, while writing (StockholmIO, line 254)?
>
>
> https://github.com/biopython/biopython/blob/master/Bio/AlignIO/StockholmIO.py#L254
>
> Because as far as I know only a short list of accepted feature types for
> the GS lines exist (from PFAM/RFAM). The associated comment about
> this could have been prefixed with TODO - do you have a strong use
> case for custom annotations?
>

Not really, just a case where I want to add my own annotations to each
sequence in an alignment. We could support "custom" annotations directly
under the keys found in the Stockholm file, instead of trying to map them
somewhere. That would keep the PFAM/RFAM keys "mappable" but extend the
format if people want to add extra things. It's a shame such an
annotation-friendly format can only take "official" annotations..

_______________________________________________
Biopython-dev mailing list
[email protected]
http://mailman.open-bio.org/mailman/listinfo/biopython-dev
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.