Differences between revisions 7 and 16 (spanning 9 versions)
Revision 7 as of 2008-01-14 11:20:04
Size: 1463
Comment: typo, pdb added, external links
Revision 16 as of 2009-03-16 03:32:25
Size: 2824
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Media types on Debian-Med desktops =
Line 5: Line 7:
||'''Suffix'''||'''MIME type''' ||'''Package(s)''' ||
||.ph ||text/x-clustalw-tree || treeviewx, njplot ||
||.phb ||text/x-clustalw-tree || treeviewx, njplot ||
||.aln ||text/x-clustalw-alignment|| seaview, clustalx ||
||.ppr ||application/x-perlprimer || perlprimer ||
||'''Suffix'''||'''MIME type''' ||'''Package(s)'''   ||'''What is it?'''||
||.ph ||text/x-clustalw-tree || treeviewx, njplot   || phylogenetic tree||
||.phb ||text/x-clustalw-tree || treeviewx, njplot   || ||
||.aln ||text/x-clustalw-alignment|| seaview, clustalx   || sequence alignment ||
||.sto ||text/x-stockholm-alignment (proposition)|| not MIME support yet || sequence alignment in Stockholm format ||
||.ppr ||application/x-perlprimer || perlprimer || ||
||.ab1 ||application/vnd.appliedbiosystems.abif, application/x-dna (alias), application/abi1 (alias)|| abiview (emboss)|| ||
Line 14: Line 18:
||.pdb ||chemical/x-pdb || rasmol           || ||.pdb ||chemical/x-pdb || rasmol (Bug [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460990|460990]]) ||
Line 18: Line 22:
Hint: one can determine the MIME type using gnomevfs or gnomevfs -s (for the slow mode, see http://lists.debian.org/debian-med/2008/01/msg00073.html) Hint: one can determine the MIME type using {{{gnomevfs-info}}} or {{{gnomevfs-info -s}}} (for the slow mode, see http://lists.debian.org/debian-med/2008/01/msg00073.html)
Line 21: Line 25:
== SEE ALSO == == Chemical MIME ==
Line 23: Line 27:
 * [http://msdlocal.ebi.ac.uk/docs/mimetype.html NCBI Mime-Type Document] (1996)
 * [http://www.ch.ic.ac.uk/chemime/ Chemical MIME Home page] (2004)
Follwing discussion on the DebianMed mailing list (http://lists.debian.org/debian-med/2008/01/msg00093.html), it has been proposed that:

 * If a chemical/* media type already exists, we will use it.
 * We will not create new chemical/* media types.
 * We will not migrate some types from chemical/* to text/*.
 * If somebody can propose a patch that reduces the size of the warning for using the chemical/* types, we will make our packages recommend [[http://packages.debian.org/chemical-mime-data|chemical-mime-data]], and file wishlist bugs wherever appropriate.

== File ==

The {{{file}}} program does not deal with MIME types, but detects file types. [[http://lists.debian.org/debian-devel/2008/05/msg00037.html|After the Lenny release]], it will be possible to drop some files in /usr/share/file so that {{{file}}} learns about new file types.

=== See also ===

 * [[http://msdlocal.ebi.ac.uk/docs/mimetype.html|NCBI Mime-Type Document]] (1996)
 * [[http://www.ch.ic.ac.uk/chemime/|Chemical MIME Home page]] (2004)

Media types on Debian-Med desktops

Some Debian-Med package associate file suffixes to applications by using the method described in the MimeTypesSupport page of this wiki. This is a bit experimental an unofficial, as there is no support in upstream packages. This page keeps track of the associations.

Eventually it will be better to forward the associations to the FreeDesktop.org shared MIME database, in coordination with upstream.

Suffix

MIME type

Package(s)

What is it?

.ph

text/x-clustalw-tree

treeviewx, njplot

phylogenetic tree

.phb

text/x-clustalw-tree

treeviewx, njplot

.aln

text/x-clustalw-alignment

seaview, clustalx

sequence alignment

.sto

text/x-stockholm-alignment (proposition)

not MIME support yet

sequence alignment in Stockholm format

.ppr

application/x-perlprimer

perlprimer

.ab1

application/vnd.appliedbiosystems.abif, application/x-dna (alias), application/abi1 (alias)

abiview (emboss)

Can someone confirm/improve

Suffix

MIME type

Package(s)

.pdb

chemical/x-pdb

rasmol (Bug 460990)

Until they are submitted to a central MIME database, the .sharedmimeinfo files for each type are duplicated and not automatically synchronised. Please do this by hand if you modify one copy.

Hint: one can determine the MIME type using gnomevfs-info or gnomevfs-info -s (for the slow mode, see http://lists.debian.org/debian-med/2008/01/msg00073.html)

Chemical MIME

Follwing discussion on the DebianMed mailing list (http://lists.debian.org/debian-med/2008/01/msg00093.html), it has been proposed that:

  • If a chemical/* media type already exists, we will use it.
  • We will not create new chemical/* media types.
  • We will not migrate some types from chemical/* to text/*.
  • If somebody can propose a patch that reduces the size of the warning for using the chemical/* types, we will make our packages recommend chemical-mime-data, and file wishlist bugs wherever appropriate.

File

The file program does not deal with MIME types, but detects file types. After the Lenny release, it will be possible to drop some files in /usr/share/file so that file learns about new file types.

See also