The imputationbot Command-Line Utility¶
The imputationbot is a CLI utility to interact with imputation servers running Cloudgene 3 and Imputation Server 2, such as the TOPMed Imputation Server and the Michigan Imputation Server.
imputationbot is maintained by Lukas Forer. See the Contact Page for contact information.
Installation¶
- Install Java (8 or higher).
- Install
curl. - Navigate to the folder where you want to install the app.
- Run the following command: (this command downloads an installation script and immediately runs it).
- Check if the
imputationbotgot installed correctly:
Using imputationbot¶
Register a Server¶
You can register a server by calling
This will start an interactive process that will ask you for the server URL and an API token. You can get your token from the server website: press on your name, then "Profile", then "Create API Token".
Submit a Job¶
You can submit a job by calling the impute subcommand. For example:
Note that you don't explicitly select the server. imputationbot automatically selects the first registered server that contains a refpanel with the given name.
Monitor Jobs¶
List all your jobs and their status:
Get more details about one job:
Download Results¶
To download all output files for a given job, run:
If the job is not done, imputationbot waits until the job is finished and then downloads the files.
You can provide the decryption password to decompress the downloaded ZIP files directly: