Skip to content

bindeps_YAML_format_specifications

Richard Smith-Unna edited this page Jun 3, 2015 · 2 revisions

The bindeps YAML format requires a dictionary with program names as keys.

Each key has a dictionary as its value, with the keys:

  • binaries: an array of binary names that must be installed
  • version: a dictionary with keys:
    • number: the version number required as a string
    • command: a command that will return the version, and will be matched by an exact or regular expression search using the number
  • url: a dictionary with architecture (at least one of 32bit and 64bit) as keys, each of which contains the OS (at least one of linux, macosx, unix or windows) as keys, with the value being the URL of the archive to download for that architecture and platform.
  • unpack: true or false - whether Bindeps should treat the download as an archive and try to unpack it See the example below:
bowtie2:
  binaries:
    - bowtie2
    - bowtie2-align-l
    - bowtie2-align-s
    - bowtie2-build
    - bowtie2-build-l
    - bowtie2-build-s
    - bowtie2-inspect
    - bowtie2-inspect-l
    - bowtie2-inspect-s
  version:
    number: '2.2.3'
    command: 'bowtie2 --version'
  url:
    64bit:
      linux: http://downloads.sourceforge.net/project/bowtie-bio/bowtie2/2.2.3/bowtie2-2.2.3-linux-x86_64.zip
      macosx: http://downloads.sourceforge.net/project/bowtie-bio/bowtie2/2.2.3/bowtie2-2.2.3-macos-x86_64.zip
Clone this wiki locally