public class SymoplibParser extends Object
Constructor and Description |
---|
SymoplibParser() |
Modifier and Type | Method and Description |
---|---|
static TreeMap<Integer,SpaceGroup> |
getAllSpaceGroups() |
static SpaceGroup |
getSpaceGroup(int id)
Gets the space group for the given standard identifier.
|
static SpaceGroup |
getSpaceGroup(String shortName)
Get the space group for the given international short name, using
the PDB format, e.g.
|
static TreeMap<Integer,SpaceGroup> |
parseSpaceGroupsXML(InputStream spaceGroupIS)
Load all SpaceGroup information from the file spacegroups.xml
|
static TreeMap<Integer,SpaceGroup> |
parseSymopLib(InputStream symoplibIS)
A parser for the symop.lib file provided by CCP4.
|
public SymoplibParser()
public static SpaceGroup getSpaceGroup(int id)
id
- public static TreeMap<Integer,SpaceGroup> parseSpaceGroupsXML(InputStream spaceGroupIS) throws IOException, JAXBException
IOException
JAXBException
public static SpaceGroup getSpaceGroup(String shortName)
shortName
- public static TreeMap<Integer,SpaceGroup> getAllSpaceGroups()
public static TreeMap<Integer,SpaceGroup> parseSymopLib(InputStream symoplibIS)
symoplibIS
- Copyright © 2000–2018 BioJava. All rights reserved.