class Chem::PDB::Reader
Defined in:
chem/io/formats/pdb.crConstant Summary
-
HELIX_TYPES =
{1 => Sec::RightHandedHelixAlpha, 3 => Sec::RightHandedHelixPi, 5 => Sec::RightHandedHelix3_10}
Constructors
- .new(input : ::IO, alt_loc : Char | Nil = nil, chains : Enumerable(Char) | String | Nil = nil, guess_topology : Bool = true, het : Bool = true, sync_close : Bool = true)
- .new(path : Path | String, **options) : self
Instance Method Summary
-
#next : Structure | Iterator::Stop
Returns the next element in this iterator, or
Iterator::Stop::INSTANCE
if there are no more elements. - #skip_structure : Nil
Instance methods inherited from class Chem::Structure::Reader
each(indexes : Enumerable(Int), &block : Structure -> )
each,
read_entry : Structure
read_entry,
select(indexes : Enumerable(Int)) : Iterator(Structure)
select,
skip(n : Int) : Iterator(Structure)
skip,
skip_structure : Nil
skip_structure
Constructor methods inherited from class Chem::Structure::Reader
new(input : ::IO, guess_topology : Bool = true, sync_close : Bool = true)new(path : Path | String, guess_topology : Bool = true) : self new
Instance methods inherited from class Chem::IO::Reader(Chem::Structure)
close
close,
closed?
closed?,
parse_exception(msg : String)
parse_exception,
read_entry : T
read_entry,
sync_close=(sync_close : Bool)
sync_close=,
sync_close?
sync_close?
Constructor methods inherited from class Chem::IO::Reader(Chem::Structure)
new(io : ::IO, sync_close : Bool = true)new(path : Path | String) : self new
Class methods inherited from class Chem::IO::Reader(Chem::Structure)
open(io : ::IO, sync_close : Bool = true, **options, &)open(path : Path | String, **options, &) open
Constructor Detail
def self.new(input : ::IO, alt_loc : Char | Nil = nil, chains : Enumerable(Char) | String | Nil = nil, guess_topology : Bool = true, het : Bool = true, sync_close : Bool = true)
#
Instance Method Detail
Description copied from module Iterator(Chem::Structure)
Returns the next element in this iterator, or Iterator::Stop::INSTANCE
if there
are no more elements.