Il giorno mar, 19/02/2013 alle 14.15 +0000, Peter Cock ha scritto: > On Tue, Feb 19, 2013 at 2:00 PM, James Taylor <ja...@jamestaylor.org> wrote: > > On Tue, Feb 19, 2013 at 6:32 AM, Peter Cock <p.j.a.c...@googlemail.com> > > wrote: > >>I think it could make sense to define generic 'asn1' and > >>'asn1-binary' formats in the Galaxy core (name suggestions > >>welcome)
What about extension="asn" type="galaxy.datatypes.data:GenericAsn1" and extension="asnb" type="galaxy.datatypes.binary:GenericAsn1Binary" like GenericXml class? > >> Would a pull request implementing this be acceptable? > > > > Yes. My understanding is that ASN is a completely flexible metaformat, > > like XML, and so should be under either Text or Data, with appropriate > > subtypes defined for blast, et cetera. > > Thank James, > > Yes - very like XML, but with the subtlety that ASN.1 comes in text and > binary favours (which I presume applies to all the variants, although > the binary versions may not be as commonly used for the smaller files). > > Nicola - do you want to make a pull request to galaxy-central defining > ASN.1 text and binary formats (which we can then subclass for the > NCBI BLAST+ wrappers)? Or should I? If you mean a minimal implementation, I can surely do that. If something more elaborated is needed, then probably you are more qualified than me! > I think the mime-type for the base ASN.1 text format should probably > be text/plain based on the NCBI usage patterns. Ok. > I'm not sure what the mime-type for the base ASN.1 binary format > should be (but I don't think it should be chemical/ncbi-asn1-binary). application/octet-stream ? Best, Nicola ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/