RosettaCommons / PyRosetta.notebooks

Jupyter Notebooks for learning the PyRosetta platform for biomolecular structure prediction and design
https://rosettacommons.github.io/PyRosetta.notebooks/
MIT License
468 stars 151 forks source link

class RNA_DeNovoProtocolMover.de_novo_setup_from_command_line() or apply() can't run normally #100

Open nadounadou opened 5 months ago

nadounadou commented 5 months ago

When I create an RNA_DeNovoProtocolMover() using a Python script, it stops running and throws an error with code ‘139 (interrupted by signal 11:SIGSEGV)’ either during initialization or when applying it.

This is my code:

from pyrosetta import init init()

from pyrosetta import pose_from_pdb from pyrosetta import rosetta

pose = pose_from_pdb('./example/7lyg.pdb') # 7lyg is an RNA

from pyrosetta.rosetta.protocols.rna.denovo.movers import RNA_DeNovoProtocolMover rna_denovo_mover = RNA_DeNovoProtocolMover()

fasta_files = rosetta.utility.vector1_std_string() fasta_files.append('./example/7lyg.fasta') rna_denovo_mover.set_fasta_files(fasta_files)

rna_denovo_mover.set_minimize_rna(True)

rna_denovo_mover.de_novo_setup_from_command_line()

rna_denovo_mover.apply(pose)

My English is not good. If there is anything offensive, please forgive me. Thanks !

nadounadou commented 3 months ago

I have solved this problem. You should do 'rna_denovo_mover.set_minimize_rna (True)', before 'de_novo_setup_from_command_line()' run