Class BCIFReader
java.lang.Object
org.jmol.adapter.smarter.AtomSetCollectionReader
org.jmol.adapter.readers.cif.CifReader
org.jmol.adapter.readers.cif.MMCifReader
org.jmol.adapter.readers.cif.BCIFReader
- All Implemented Interfaces:
GenericLineReader
A very simple Binary CIF file reader extention of MMCifReader extends
CifReader.
- Author:
- Bob Hanson (hansonr@stolaf.edu)
-
Field Summary
FieldsFields inherited from class MMCifReader
CAT_ASSEM, CAT_CHEMCOMP, CAT_COMPBOND, CAT_NCS, CAT_OPER, CAT_SEQUENCEDIF, CAT_SHEET, CAT_STRUCSITE, CAT_STRUCTCONF, CAT_STRUCTCONN, done, htHetero, htSites, isBiomolecule, vBiomoleculesFields inherited from class CifReader
ac, CAT_ATOM_SITE, CAT_ATOM_SITES, CAT_ATOM_TYPE, CAT_CELL, EMPTY, firstChar, htGroup1, iHaveDesiredModel, isCourseGrained, isLigand, isLoop, isMagCIF, isMMCIF, isSpinCIF, lastDataSetName, maxSerial, modelMap, nAtoms, nAtoms0, NONE, pdbID, skipping, symops, thisDataSetName, useAuthorChainIDFields inherited from class AtomSetCollectionReader
addedData, addedDataKey, addVibrations, allow_a_len_1, allowPDBFilter, ANGSTROMS_PER_BOHR, applySymmetryToBonds, asc, baseAtomIndex, baseBondIndex, binaryDoc, bsFilter, bsModels, calculationType, CELL_TYPE_CONVENTIONAL, CELL_TYPE_PRIMITIVE, CELL_TYPE_SUPER, cellSlop, centroidPacked, checkNearAtoms, continuing, debugging, desiredModelNumber, desiredSpaceGroupIndex, desiredVibrationNumber, doApplySymmetry, doCentralize, doCentroidUnitCell, doCheckUnitCell, doConvertToFractional, doPackUnitCell, doProcessLines, doReadMolecularOrbitals, dssr, fileName, fileOffset, filePath, fileScaling, fillRange, filter, filterAllHetero, filterCased, filteredPrecision, filterHetero, floatifyJavaDouble, forcePacked, getHeader, haveAtomFilter, haveModel, havePartialChargeFilter, htParams, ignoreFileSpaceGroupName, ignoreFileSymmetryOperators, ignoreFileUnitCell, ignoreStructure, iHaveFractionalCoordinates, iHaveSymmetryOperators, iHaveUnitCell, is2D, isBinary, isConcatenated, isDSSP1, isFinalized, isMolecular, isPrimitive, isSequential, isSUPERCELL, isTrajectory, latticeCells, latticeScaling, latticeType, line, lowPrecision, lstNCS, matUnitCellOrientation, merging, modDim, modelNumber, ms, mustFinalizeModelSet, next, noHydrogens, noMinimize, noPack, optimize2D, out, paramsCentroid, paramsLattice, precision, prevline, primitiveToCrystal, ptLine, ptSupercell, reader, readerName, requiresBSFilter, reverseModels, rotateHexCell, sgName, slabXY, stateScriptVersionInt, strSupercell, symmetry, templateAtomCount, thisBiomolecule, trajectorySteps, ucItems, unitCellOffset, unitCellParams, useAltNames, useFileModelNumbers, validation, vibrationNumber, vibsFractional, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected GenericCifDataParserprotected floatgetFloatColumnData(int i) Called by processAtomSites to retrieve individual matrix elements and set them by name.protected booleanprotected floatprotected floatprotected intprotected intparseIntFieldTok(byte tok) Get a specific column's item for this category on this row.protected voidparseLoopParameters(String[] fields) This is the callback the that the MMCifReader and CifReader process.....() methods call initially.protected voidThe primare method initiating this readerprotected voidbinary must set up initiallyMethods inherited from class MMCifReader
addAssembly, addHetero, addMatrix, checkFilterAssembly, checkPDBModelField, checkSubclassSymmetry, finalizeSubclass, incrementModel, initSubclass, processAssemblyGenBlock, processChemCompLoopBlock, processCompBondLoopBlock, processSequence, processStructConfLoopBlock, processStructConnLoopBlock, processStructOperListBlock, processStructSheetRangeLoopBlock, processStructSiteBlock, processSubclassAtom, processSubclassEntry, processSubclassLoopBlock, sortAssemblyModelsMethods inherited from class CifReader
addCifAtom, addHeader, applySymmetryAndSetTrajectory, checkAllFieldsPresent, doPreSymmetry, fieldProperty, filterCIFAtom, finalizeSubclassSymmetry, fullTrim, getBondOrder, getFieldString, initializeReader, isLoopKey, isNull, newModel, nextAtomSet, processAtomTypeLoopBlock, processCellParameter, processCitationListBlock, processLoopBlock, processUnitCellTransformMatrix, setSymmetryOperator, skipLoop, skipLoopKeywordMethods inherited from class AtomSetCollectionReader
addAtomXYZSymName, addExplicitLatticeVector, addJmolScript, addMoreUnitCellInfo, addSites, addSiteScript, appendLoadNote, applySymTrajASCR, checkAndRemoveFilterKey, checkCurrentLineForScript, checkFilterKey, checkLastModel, checkLine, checkLineForScript, clearUnitCell, cloneLastAtomSet, discardLinesUntilBlank, discardLinesUntilContains, discardLinesUntilContains2, discardLinesUntilNonBlank, discardLinesUntilStartsWith, discardPreviousAtoms, doGetModel, doGetVibration, fill3x3, fillDataBlock, fillDataBlockFixed, fillFloatArray, fillFrequencyData, filterAtom, filterReject, finalizeMOData, finalizeModelSet, finalizeReaderASCR, fixDoubleA, fixFloatA, fixFloatPt, forceSymmetry, fractionalizeCoordinates, getElementSymbol, getFilter, getFilterWithCase, getFortranFormatLengths, getInterface, getPackingRangeValue, getStrings, getSymmetry, getTokens, getTokensFloat, initializeSymmetry, initializeSymmetryOptions, initializeTrajectoryFile, isLastModel, newAtomSet, parseFloat, parseFloatRange, parseFloatStr, parseInt, parseIntAt, parseIntRange, parseIntStr, parsePrecision, parseToken, parseTokenNext, parseTokenRange, parseTokenStr, processDOM, rd, read3Vectors, readDataObject, readLines, readNextLine, rejectAtomName, RL, set2D, setAtomCoord, setAtomCoordScaled, setAtomCoordTokens, setAtomCoordXYZ, setChainID, setElementAndIsotope, setFilter, setFilterAtomTypeStr, setFractionalCoordinates, setIsPDB, setLoadNote, setModelPDB, setPrecision, setSpaceGroupName, setTransform, setUnitCell, setUnitCellItem, setupASCR, warnSkippingOperation
-
Field Details
-
temp
protected static int[] temp
-
-
Constructor Details
-
BCIFReader
public BCIFReader()
-
-
Method Details
-
getCifDataParser
- Overrides:
getCifDataParserin classCifReader
-
setup
-
processBinaryDocument
The primare method initiating this reader- Overrides:
processBinaryDocumentin classAtomSetCollectionReader- Throws:
Exception
-
finalizeSubclassReader
- Overrides:
finalizeSubclassReaderin classCifReader- Throws:
Exception
-
parseLoopParameters
This is the callback the that the MMCifReader and CifReader process.....() methods call initially. Pass this on to our psuedo-parser.- Overrides:
parseLoopParametersin classCifReader- Parameters:
fields-- Throws:
Exception
-
isFieldValid
protected boolean isFieldValid()- Overrides:
isFieldValidin classCifReader
-
parseIntField
protected int parseIntField()- Overrides:
parseIntFieldin classCifReader
-
parseFloatField
protected float parseFloatField()- Overrides:
parseFloatFieldin classCifReader
-
parseCartesianField
protected float parseCartesianField()- Overrides:
parseCartesianFieldin classCifReader
-
parseIntFieldTok
protected int parseIntFieldTok(byte tok) Get a specific column's item for this category on this row. In contrast to MMCifReader, we already have the integer; we don't have to parse it.- Overrides:
parseIntFieldTokin classMMCifReader
-
getFloatColumnData
protected float getFloatColumnData(int i) Called by processAtomSites to retrieve individual matrix elements and set them by name.- Overrides:
getFloatColumnDatain classCifReader
-