Learn R Programming

vanddraabe (version 1.1.1)

ExtractPDBids: Extract PDB IDs

Description

Extract the four (4) character PDB identifier from the file name

Usage

ExtractPDBids(pdb.location)

Arguments

pdb.location

A collection of string values with the complete (normalized) path for each PDB file within the provided directory/folder obtained with the ReturnPDBfullPath().

Value

a vector of strings containing the PDB identifiers for the protein structures

Details

The first four (4) characters of the file name -- typically the PDB ID is placed at the beginning of the file name -- are extracted and assumed to be the unique PDB ID.

NOTE: This is a non-public function.

See Also

Other utilities: ConservationSet, DetermineChainsOfInterest, ExtractFileTimeStamp, FileTimeStamp, HasXWaters, Nearby, ProtHetWatIndices, RescaleValues, RetainChainsOfInterest, ReturnPDBfullPath, StandardizeAsparticAcidNames, StandardizeCysteineNames, StandardizeGlutamicAcidNames, StandardizeHistidineNames, StandardizeLysineNames, TimeSpan, UniqueAtomHashes, aaStandardizeNames, getAtomTypeCounts, getResTypeCounts, res2xyz, resAtomType2AtomClass, write.basic.pdb, write.conservedWaters.pdb

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  ExtractPDBids("1hai.pdb")
  # [1] "1hai"
  ExtractPDBids("/home/someuser/pdbs/1hai.pdb")
  # [1] "1hai"
  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab