5 #ifndef BALL_FORMAT_NMRSTARFILE_H
6 #define BALL_FORMAT_NMRSTARFILE_H
8 #ifndef BALL_FORMAT_CIFFILE_H
12 #ifndef BALL_KERNEL_PROTEIN_H
16 #ifndef BALL_STRUCTURE_PEPTIDES_H
489 num_mismatches_ = -1;
494 num_mismatches_ = -1;
504 bool setNMRAtomDataSetByName(
String const& chemical_unit_name);
541 bool isMapped(
Atom const* atom)
const;
544 BMRBIndex operator () (
const Atom* atom);
552 bool createTrivialMapping();
563 bool createMapping(
const String& aligned_ball_sequence,
564 const String& aligned_nmrstar_sequence);
660 const String& chemical_unit,
661 const String& aligned_ball_sequence,
662 const String& aligned_nmrstar_sequence);
666 Size getNumberOfAtoms()
const;
674 const std::vector<NMRAtomDataSet>& getNMRData()
const;
691 const MolecularSystem::ChemicalUnit& getChemicalUnitByLabel(
String const& label)
const;
695 MolecularSystem::ChemicalUnit& getChemicalUnitByLabel(
String const& label);
700 bool hasSampleCondition(
String name);
704 bool hasSampleCondition(
String name)
const;
708 SampleCondition& getSampleConditionByName(
String name);
712 const SampleCondition& getSampleConditionByName(
String name)
const;
739 bool hasSample(
String label)
const;
749 Sample getSample(
String label)
const;
760 bool hasShiftReferenceSet(
String name);
768 const ShiftReferenceSet& getShiftReferenceSetByName(
String name)
const;
770 ShiftReferenceSet& getShiftReferenceSetByName(
String name);
782 NMRSpectrometer& getNMRSpectrometer(
Position i);
784 const NMRSpectrometer& getNMRSpectrometer(
Position i)
const;
787 NMRSpectrometer& getNMRSpectrometerByName(
String name);
789 const NMRSpectrometer& getNMRSpectrometerByName(
String name)
const;
795 float getNMRSpectrometerFieldStrength(
Position i)
const;
825 bool hasMonomericPolymer(
String name)
const;
832 bool isMonomericPolymer(
String chemical_unit_label);
838 void addMonomericPolymer(MonomericPolymer mp);
890 void readEntryInformation_();
893 void readMolSystem_();
896 void readMonomericPolymers_();
899 void readSampleConditions_();
902 void readShiftReferences_();
911 void readNMRSpectrometer_();
914 void findDependiencies_();
917 void setSpecialCharacters_(
String characters);
920 bool isValidSingleValue_(
String value);
923 float valueToFloat_(
String value);
926 int valueToInt_(
String value);
932 bool assignShifts_(BALLToBMRBMapper& pdb_to_bmrb_mapping);
1005 #endif // BALL_FORMAT_NMRSTARFILE_H