[Biojava-l] PDB file import

Keith James kdj at sanger.ac.uk
Thu Jul 10 18:15:22 EDT 2003


>>>>> "Vasa" == Vasa Curcin <vc100 at doc.ic.ac.uk> writes:

    Vasa> Is PDB file import working?  Invoking:

    Vasa> SequenceFormat sf =
    Vasa> SeqIOTools.getSequenceFormat(SeqIOConstants.PDB);

    Vasa> Returns:

    Vasa> org.biojava.bio.BioException: No SequenceFormat available
    Vasa> for format/alphabet identifier '524309'

Hi,

In this case the exception message is true - there really is no
SequenceFormat available for PDB. I don't think that there has ever
been one.

SeqIOConstants was designed to allow identifiers for any/all formats
so that an application could still refer to an unsupported format in a
defined way. I'm afraid that PDB falls into that category.

Keith

-- 

- Keith James <kdj at sanger.ac.uk> bioinformatics programming support -
- Pathogen Sequencing Unit, The Wellcome Trust Sanger Institute, UK -



More information about the Biojava-l mailing list