Imputation Bot Tutorial¶
Requirements¶
You will need the following things properly installed on your computer.
Download and Install¶
Michigan Imputation Server requires version 2.x.x or higher to function without errors. Please ensure that you update and reinstall Imputation Bot if you are using version 1.0.0 or lower.
Download and install the latest version from our download page using the following commands.
Test the installation with the following command:
The documentation is available at http://imputationbot.readthedocs.io.
Get your API Token¶
Enable API access from your Profile page.
- Login and click on your username and then profile:
- Click on Create API Token
- Copy your API Token and paste it when
imputationbot add-instance
ask for it.
Api Tokens are valid for 30 days. You can check the status in the web interface or with imputationbot instances
- Next, configure imputationbot with the following command:
Imputation Bot 2.0.0 🤖
https://imputationserver.sph.umich.edu
(c) 2019-2020 Lukas Forer, Sebastian Schoenherr and Christian Fuchsberger
Built by lukas on 2020-09-01T11:31:10Z
Imputationserver Url [https://imputationserver.sph.umich.edu]:
API Token [None]: eyJjdHkiOiJ0ZXh0XC9wbGFpbiIsImFsZyI6IkhTMjU2In0.eyJtYWlsIjoibHVrYXMuZm9yZXJAaS1tZWQuYWMuYXQiLCJleHBpcmUiOjE1NzMyMjkwNTY3NTEsIm5hbWUiOiJMdWthcyBGb3JlciIsImFwaSI6dHJ1ZSwidXNlcm5hbWUiOiJsdWtmb3IifQ.qY7iEM6ul-gJ0EuHmEUHRnoS5hZs7kD1HC95NFaxE9w
Run imputation¶
You can use the impute
command to submit a job:
- The
--files
parameter defines the location of our VCF file. If we plan to impute more than one file we can enter the path to a folder or separate multiple filenames by,
. - We can use the
--refpanel
parameter to specify the reference panel. For the 1000 Geneoms Phase 3 panel we use1000g-phase-3-v5
. If we are not sure what panels are provided by the server, we can useimputationbot refpanels
to get a list of all reference panels and their supported populations. - For
--population
we useeur
which stands for European
The complete command looks like this:
After submission we get the URL where we can monitor the progress of our job.
Monitor Jobs¶
However, we can also use Imputation Bot to get a list all our jobs and their status:
To get more details about our job, we can use the jobs
command followed by the job ID:
Download all Results¶
We can use the download
command to download all imputed genotypes and the QC report at once:
If the job is still running, Imputation Bot waits until the job is finished and starts automatically with the download.
You can provide Imputation Bot the password we sent you via email and it decrypts all files for you:
Documentation¶
The documentation is available at http://imputationbot.readthedocs.io.
Contact¶
Feel free to contact us in case of any problems.