Re: /etc/magic for scientific data
Hi Steffen!
Steffen Moeller schrieb:
> Hello,
>
> I am so busy that I followed my attention deficit disorder a bit and came up with those
> magic for the "file" command. They seem to work. Before I place a wishlist to file, please
> be so kind to check them for me a bit:
>
>
> sudo cat >> /etc/magic <<EOMAGIC
> # Sybil mol2 format
> 0 string @<TRIPOS> Sybil Mol2 molecular coordinates
>
> # Ghemical gpr format
> 0 string !Header\ gpr ghemical molecular coordinates
>
> # Protein Data Bank
> 0 string HEADER\ \ \ \ PDB structure
> EOMAGIC
In my experience, only "official" pdb files downloaded from their
database contain the HEADER-entry, while most automatically generated
files or files from other sources often omit it. There is not much you
can rely on with PDB files...
Best,
Andreas
Reply to: