GithubHelp home page GithubHelp logo

Comments (4)

ajasja avatar ajasja commented on July 19, 2024 1

@jadolfbr I feel the problem as well. We wrap the execution in a separate script that deletes the intermediate files as well.

from proteinmpnn.

zhoubay avatar zhoubay commented on July 19, 2024

I think this is a good point from other point of view, since splited scripts could be used in other task. For instance, the parse_multiple_chains.py could be used to process PDB file in a more understandable way.

But I'm just a user of this instead of the developer of this project, my point may go wrong direction.

from proteinmpnn.

dauparas avatar dauparas commented on July 19, 2024

The initial idea was to process inputs and save them into dictionaries in case they need to be run multiple times with different models, or with different settings. Moreover, one can easily check if parsing was done correctly for the inputs by looking at jsonl files. There is a more streamlined way to use the code too, e.g.

path_to_PDB="../inputs/PDB_complexes/pdbs/3HTN.pdb"

output_dir="../outputs/example_3_outputs"
if [ ! -d $output_dir ]
then
    mkdir -p $output_dir
fi

chains_to_design="A B"

python ../protein_mpnn_run.py \
        --pdb_path $path_to_PDB \
        --pdb_path_chains "$chains_to_design" \
        --out_folder $output_dir \
        --num_seq_per_target 2 \
        --sampling_temp "0.1" \
        --seed 37 \
        --batch_size 1

from proteinmpnn.

jadolfbr avatar jadolfbr commented on July 19, 2024

from proteinmpnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.