question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changes to YAML syntax for multiple parameters and start from prmtop files

See original GitHub issue

I’ve thought about how to change the syntax to accomodate both #360 and #384, and I’ve come to 2 conclusions.

  • We can’t use normal lists to represent combinations, or we won’t be able to specify simple lists. I think we should change the syntax to become
molecules:
  mol_id:
    filepath: 'ligands.sdf'
    parameters: [leaprc.ff99SB, S2P.frcmod, S2P.off]
    select: !Combinatorial [0, 1, 5]
  • We should separate system setup in its own block. The final part of the script would become
...

systems:
  system_from_files:
    complex_phase: 'my_complex.prmtop'
    solvent_phase: 'my_solvent.prmtop'
    ligand_dsl: 'resname MOL'
    solvent: PME-solvent
  system_automatic_setup:
    receptor: abl
    ligand: !Combinatorial [imatinib, bosutinib]
    solvent: PME-solvent
    pipeline: 'leap' # I'd add this once we have an OpenMM pipeline as well
    extra_tleap_commands:
    - loadAmberParams frcmod_S2P
    - anyOtherCommand

experiments:
  system: !Combinatorial [system_from_files, system_automatic_setup]
  protocol: absolute-binding

This also has the advantage that when we’ll split the setup pipline into its own tool, the YAML syntax will remain unchanged.

How does it look? Better solutions?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
jchoderacommented, Jun 26, 2016

I agree that the specification of the pipeline should go along that direction (although I would postpone some of those features after yank 1.0).

I am certainly onboard with that. The only thing to make sure of right now is that we have a concept of how it will be extensible without writing ourselves into a corner.

0reactions
jchoderacommented, Jul 12, 2016

This is fantastic! Sorry to have missed this. Please go ahead!

Read more comments on GitHub >

github_iconTop Results From Across the Web

YAML syntax tutorial - YANK
The full script after the changes. Changing sampling method; Starting from different input files. Files with multiple molecules; SMILES; Extra directives ...
Read more >
2.1. YAML Guide - Common Workflow Language
This guide introduces the features of YAML relevant when writing CWL descriptions and input parameter files. Note. You can skip this section if...
Read more >
ROS Param YAML Format - The Robotics Back-End
In this tutorial I'll show you how to handle ROS params with a YAML file. ROS parameters are a great way to modify...
Read more >
Interface amber - Cuby 4
The PDB file must be in a format recognized by AMBER and if it contains residues not included in the forcefield, additional parameter...
Read more >
AutoSolvate: A Toolkit for Automating Quantum Chemistry ...
corresponding Amber parameter-topology (.prmtop) file, and the input ... molecules start to present at about 2 Å. The first solvent layer peaks at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found