-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.py
28 lines (26 loc) · 1.05 KB
/
install.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/python
import sys, os, time
import subprocess
from art import tprint
############## GLOBAL VARIABLES ###################
welcome = "toilet -F border:gay Welcome to MTB-VCF"
subprocess.check_call(welcome, shell=True)
def downloading_dependencies():
print("""##############################Downloading Dependencies##############################""")
tprint("Downloading Dependencies")
sources = "sudo cp sources.list /etc/apt/"
subprocess.check_call(sources, shell=True)
bwa = "sudo apt-get install bwa"
subprocess.check_call(bwa, shell=True)
tabix = "sudo apt-get install tabix"
subprocess.check_call(tabix, shell=True)
samtools = "sudo apt-get install samtools"
subprocess.check_call(samtools, shell=True)
picard = "sudo apt-get install picard-tools"
subprocess.check_call(picard, shell=True)
parallel = "sudo apt-get install parallel"
subprocess.check_call(parallel, shell=True)
bcf = "sudo apt-get install bcftools"
subprocess.check_call(bcf, shell=True)
downloading_dependencies()
tprint("Ready to run your script")