mmcif

Bindings for core::io::mmcif namespace

pyrosetta.rosetta.core.io.mmcif.create_sfr_from_cif_file_op(cif: CifFile, options: pyrosetta.rosetta.core.io.StructFileReaderOptions) pyrosetta.rosetta.core.io.StructFileRep

C++: core::io::mmcif::create_sfr_from_cif_file_op(class std::shared_ptr<class CifFile>, const class core::io::StructFileReaderOptions &) –> class std::shared_ptr<class core::io::StructFileRep>

pyrosetta.rosetta.core.io.mmcif.dump_cif(*args, **kwargs)

Overloaded function.

  1. dump_cif(pose: pyrosetta.rosetta.core.pose.Pose, file_name: str) -> bool

  2. dump_cif(pose: pyrosetta.rosetta.core.pose.Pose, file_name: str, options: pyrosetta.rosetta.core.io.StructFileRepOptions) -> bool

Dump an mmCIF from a pose to a file.

Return success or failure.

C++: core::io::mmcif::dump_cif(const class core::pose::Pose &, const std::string &, class std::shared_ptr<const class core::io::StructFileRepOptions>) –> bool

  1. dump_cif(pose: pyrosetta.rosetta.core.pose.Pose, out: pyrosetta.rosetta.std.ostream) -> pyrosetta.rosetta.core.io.StructFileRep

  2. dump_cif(pose: pyrosetta.rosetta.core.pose.Pose, out: pyrosetta.rosetta.std.ostream, options: pyrosetta.rosetta.core.io.StructFileRepOptions) -> pyrosetta.rosetta.core.io.StructFileRep

Dump cif to an outstream, optionally passing options and returning a StructFileRep for further processing

C++: core::io::mmcif::dump_cif(const class core::pose::Pose &, std::ostream &, class std::shared_ptr<const class core::io::StructFileRepOptions>) –> class std::shared_ptr<class core::io::StructFileRep>

  1. dump_cif(pose: pyrosetta.rosetta.core.pose.Pose) -> str

Return an mmCIF-format string from a pose with defaults.

C++: core::io::mmcif::dump_cif(const class core::pose::Pose &) –> std::string

  1. dump_cif(pose: pyrosetta.rosetta.core.pose.Pose, jd2_job_data: str, out: pyrosetta.rosetta.std.ostream) -> pyrosetta.rosetta.core.io.StructFileRep

Dump an mmCIF from a pose, optionally extracting extra info.

NOTE: DEPRECATED. LEGACY JD2 function to use JOB data, which we no longer use in JD3

C++: core::io::mmcif::dump_cif(const class core::pose::Pose &, const std::string &, std::ostream &) –> class std::shared_ptr<class core::io::StructFileRep>

  1. dump_cif(sfr: pyrosetta.rosetta.core.io.StructFileRep, options: pyrosetta.rosetta.core.io.StructFileRepOptions) -> str

Main dump_cif function.

Return a string with contents of a CIF file, extracted from a Pose to a StructFileRep via PoseToStructFileRepConverter

C++: core::io::mmcif::dump_cif(class std::shared_ptr<class core::io::StructFileRep>, const class core::io::StructFileRepOptions &) –> std::string

  1. dump_cif(file_name: str, sfr: pyrosetta.rosetta.core.io.StructFileRep, options: pyrosetta.rosetta.core.io.StructFileRepOptions) -> bool

Main dump_cif function.

Create the sfr from pose using the PoseToStructFileRepConverter class. Return success or failure.

C++: core::io::mmcif::dump_cif(const std::string &, class std::shared_ptr<class core::io::StructFileRep>, const class core::io::StructFileRepOptions &) –> bool

  1. dump_cif(out: pyrosetta.rosetta.std.ostream, sfr: pyrosetta.rosetta.core.io.StructFileRep, options: pyrosetta.rosetta.core.io.StructFileRepOptions) -> None

Main dump_cif function.

Create the sfr from pose using the PoseToStructFileRepConverter class.

C++: core::io::mmcif::dump_cif(std::ostream &, class std::shared_ptr<class core::io::StructFileRep>, const class core::io::StructFileRepOptions &) –> void