Method: Bio::PDB#dbref
- Defined in:
- lib/bio/db/pdb/pdb.rb
#dbref(chainID = nil) ⇒ Object
Gets DBREF records. Returns an array of Bio::PDB::Record::DBREF objects.
If chainID is given, it returns corresponding DBREF records.
1847 1848 1849 1850 1851 1852 1853 |
# File 'lib/bio/db/pdb/pdb.rb', line 1847 def dbref(chainID = nil) if chainID then self.record('DBREF').find_all { |f| f.chainID == chainID } else self.record('DBREF') end end |