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 thenumber
-
-
url
: a dictionary with architecture (at least one of32bit
and64bit
) as keys, each of which contains the OS (at least one oflinux
,macosx
,unix
orwindows
) as keys, with the value being the URL of the archive to download for that architecture and platform. -
unpack
:true
orfalse
- 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