Dabih is also available as a Command Line Tool on crates.io
We offer precomiled binaries for Windows and Linux on our Releases Page Github Releases
On linux you can run:
wget -qO- https://github.com/spang-lab/dabih/releases/download/v1.7.5/dabih-x86_64-unknown-linux-gnu.tar.gz | tar xvz
You will need the cargo package manager that is shipped with rust.
Use cargo to install dabih
cargo install dabih
dabih --help
Make sure you already have a valid account and key. Read more here.
Then run
dabih init <path of your private key.pem>

Use
dabih config
to check if the cli was set up correctly.
Upload files to dabih
Usage: dabih upload [OPTIONS] [PATHS]...
Arguments:
[PATHS]... The files that should be uploaded to dabih, this can also be a glob pattern
Options:
-r, --recursive If set, all files in a folder will be uploaded seperately
-z, --zip If set, folders will be gziped and then uploaded as single file
-l, --limit <LIMIT> Max number of files that should be uploaded, set to -1 for unlimited [default: 10]
-h, --help Print help
-V, --version Print version
Simply use e.g
dabih upload my_secret_file.txt
to upload a file to dabih.
There a two ways to upload folders:
-r recursive, all files in a folder are uploaded seperately.
Make sure to also set the -l limit if you intend to upload more than 10 files.-z zipped the folder is zipped and uploaded as a single file.
The dabih cli will handle the zipping for you.Each uploaded file will give you a mnemonic, a unique name for the upload.
Mnemonics are always of the form <random adjective>_<random name>.
e.g. electrothermal_amenata
Download a dataset from dabih
Usage: dabih download [OPTIONS] [MNEMONICS]...
Arguments:
[MNEMONICS]... The files that should be uploaded to dabih, this can also be a glob pattern
Options:
-o, --output <OUTPUT> If set, all files in a folder will be uploaded seperately
-f, --force
-h, --help Print help
-V, --version Print version
To download datasets from dabih just call
dabih download <mnemonic>
-f option.-o to set the output location, default is the current working directory.Institute of functional genomics-Statistical Bioinformatics
©2023 · Version 1.12.14
Contact/Impressum · Privacy Policy · Data Policy · Documentation