web-service. To enable mmCIF as the default format for
importing PBD sequences from the PDB sequence fetcher, add or modify the
property
- <code>DEFAULT_STRUCTURE_FORMAT=mmCIF</code> in Jalview properties file.
+ <code>PDB_DOWNLOAD_FORMAT=mmCIF</code> in Jalview properties file.
Once this is done, the steps followed in retrieving PDB format files above can
be followed to obtain the same data with mmCIF. <em>mmCIF format file support was added in Jalview 2.9.1.</em></p>
/**
* Allowed values are PDB or mmCIF
*/
- private final static String DEFAULT_STRUCTURE_FORMAT = PDBEntry.Type.MMCIF
+ private final static String PDB_DOWNLOAD_FORMAT = PDBEntry.Type.MMCIF
.toString();
private final static String DEFAULT_PDB_FILE_PARSER = StructureImportSettings.StructureParser.JMOL_PARSER
StructureImportSettings.setDefaultStructureFileFormat(jalview.bin.Cache
.getDefault(
- "DEFAULT_STRUCTURE_FORMAT", DEFAULT_STRUCTURE_FORMAT));
+"PDB_DOWNLOAD_FORMAT", PDB_DOWNLOAD_FORMAT));
StructureImportSettings
.setDefaultPDBFileParser(jalview.bin.Cache.getDefault(
"DEFAULT_PDB_FILE_PARSER", DEFAULT_PDB_FILE_PARSER));
{
Cache.applicationProperties.setProperty("STRUCT_FROM_PDB",
Boolean.TRUE.toString());
- Cache.applicationProperties.setProperty("DEFAULT_STRUCTURE_FORMAT",
+ Cache.applicationProperties.setProperty("PDB_DOWNLOAD_FORMAT",
"PDB");
List<DbSourceProxy> sps = sf.getSourceProxy("PDB");
AlignmentI response = sps.get(0).getSequenceRecords("2GIS");